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

learn more… | top users | synonyms (1)

62
votes
2answers
50k views

What are zombie processes?

With commands like top and the gui based System Monitor I can see that at the moment I have several zombie processes. What are zombie processes? Do they affect the performance of the system or the ...
45
votes
4answers
17k views

What's the difference between 'killall' and 'pkill'?

After using just plain kill <some_pid> on Unix systems for many years, I learned pkill from a younger Linux-savvy co-worker colleague1. I soon accepted the Linux-way, pgrep-ing and pkill-ing ...
41
votes
4answers
56k views

Running programs in the background from terminal

How do I run a program in the background of a shell, with the ability to close the shell while leaving the program running? Lets say my UI is having problems or for some reason, I need to boot up a ...
41
votes
4answers
96k views

What is the equivalent of 'Control-Alt-Delete'?

On Windows anytime the system hangs Ctrl-Alt-Del brings up the Start Up Manager, from which you can end the program or process causing the hang. Is there any command like this on Ubuntu?
28
votes
2answers
16k views

what is technical difference between daemon, service and process ? [closed]

I want to know that what are differences in behavior of a daemon, process and service running in ubuntu desktop.
28
votes
6answers
44k views

Is there any way to kill a zombie process without reboot?

Is there any way to kill a zombie process without reboot? Here is how it happened: I want to download a 12GB file using torrent. After adding the .torrent file, transmission turned into a zombie ...
27
votes
5answers
2k views

Access to the terminal while you are on Vim

Is there a way to access the terminal while using Vim? I do not like to open another terminal or save and exit the current terminal.
27
votes
3answers
64k views

Why is ksoftirqd/0 process using all of my CPU?

I was feeling Ubuntu was running a bit sluggish, and then I went to see the processes running on it, and found one which was using something like 50% of CPU called ksoftirqd/0. Does anyone know what ...
26
votes
3answers
3k views

Why do shells call fork()?

When a process is started from a shell, why does the shell fork itself before executing the process? For example, when the user inputs grep blabla foo, why can't the shell just call exec() on grep ...
25
votes
6answers
5k views

What causes Nautilus to restart whenever I kill it?

In htop, I kill Nautilus, and within one second, it's back, with a new PID! The restarted Nautilus shows in the Processes list, but has no GUI until I manually launch Nautilus... I've heard ...
25
votes
4answers
22k views

“kill <PID>” not really killing the process, why?

I am trying to improve my command line skills and I have encountered a problem where I cannot kill a process. I type kill 2200 where 2200 is my PID and the process is not killed. After few minutes ...
25
votes
2answers
12k views

What is the “Waiting Channel” of a process?

In the GNOME System Monitor's Processes tab there is a "Waiting Channel" column. By far the most common values I see here is poll_schedule_timeout , but I also see other values: 0, do_exit, do_wait, ...
21
votes
4answers
3k views

Can one pick up a running application from terminal?

Sometime I need to run an application from terminal for debugging. If I am sure the bug will occur short after launching the application, I can run this application from the Terminal. However, bugs ...
21
votes
2answers
23k views

What is <defunct> for a process and why it doesn't get killed?

The chrome browser was not responsive and I tried to kill it, but instead of disappearing the process had <defunct> at its right, and didn't got killed: What is <defunct> for a process ...
20
votes
1answer
12k views

Why 60+ console-kit-daemon processes?

I have over 60 processes of console-kit-daemon that won't stop reappearing after I've used sudo killall console-kit-daemon. I have no idea what the daemon is for. I'm running ubuntu 10.04. What's ...
19
votes
2answers
3k views

What does 'Nice' mean on the processes tab

What does the 'Nice' column represent on the processes tab of the system monitor?
18
votes
3answers
9k views

Modifying the speed at which a process runs ( Cheat Engine alternative as a Flash Game Speed Hack)

In Windows, there is a tool for Flash games called Cheat Engine which can speed up/down a process by X amount, making the time needed for a task in a game to go faster or slower than in the real ...
17
votes
6answers
16k views

Shell script to -9 kill based on name

Is there a way (perhaps a script) how to automate this process: petr@sova:~$ ps -ef | grep middleman petr 18445 2312 1 12:06 pts/2 00:00:01 /home/petr/.rvm/gems/ruby-1.9.3-p362/bin/middleman ...
17
votes
7answers
90k views

How do I kill processes in Ubuntu?

How do I kill all processes running by my own non-root account? I have some spinning smbd processes that I caused from my windows machine and so I telnetted into the linux server and I want to kill ...
16
votes
4answers
3k views

Tell a process PID by it's window?

how I can tell a process image name (to run from Terminal using sudo) showing on the Ubuntu UI ?
15
votes
6answers
34k views

How to determine whether a process is running or not and make use it to make a conditional shell script?

How can I determine if a process is running or not and then have a bash script execute some stuff based on that condition... For example: if process 'abc' is running, do this if it is not running , ...
15
votes
5answers
16k views

Is ubuntu-geoip (GeoClue) used for tracking?

I am happily learning Ubuntu more closely now. I came across the process ubuntu-geoip-provider in system monitor. Is is used for tracking or for gathering nearest server info, or for syncing time ...
15
votes
2answers
5k views

Chrome puts itself on Startup Applications

I don't know if this happened with Oneiric, but since I installed Precise I have noticed that Google Chrome put itself on my Startup Applications and processes like "chrome-no-startup-window", ...
15
votes
5answers
57k views

How to find the Process ID (PID) of a running terminal program?

I am running a program in the terminal that I can't escape with Ctrl-C and that I want to kill. How can I find its PID?
13
votes
3answers
1k views

I want to know when a running process will terminate. How can I watch it?

I would like to know any command that I can run to know the end time of a process. I have already launched the process and know its PID but I want to know if there is any command that can tell me at ...
12
votes
3answers
13k views

