Arafangion | Hey, how do I send all processes the SIGTERM and SIGKILL signals? | 03:28 |
---|---|---|
Arafangion | I do not have killall5 on this machine. | 03:28 |
Keybuk | you need killall | 03:28 |
Arafangion | Keybuk: How do I do it with killall? | 03:28 |
Keybuk | "killall" | 03:29 |
Keybuk | or, if it's a Linuxish thing | 03:29 |
Keybuk | killall -1 | 03:29 |
Keybuk | kill -TERM -1 will do it too | 03:29 |
Arafangion | What does the -1 do? It does not appear in the man page. | 03:30 |
Keybuk | all processes | 03:30 |
Arafangion | Cool. I wonder why it's undocumented. | 03:30 |
Keybuk | it isn't | 03:30 |
Keybuk | A PID of -1 is | 03:30 |
Keybuk | special; it indicates all processes except the kill process itself and | 03:30 |
Keybuk | init. | 03:30 |
Keybuk | EXAMPLES | 03:31 |
Keybuk | kill -9 -1 | 03:31 |
Keybuk | Kill all processes you can kill. | 03:31 |
Arafangion | Ahh, cool. | 03:31 |
Arafangion | killall -1 doesn't seem to work. :( | 03:51 |
Arafangion | bash-3.2$ killall -1 | 03:52 |
Arafangion | Usage: killall [OPTION]... [--] NAME... | 03:52 |
Keybuk | depends on your killall variant | 03:52 |
Arafangion | This is a pure upstart system. | 03:52 |
Arafangion | This is from psmisc. | 03:52 |
Keybuk | upstart doesn't have a killall yet | 03:53 |
Arafangion | Hmm, so how else would I do this? | 03:59 |
Keybuk | do what? | 04:00 |
Arafangion | kill everything. :) | 04:00 |
Keybuk | copy killall in from sysvinit | 04:00 |
Keybuk | killall5 sorry | 04:00 |
Arafangion | Hmm, I suppose I have to. | 04:01 |
Arafangion | Got another problem with dbus. Whenever I start my dbus script, via: sudo initctl start dbus, it hangs - never returns unless I hit ^c. | 07:07 |
Arafangion | The job itself just has an 'exec dbus-daemon --system', and the respective configuration file has had the fork removed. | 07:07 |
ion_ | Try adding ‘respawn’ to the job config. | 07:08 |
Arafangion | Thanks. | 07:08 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!