runaway proc events/0 && automatic reboot

Neil Jerram neiljerram at
Fri Jan 9 15:03:35 CET 2009

2009/1/9 Matthias Apitz <guru at>:
> ... the CPU time is easy to read as:
> while true; do
>    ps --no-heading -C events/0 -o time | awk -F : '{print $1*3600+$2*60+$3}'
>    sleep 600
> done

Sorry, but I couldn't help feeling amused here by the fact that we
have a different definition of "easy" from the rest of the world. :-)

Best wishes,

More information about the community mailing list