PDA

View Full Version : Kill Processes By Command



iUnknown
21-05-2008, 06:48 PM
Hello,

Not too sure for an exact command for this one, and I don't want to muck it up. I've got many processes running from this command/file on a server:

/usr/local/apache/bin/httpd -DSSL

I want to kill all processes running off that exact command under the user "nobody"

Before you say "are you sure you want to kill apache like that" - it's fine. I've got too many useless strings that have been created from slightly dodgy software and they're all running on the user "nobody". Apache is running on the user "root".

Any advice on how I would make this shell command? Probably with "killall"?

Want to hide these adverts? Register an account for free!