[BusyBox] Question about memory usage of ash

Vladimir N. Oleynik dzo at simtreas.ru
Fri Sep 12 08:32:07 UTC 2003


Steven,

> ~ # ps
>   PID  Uid     VmSize Stat Command
>     1 root        708 S   init
>     2 root            SW  [keventd]
>     3 root            SWN [ksoftirqd_CPU0]
>     4 root            SW  [kswapd]
>     5 root            SW  [bdflush]
>     6 root            SW  [kupdated]
>     9 root            SW  [mtdblockd]
>    10 root            SWN [jffs2_gcd_mtd0]
>   120 root        772 S   /sbin/cardmgr -q -v
>   124 root        720 S   /bin/sh /sbin/mgetty-wrapper
>   125 root        824 S   -sh
>   126 root        720 S   /sbin/inetd
>   138 root        696 S   /sbin/mgetty modem
>   139 root        740 R   ps
> 
> Is that correct. Does ash realy needs 720KB for a few lines of script?
> Or am I misreading this output?

This size is busybox as one big binary. Real memory usage you can see with 
"free" applet.


--w
vodz




More information about the busybox mailing list