List Info

Thread: Re: netbsd-4 (and -current) - ps acting funny ?




Re: netbsd-4 (and -current) - ps acting funny ?
user name
2007-07-28 10:56:40
kardelNetBSD.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: mlelstvserpens.de
                                "A potential Snark may
lurk in every tree."

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )