The process-management tag has no wiki summary.
3
votes
2answers
1k views
How to find how many cores a process is using?
I have a 8 core machine, and am curious to know if I can find out how many cores processes that I see in htop are using. Is there a solution?
Thanks.
10
votes
3answers
8k views
How can I kill a <defunct> process whose parent is init?
Transmission is intermittently hanging on my NAS. If I send SIGTERM, it doesn't disappear from the process list and a <defunct> label appears next to it. If I send a SIGKILL, it still doesn't ...
20
votes
3answers
3k views
why not kill -9 a process?
I am always very hesitant to run kill -9.
But I see other admins do it almost routinely.
I figure there is probably a sensible middle ground.
So:
When should kill -9 be used?
What should be tried ...
6
votes
2answers
234 views
How is a graphical application started from a bash session connected to that bash session?
When I start a graphical application from a terminal running bash, that application is somehow connected to that bash session. For example, when the applications dumps some text it will appear in the ...
4
votes
2answers
7k views
How can I see what processes are running?
I use Ubuntu Server 10.10 and I would like to see what processes are running. I know that PostgreSQL is running on my machine but I can not see it with the top or ps commands, so I assume that they ...
10
votes
8answers
1k views
Ensure a process is always running
I started hosting sites a while back using Cherokee. For external sources (FastCGI, etc) it has an option to launch the process if it can't find one running on the designated socket or port. This is ...
5
votes
4answers
3k views
'kill java' doesn't kill java
I am running debian right now and sometimes I need to kill java manually from the terminal, but when I try kill #pid# or pkill java nothing happens. No console output (ok, that's normal) and java is ...