would avoid root-owned processes?sub get_procs { # we don't consider root-owned processes either. return split(/\n/, `$ps | sed 's/^ *//'`); }
I guess that explains why I'm not hanging out on sedmonks.org :)
--
Mike
In reply to Re: Auto-renicer
by RMGir
in thread Auto-renicer
by hawson
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |