Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Mac OS X terminal killall won't kill running process

Tags:

terminal

macos

I have an instance of lighttpd running. When I do "ps -axc" the process is listed as

"614 ?? 0:00.15 lighttpd"

But when I do "killall lighttpd" I get

No matching processes belonging to you were found

I'm on Mac OS X 10.5.6. Is there something I'm missing?

like image 703
Geuis Avatar asked Mar 28 '09 09:03

Geuis


1 Answers

As per the other response, if it's not your process, prepend sudo if you're an administrator. If not, you may be out of luck.

Also, try sudo killall -9 lighttpd which sends the specific signal KILL instead of TERM.

Just to be sure you can also try sudo kill -9 614 using the PID.

like image 136
Andrew Jaffe Avatar answered Sep 19 '22 16:09

Andrew Jaffe