In message <200002281909.UAA22123@lrcsun15.epfl.ch>, Werner Almesberger
| Walter Hofmann wrote:
| >> ps ax | grep -c '<zombie>'
| > It't too high by one because grep counts itself ;-)
| Grr, ps ax | grep -c '<z[o]mbie>' then :-)
ps acx | grep '<defunct>'
If you want to be really careful,
ps acx | awk '$6 == "<defunct>"'
-- brandon s. allbery os/2,linux,solaris,perl email@example.com system administrator kthkrb,heimdal,gnome,rt firstname.lastname@example.org carnegie mellon / electrical and computer engineering kf8nh We are Linux. Resistance is an indication that you missed the point.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to email@example.com Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Tue Feb 29 2000 - 21:00:21 EST