Questions about identifying processes, about listing them, sending signals, killing them, assigning and using process priorities.

learn more… | top users | synonyms (1)

0
votes
3answers
767 views

Output system processes via ps

I need to output system processes via ps. As far as I know, flag F (first column) is responsible for this: 1 means that this is system process. How can I output only these processes without others? ...
1
vote
2answers
36 views

Get full path of currently open files

I'm trying to code a simple application that must read all currently open files within a certain directory. More specificly, I want to get a list of files open anywhere inside my Documents folder, but ...
5
votes
1answer
356 views

How to change low process priority?

I have just set Ubuntu 12.04 64bit with Cinnamon desktop and 3.5.0-030500 kernel on my new laptop with IvyBridge i7. I decided to test its performance by running a single threaded CPU-hungry program ...
3
votes
1answer
121 views

Is there a way of automatically suspending processes that are running in unfocused workspaces?

Is there a task manager (or an option) that can automatically suspend processes (or slow them down) in unused workspaces? For example I have Chromium in one workspace and it takes quite a lot of CPU ...
2
votes
1answer
323 views

Upstart kills all process started by script

So I use Upstart [myscript] to start a script [A], which starts another script [B], which in turn starts some other scripts [GROUP C]. When I run stop [myscript], I encounter the unusual behavior ...
2
votes
1answer
621 views

Keep the running processes alive when disconneting the remote connection

I have a bunch of processes on a server initiated by ssh from my own machine. It is now about three hours that my machine's Ubuntu has got hung and I do not see any other options but restart. Is there ...
2
votes
1answer
281 views

What can I do when the Network Manager tray/panel icon stops responding?

Sometimes the networking program (controlled via drop down menu from the wireless symbol in the top right of the screen) hangs on my laptop (ASUS U36JC). I have tried "sudo killall NetworkManager", ...
2
votes
1answer
220 views

Getting the name of the process, that corresponds to the active window

How can it be did using Python(in Ubuntu)?
1
vote
1answer
93 views

Can I connect to running autostart python script?

I am running Lubuntu 13.10 an have a python script that is run on boot through ~/.config/lxsession/Lubuntu/autostart. The script startes a web application and outputs various information to terminal ...
1
vote
1answer
58 views

How would I make this bash script that displays certain system processes related features?

Basically I need to make a bash script that acts as a handy tool for diagnosing performance issues. The script needs to first determine each unique process owner on the system, and then for each user ...
1
vote
1answer
122 views

Tons of Processes Running

I have an Ubuntu 13.04 running on a P4 computer with 1 Gb of RAM (I know, I need to get a new one). I recently have been getting crashes, and a lot of my memory is being used. So I looked in Top and ...
1
vote
1answer
673 views

how to make ps show child processes that are listed at htop?

I am not being able to ps -p $pid of some processes that are listed at htop... One very well known that I can point out is nautilus (so I think you can easly try it). There is a main process that ps ...
1
vote
1answer
136 views

How to use wired and wireless interfaces simultaneously?

When creating any socket, we don't provide a device name (like eth0, or wlan0). On my laptop, I have a wired interface (eth) and a wireless interface (wlan). I want to run one process on each ...
1
vote
1answer
328 views

gnome-settings-daemon extensively reads/writes hard-disk

After upgrading to 11.10, after each login the computer becomes slow and the hard-disk noisy (sounds like reading/writing/defragmenting). When I "stop" the process gnome-settings-manager in the system ...
0
votes
1answer
22 views

How to change process priority

I want to change the priority of a process on my Ubuntu 12.04 Desktop, but I can't. I go into an app called "System Monitor", right click the process, and change the priority to "high". I then get ...
0
votes
1answer
31 views

wc prints a byte count for a nonexistent process

I came across a program called wc, which prints the number of bytes, words, and lines in files. Now my intention is to use it to determine if a process is actually running on my computer. If it is, it ...
0
votes
1answer
101 views

Java Process Stops Suddenly

