[BusyBox] Off Topic: %cpu usage

Glenn R Heard Jr rayzer at zoominternet.net
Fri Sep 27 10:02:02 UTC 2002


Hi again vodz,

    I don't pretend to understand what is happening when scandir dies.

    That being said, I duplicated the chdir call and inserted it just before
the scandir call and now top has been running solid for 30 min.

    Hope this helps...

Glenn Ray"zer" Heard    rayzer at zoominternet.net
Software Engineer       gheard at altronicinc.com
Altronic Inc.           http://www.altronicinc.com/
ICQ: 123194600  www.zoominternet.net/~rayzer
---
If all the world is a stage, where is the audience sitting?

----- Original Message -----
From: "Glenn R Heard Jr" <rayzer at zoominternet.net>
To: "Vladimir N. Oleynik" <dzo at simtreas.ru>
Cc: <busybox at busybox.net>
Sent: Friday, September 27, 2002 11:25 AM
Subject: Re: [BusyBox] Off Topic: %cpu usage


> Hi vodz,
>
>     your top applet does the trick for %cpu thanks.
>
>     But... after a few "updates" ( variable ) top dies with:
>         top: scandir('/proc'): No such file or directory
>
>
> Glenn Ray"zer" Heard    rayzer at zoominternet.net
> Software Engineer       gheard at altronicinc.com
> Altronic Inc.           http://www.altronicinc.com/
> ICQ: 123194600  www.zoominternet.net/~rayzer
> ---
> If it isn't broke, don't fix it; upgrade it!
>
> ----- Original Message -----
> From: "Vladimir N. Oleynik" <dzo at simtreas.ru>
> To: "Glenn R Heard Jr" <rayzer at zoominternet.net>
> Cc: <busybox at busybox.net>
> Sent: Friday, September 27, 2002 10:28 AM
> Subject: Re: [BusyBox] Off Topic: %cpu usage
>
>
> > Glenn,
> >
> > > Hi All,
> > >     How can I get %cpu usage for a running process?
> >
> > You can get new version "top" applet from my ftp. ;)
> >
> >
> > --w
> > vodz
> > _______________________________________________
> > busybox mailing list
> > busybox at busybox.net
> > http://busybox.net/mailman/listinfo/busybox
> >
> >
>
> _______________________________________________
> busybox mailing list
> busybox at busybox.net
> http://busybox.net/mailman/listinfo/busybox
>
>





More information about the busybox mailing list