Click to See Complete Forum and Search --> : basic kill question
AlaskanWolf
11-07-2001, 01:43 AM
suppose i have a user running alot of processes, using my admin control panel, I suspended the account, but processes are still running, how do you kill those processes that that user is owner of and make sure they dont restart?
X_console
11-07-2001, 02:07 AM
You should be able to kill them as root:
kill <PID>
If it's a stubborn process:
kill -9 <PID>
AlaskanWolf
11-07-2001, 06:04 PM
PID is the number of the process or the user name?
AdaHacker
11-07-2001, 06:10 PM
PID stands for "Process ID". I don't know what the control panel has in it, but you can get PIDs by typing 'ps' from a terminal. Use 'ps -A' to see every process.
camelrider
11-07-2001, 06:31 PM
ps -aux | grep <username>
The output will let you know which PID's are owned by that user so you can KILL them!
Where in Alaska are you from? I'm from Juneau, though I lived in Angoon for quite a few years.
m3rlin
11-07-2001, 08:34 PM
But if those numbers of pids makes a confusion to you, you can simply do:
killall <name of the process>
m3rlin
11-07-2001, 08:35 PM
But if those numbers of pids makes a confusion to you, you can simply do:
killall <name of the process>.
Let's say that the name is "mixer"
to kill it you do "killall mixer"
AlaskanWolf
11-08-2001, 03:18 AM
Thanks for the info :)
I am in Anchorage btw :) its about 10 above now, snowed about 20" so far this winter, starting to get nippy outside