This is something I couldn't find a solution at all and quite weird. I have Java process that is started by Openbox. This has been working for about an year and now after some unspecified time Java ...
0
votes
1answer
64 views

Kill processes from another user

I have set up Ubuntu server as a VM, and think I've installed vnc on it; However, I have been trying for a while. When I couldn't connect using the vnc from any other machine, on both the same lan ...
0
votes
1answer
90 views

Terminal: running processes interpretation

I have written a program in the Eclipse environment. First I execute it from Eclipse. After that from the terminal window I view the list of my processes. Now I execute that program from command line ...
0
votes
1answer
115 views

Thunderbird keeps sleeping in the processes of Ubuntu

I am working with Ubuntu 13.04 but the problem was the same in the versions before: many times when I want to start Thunderbird it rejects to start as "still running" and I had to "shut it first". ...
0
votes
1answer
202 views

Number of process ID

why number of my process id reach to 32433 ? PID TTY TIME CMD 1 ? 00:00:01 init 2 ? 00:00:00 kthreadd 3 ? 00:00:45 ksoftirqd/0 5 ? 00:00:00 kworker/0:0H 8 ? ...
0
votes
1answer
145 views

What is the design process (principles or guidlines) for Unity's UX and GUI?

I recently started to think and develop a new concept of UX and GUI for Ubuntu (desktop, television, mobile and tablet) and I try to start the project on a methodological basis respecting the basic ...
0
votes
1answer
58 views

How to prevent a process to run?

I want some process not to run because I don't need them. Is there a way to prevent from running some processes? After start up if possible or by opening applications with is it "child process" (i ...
-2
votes
1answer
37 views

Data structure altered in user login

What data structure gets altered when a user logs in?
3
votes
0answers
26 views

Is it safe to remove a process folder from /var/run/?

Is it safe to remove a process folder from /var/run/ if I think it has got wrong permissions, will it be recreated by process as before? Do I lose any information by deleting /var/run/<process ...
3
votes
0answers
34 views

How to enable cpuset on Ubuntu 12.04?

I have set up CPU sets with cset in Ubuntu 12.04, but they are not respected. Processes just use all the CPU they can, no matter what set they are assigned to. It seems that cpuset is not enabled. ...
2
votes
0answers
231 views

Stopping e-calendar-factory and e-addressbook-factory

How can I prevent e-calendar-factory and e-addressbook-factory from ever starting? If I manually kill the processes they just start up again? Between the two they are spamming google with 100 ...
2
votes
0answers
341 views

ps: show thread and display as ASCII “forest”

My favourite ps invocation is: ps -efww ef as I need to watch all processes (-e), get extended information about them (-f), see the environment (e) they operate within, wrapping lines (-w -w) so I ...
2
votes
0answers
50 views

How to log processes in daemon-mode?

I would like to save the standard output of the program motion in a text file. If I don't use motion in daemon-mode I would simply do it by: motion > log.txt But what is the equivalent when I ...
1
vote
0answers
22 views

Can I set Process Scheduling of Ubuntu 12.04 LTS to SJF?

I need to change the process scheduling of Ubuntu to SJF as a part of my research project. Can I do it through C/C++ code? Please give me the code for that if it is possible.
1
vote
0answers
75 views

I stopped a process and now my desktop doesn't work

I stopped a process from system monitor because my computer was overheating. I'm new with Ubuntu (13.04) I won't be messing with things in the future :P So basically I can't see the launcher or ...
1
vote
0answers
155 views

12.04 gvfs-afc-volume CPU usage high, no iphone

I've notice many people reporting this problem and I'm suffering from it too on Ubuntu 12.04. I'm using GVFS for android support, but I rarely connect to any GVFS devices yet this problem appears all ...
1
vote
0answers
50 views

getting grub problem on my new laptop with preinstalled ubuntu software and just cant sort it out

got new laptop with preinstalled ubuntu.but now i m getting few lines as gnu grub version 1.99-21ubuntu3.1 minimal BASH-like line editing is supported.for the first word TAB listspossible command ...
1
vote
0answers
63 views

How to investigate scheduler issues?

I have a server process that should runs multiple threads at close to 100%, each on its own CPU. When I run the process on a RHEL box, the CPUs in question appear to stay pegged at 100%, according to ...
1
vote
0answers
112 views

What priority to use calling sched_setscheduler

I am writing a server that I do not want preempted by any other user process or "low priority" kernel process. I'm using code like this: struct sched_param sched_param; memset(&sched_param, 0, ...
0
votes
0answers
15 views

Exit program with all its processus

I'm using chromium browser on ubuntu OS. When I press exit button many processes still running. I hope know how can I exit this browser completely with all its processes when I press exit button. ...
0
votes
0answers
9 views

What prevents a user process from writing at random positions in memory and damage the OS or other processes?

Why can't the following code damage memory? int x; while(1) { x = rand();//assuming that the address space has the size of an int *x = 0; } I know that each process has a virtual address ...
0
votes
0answers
16 views

Int system call and 'int' within C syntax

I'm learning about kernels and I was curious if the int system call(in our case, in Linux) has any connection with the declaration of an integer in C and C-based languages. int n; Is an integer ...
0
votes
0answers
43 views

Option for GREP only non-default processes and services?

is there any option for grep only non default processes and services? I know how show all of this and export to file, but manual reading and deleting line by line is not ideal. :-) Thanks for your ...
0
votes
0answers
55 views

Display PID(Process id) on application title bar

I am using eclipse IDE for application development. Some times this IDE will not respond and I need to kill this by opening gnome-system-monitor and pressing End process button. I know that we can ...
0
votes
0answers
54 views

High(er) idle cpu temps compared to Windows

My CPU seems to be getting a lot hotter under Ubuntu compared to Windows. I am not basing this on actual temperature readings, but simply on the fan that's kicking in, which it doesn't do under ...
0
votes
0answers
12 views

Process Scheduling with USB

In linux kernel development how to come to know which processes use the usb and which one do not?Any help would be appreciated
0
votes
0answers
150 views

Killing a Plesk 11.5 backup process in Ubuntu

I want to kill a backup process initiated by Plesk in Ubuntu but don't know which processes safely can be killed: ps aux | grep backup root 20505 0.0 0.0 4392 604 ? Ss 01:43 ...
0
votes
0answers
23 views

Processes switch to “stopped” randomly

On a VPS of mine I decided to install Ubuntu 12.04. It is a small server, with 20GB of disk size and 512MB of RAM. For some time it worked fine but since a few days, each time I start an application, ...
0
votes
0answers
175 views

Automatically kill Chrome processes that exceed RAM limits

I've sought advice from similar threads here, and I'm either not reading them correctly, or my brain is currently fried. My Prior Reading: Automatically kill a process if it exceeds a given amount ...
0
votes
0answers
57 views

X Server command running in current processes

When I run top command on my Ubuntu machine, I get one of the lines as this: /usr/bin/X :0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch in the 'COMMAND' column. Can anyone explain ...
0
votes
0answers
81 views

Logs for determining what happens after I exit an SSH session

I am seeing an unexpected behavior where my 'screens' are closing and my Runit services ('rails server') are not running when I log off my Ubuntu 12.04 box. I'm logged in as 'ubuntu' and essentially ...
0
votes
0answers
257 views

Open Text Summarizer in Java

I am using Open Text Summarizer on Ubuntu, and it works fine from my terminal... To use it I have to run the following command in terminal: ots -r 5 /home/arslan/tempEclipse.txt Now I want to ...
0
votes
0answers
57 views

Work progress of operations in Libre Office

I have a quite large datasheet (about 400,000 rows and 8 columns) so when I work with it now (for example deleting thousands of rows) it takes ages (well, minutes) and the screen fades out (however, ...
0
votes
0answers
259 views

get network statistics from /proc/<pid>

I want to obtain network related data transfer by a process when the process Id is provided. Please let me know if i can get this information from /proc filesystem in linux. Thanks, Vivek