top that displays a Mem usage over 100 . . .

Aurelien Bouin a_bouin at yahoo.fr
Tue Jan 25 08:18:36 UTC 2011


Hi,
Thank you for your help, You should find attached the tar of your script...
Regards,

Aurélien BOUIN



--- En date de : Mar 25.1.11, Denys Vlasenko <vda.linux at googlemail.com> a écrit :

> De: Denys Vlasenko <vda.linux at googlemail.com>
> Objet: Re: top that displays a Mem usage over 100 . . .
> À: busybox at busybox.net
> Cc: "Aurelien Bouin" <a_bouin at yahoo.fr>
> Date: Mardi 25 janvier 2011, 1h49
> On Monday 24 January 2011 09:57,
> Aurelien Bouin wrote:
> > Hello all,
> > I have troubles using a top command on my ARM
> platform, I don't know why it displays pourcentages over 100
> for the memory, even more when we can see : Mem: 80988K
> used, 45004K free, 0K shrd, 0K buff, 26496K cached
> > Thank you for your help,
> > 
> > Aurélien
> > 
> > 
> > Mem: 81016K used, 44976K free, 0K shrd, 0K buff,
> 26488K cached
> > CPU:  2.7% usr  1.1% sys  0.0% nic
> 96.0% idle  0.0% io  0.0% irq  0.0% sirq
> > Load average: 0.00 0.02 0.09 4/93 24215
> > Mem: 80988K used, 45004K free, 0K shrd, 0K buff,
> 26496K cached
> > CPU:  7.6% usr 23.0% sys  0.0% nic 69.2%
> idle  0.0% io  0.0% irq  0.0% sirq
> > Load average: 0.01 0.02 0.06 1/93 24216
> >   PID  PPID USER 
>    STAT   VSZ %MEM CPU %CPU
> COMMAND
> > 24216 24110 root     R 
>    2076  1.6   0 23.0 top
> -n 1
> >  1765     1 root 
>    S 
>    180m146.8   0  7.6
> displayapp -mtype 602 -remlog 10.190.2.1 -remloglevel 5
> -fileLog /datas//local/logs//displayapp.log -fileLogLevel 5
> -fileconf /usr/e
> >  1826     1 root 
>    S   
> 1153m937.5   0  0.0 mediagip_supervisor
> -C -D -c /datas//etc//mediagip/linphonerc -b
> /usr/etc/mediagip/linphonerc_factory -logfilemediagip
> /dev/null -fi
> >  1740     1 root 
>    S     105m
> 85.7   0  0.0 gope -stdoutlog
> -stdoutloglevel 3 -remlog 10.190.2.1 -remloglevel 5 -fileLog
> /datas//local/logs//gope.log -fileLogLevel 5 -mtype 602
> > 24162 24161 root     S 
>     99m 80.5   0  0.0
> /usr/bin/mediagip -C -D -c /datas//etc//mediagip/linphonerc
> -b /usr/etc/mediagip/linphonerc_factory -logfilemediagip
> /dev/null -file
> >  1719     1 root 
>    S    40116
> 31.8   0  0.0 aecapp -mtype 602 -remlog
> 10.190.2.1 -remloglevel 7 -fileLog
> /datas//local/logs//aecapp.log -fileLogLevel 5 -fileconf
> /usr/etc//aec/
> >  1766     1 root 
>    S    13204
> 10.4   0  0.0 logforwardShowGIP -appname
> showGipLogger -pipename /tmp/showGIPLogPipe -pidfilename
> /var/run/showGipLogger.pid -fileLog /dev/null -f
> >  1726     1 root 
>    S    13120
> 10.4   0  0.0 logforwardWebError
> -appname webErrlog -pipename /usr/logs/error_log
> -pidfilename /var/run/webErrlog.pid -remlog 10.190.2.1
> -remlogle
> >  1857  1829 root 
>    S     7012 
> 5.5   0  0.0 /usr/bin/httpd -k start
> -DSSL
> >  1869  1829 root 
>    S     6744 
> 5.3   0  0.0 /usr/bin/httpd -k start
> -DSSL
> > 24079  1829 root     S 
>    6744  5.3   0 
> 0.0 /usr/bin/httpd -k start -DSSL
> >  1912  1829 root 
>    S     6612 
> 5.2   0  0.0 /usr/bin/httpd -k start
> -DSSL
> >  2639  1829 root 
>    S     6612 
> 5.2   0  0.0 /usr/bin/httpd -k start
> -DSSL
> >  1868  1829 root 
>    S     6612 
> 5.2   0  0.0 /usr/bin/httpd -k start
> -DSSL
> >  2642  1829 root 
>    S     6612 
> 5.2   0  0.0 /usr/bin/httpd -k start
> -DSSL
> > 24058  1829 root     S 
>    6612  5.2   0 
> 0.0 /usr/bin/httpd -k start -DSSL
> >  1861  1829 root 
>    S     6608 
> 5.2   0  0.0 /usr/bin/httpd -k start
> -DSSL
> >  1858  1829 root 
>    S     6608 
> 5.2   0  0.0 /usr/bin/httpd -k start
> -DSSL
> > 24105  1796 root     S 
>    6484  5.1   0 
> 0.0 sshd: root at pts/2
> 
> When you see this, please run this in an empty directory:
> 
> for f in /proc/[0-9]*/stat; do
>         n=${f#/proc/}
>         n=${n%/stat}_stat
>         cp $f $n
> done
> cp /proc/stat /proc/meminfo .
> top -bn1 >top.out
> 
> tar it up and send me the tarball
> 
> -- 
> vda
>


      
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_top.tar.gz
Type: application/x-gzip
Size: 4123 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20110125/73333da1/attachment-0001.bin>


More information about the busybox mailing list