kardel NetBSD.org (Frank Kardel) writes:
>Sensible time output seem state dependent. Runnanble or
Stopped
>processes show time value that match my expectations
more.
The p_stat of a sleeping process is seen as SDYING (3)
because
the kvm interface overwrites the value with l_stat ==
LSSLEEP (3).
A 'dying' process has no valid cputime, thus ps prints 0.
--
--
Michael van Elst
Internet: mlelstv serpens.de
"A potential Snark may
lurk in every tree."
|