NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: ps O Marks a process running on a processor



In article <CAMJXocme4P8fDJQ3QENy4N=WXe+CcgKtsvRjouQzdmo+0jPMGw%mail.gmail.com@localhost>,
el kalin  <kalin%el.net@localhost> wrote:
>-=-=-=-=-=-
>
>hi all...
>
>noticing something in ps that i'm not familiar with:

They are spinning on something. ktrace -p <pid> is your friend. Or
if that fails: gdb httpd <pid>

christos

>
>www         4549 99.0  0.1 220736  22380 ?       O    Tue12PM   9658:27.67
>/usr/pkg/sbin/httpd -k start
>
>www         1998 97.6  0.1 218684  22776 ?       O    Wed09PM   7711:10.83
>/usr/pkg/sbin/httpd -k start
>
>www         9931 97.4  0.2 220736  26092 ?       O    Tue12PM   9622:31.82
>/usr/pkg/sbin/httpd -k start
>
>www        19355 98.0  0.5 285244  84204 ?       O    Fri09AM   5578:24.35
>/usr/pkg/sbin/httpd -k start
>
>www         6122  0.0  0.2 220732  26912 ?       S    11:50AM      0:00.63
>/usr/pkg/sbin/httpd -k start
>
>www         6641  0.0  0.2 217660  25392 ?       S    11:53AM      0:00.23
>/usr/pkg/sbin/httpd -k start
>
>according to the man ps stat O stands for "Marks a process running on a
>processor". what does that mean?
>
>in top these look like:
>
> 9931 www       25    0   216M   25M CPU/4    160.5H 99.27% 99.27% httpd
>
> 4549 www       25    0   216M   22M CPU/1    161.1H 97.80% 97.80% httpd
>
>19355 www       25    0   279M   82M CPU/5     93.1H 93.65% 93.65% httpd
>
> 1998 www       25    0   214M   22M CPU/7    128.6H 90.58% 90.58% httpd
>
>that looks bit extreme to me. some sort of a leak?!
>
>thanks...
>
>-=-=-=-=-=-
>[Alternative: text/html]
>-=-=-=-=-=-





Home | Main Index | Thread Index | Old Index