How to identify and kill hanging process, when system hangs and reacts slowly on user input?

Recently when I tried to open a video with VLC, my system slowed down, the open applications webbrowser, VLC and filemanager and others didn't react any longer. The mouse just reacted still very ...
11
votes
3answers
35k views

How to deal with a frozen screen? [duplicate]

Possible Duplicate: What should I do when Ubuntu freezes? My OS is Ubuntu 12.04. Sometimes the screen suddenly becomes frozen, except that the mouse can move around. I have no choice but to ...
11
votes
2answers
7k views

ps -ef vs ps aux

What is the difference between ps -ef | grep thin and ps aux | grep thin As per the output there is a variation but i'm not clear what are the things being listed.
11
votes
4answers
4k views

How can I switch between the CFS and BFS schedulers?

Related to a question on which is better, the CFS or BFS scheduler: Where do I find a list of which schedulers are available? And how do I switch between them?
11
votes
1answer
12k views

How, in a script, can I determine if a file is currently being written to by another process?

I'm very new to bash scripting, so I might be barking up the wrong tree, but here is my current situation: In a script, I start soffice; to convert an odt to a pdf It seems that soffice detaches ...
10
votes
4answers
472 views

Find children of the process

is there any way to know, who are children of the specific process ? for example those children which their parent ID is foo ?
10
votes
2answers
332 views

What security context software does Ubuntu use?

Does Ubuntu use SELinux by default and if not, how is security context managed? For example, allowing processes to run as root without security context can be a security risk. The help page about ...
10
votes
2answers
4k views

In htop, I sometimes see lists of 64 processes, identical for all but the PID. What are they?

I've noticed this situation several times (but I'm not sure if it is always the same command). I don't even know how to describe the lead-up to this situation, unless it is because of a detached ...
10
votes
2answers
1k views

How is one supposed to stop Chromium processes?

After I close the Chromium GUI many chromium-browser processes continue running indefinitely. It seems like it's running a daemon that keeps processes around so they can be reused. Checking the ...
10
votes
1answer
558 views

How to identify the process locking a file?

I want to know the exact process that is using the lock file. I don't want to fix it, but just to know what is my system doing. How can I find out? For example, this message: E: Could not get lock ...
9
votes
2answers
3k views

Find which files are read or written to

I want to see which files are read or written to. Is there any program or a command for that? I can remember I used this method to hunt down viruses and malware hiding locations when I used windows a ...
8
votes
3answers
5k views

How do I determine the path to a binary of a process?

Is there a way to find out the directory/disk location a process was started from? I am aware of the /proc mount but not really where to look inside of it.
8
votes
1answer
15k views

What are kswapd0, kworker/num:num, ksoftirqd/num?

Exactly what are these services / programs. Apparently they make my system almost useless. Any one of them at point of time uses at least 50% CPU and continuous access to HDD. I'm not exactly sure ...
8
votes
1answer
458 views

How do I determine an application's process name?

This is the situation: Working on (the next version of) a Unity Quick List editor, I would like to add a reliable way of "restarting" launcher icons. To do so, I need to remove the icon (editing ...
7
votes
3answers
2k views

How set command in background,close terminal and get it back to fg?

I'm trying to find out how to run a command in the background and then bring it to the foreground later. I'm fed up of tutorials and answers where people state that it's simple, just append & to ...
7
votes
4answers
684 views

Where has all the RAM gone?

I have 1GB of RAM, and when I run NetBeans and Firefox, they get about 300MB of RAM. At some point, the system becomes very slow, probably 100 times slower than normal, switching windows (Alt+Tab) ...
7
votes
4answers
1k views

How to check the process is already running or not

I want to check the particular process in already running or not. I refereed this Q&A. But I didn't get any specific solution. Following is the example that I tried: I have created abc.sh file ...
7
votes
2answers
3k views

How can I find out, which jar-files java is currently running (and their PIDs)?

I have a .jar file which is notorious for malfunctions. When a malfunction occurs, only a restart helps. I have a way to detect that malfunctions (reading the log-file of said .jar) So I want to write ...
7
votes
1answer
1k views

Too many Python processes running

I am running ubuntu 10.10, and everything is working fine. I just checked the system monitor to see what processes run in a linux system..and noticed something strange. There were many python ...
7
votes
2answers
1k views

check-new-release process eating up resources on Ubuntu server 13.04

A small Ubuntu 13.04 virtual machine instance I run in a cloud environment regularly becomes slow/unresponsive because of a proces called check-new-release. Is there any way to disable this process ...
6
votes
6answers
16k views

What's the terminal command for finding out a process's id

I want to exit a process using the command line, but I can't recall the command to look up the process's ID. Does anyone know it?
6
votes
4answers
9k views

How can I stop accumulated Google Chrome background processes?

Sometimes invisible instances of Google Chrome accumulate and prevent me from starting the browser: $ ps -ef | grep chrome ak 4044 1 4 11:30 ? 00:00:01 ...
6
votes
3answers
6k views

How do I use oom_score_adj?

On 11.04, /proc/[pid] contains oom_score_adj, but man proc describes the old oom_adj. I have googled unsuccessfully for any information on how to use this. What I need to arrange is that processes ...
6
votes
2answers
4k views

How do i find out which program is using internet and how much? [duplicate]

Possible Duplicate: How do I find out which process is eating up my bandwidth? Sometimes there are unusual Internet activity in my Computer. Modem's lights are always blinking and When I ...
6
votes
2answers
3k views

Can I use standard tools to get the full name of a process, when its name has embedded spaces?

I understand that it may be a rare situation for an executable to have spaces in it, but it could happen. An example may be the best explanation.. Using standard tools, I want to determine the ...