QuicksearchDisclaimerThe individual owning this blog works for Oracle in Germany. The opinions expressed here are his own, are not necessarily reviewed in advance by anyone but the individual author, and neither Oracle nor any other party necessarily agrees with them.
|
< Back home | Less known Solaris Features: Getting the command line and environment of running processes >
Less known Solaris features: Getting rid of ZombiesMonday, September 1. 2008Comments
Display comments as
(Linear | Threaded)
I knew there was a way I'd done this before, but for the life of me I couldn't remember how. I'd completely forgotten about the preap. Now to try and lodge it in my memory for next time.
No, but then I hadn't thought of "preap".
In any case, other than to make your "ps" output cleaner, there is [almost] no need to reap these processes. The only thing that they occupy is a process table slot which is just a few bytes of memory. It is a rare and troubled system that does not have a few (or a few thousand) process slots to spare.
Also, if you have a bunch of zombies and you want to kill them recursively, here's how I do it:
ps -A | grep defunct | awk '{print $1}' | xargs preap Hope it helps. Cheers. |
+1The LKSF bookThe book with the consolidated Less known Solaris Tutorials is available for download here
Web 2.0Contact
Networking xing.com My photos Comments about Lieber SPON, ...
Fri, 17.05.2013 08:09
Du solltest auch noch JS ausch
alten, dann bekommst du auch n
icht diese lustige Nachricht ü
ber AdBlocker
Sun, 12.05.2013 16:52
Honestly? Don't know .... and
will not speculate about it h
ere.
When i worked as an a
dmin (or later project e [...]
Buttons![]() This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Germany License
![]() ![]() ![]() Blog Administration |
Tracked: Sep 03, 11:08
Tracked: Sep 16, 18:23