> ps -algx
my `ps` only supports w

root@MimoAP:/# ps --help
BusyBox v1.19.4 (2014-06-25 17:17:34 SGT) multi-call binary.

Usage: ps

Show list of processes

        w       Wide output

However, it does not show every application
root@MimoAP:/# ps -w
  PID USER       VSZ STAT COMMAND
    1 root      1512 S    init
    2 root         0 SW   [kthreadd]
    3 root         0 SW   [ksoftirqd/0]
    4 root         0 SW   [kworker/0:0]
    5 root         0 SW   [kworker/u:0]
    6 root         0 SW<  [khelper]
    7 root         0 SW   [kworker/u:1]
   59 root         0 SW   [sync_supers]
   61 root         0 SW   [bdi-default]
   63 root         0 SW<  [kblockd]
   94 root         0 SW   [kswapd0]
  143 root         0 SW   [fsnotify_mark]
  156 root         0 SW<  [ath79-spi]
  167 root         0 SW   [mtdblock0]
  172 root         0 SW   [mtdblock1]
  177 root         0 SW   [mtdblock2]
  182 root         0 SW   [mtdblock3]
  187 root         0 SW   [mtdblock4]
  192 root         0 SW   [mtdblock5]
  197 root         0 SW   [mtdblock6]
  317 root         0 SW   [kworker/0:1]
  589 root      1508 S    /bin/ash --login
  670 root      1516 S    /sbin/syslogd -C16
  672 root      1496 S    /sbin/klogd
  674 root       852 S    /sbin/hotplug2 --override --persistent
--set-rules-file /etc/hotplug2.rules --set-coldplug-cmd /sbin/udev
  681 root       868 S    /sbin/ubusd
  710 root      1520 S    /sbin/netifd
  995 root      1500 S    /usr/sbin/telnetd -p 23
 1006 root      1132 S    /usr/sbin/uhttpd -f -h /www -r MimoAP -x /cgi-bin
-t 60 -T 30 -A 1 -n 3 -R -p 0.0.0.0:80
 1038 nobody     940 S    /usr/sbin/dnsmasq -C /var/etc/dnsmasq.conf
 1065 root      1508 S    /usr/sbin/ntpd -n -p 0.openwrt.pool.ntp.org -p
1.openwrt.pool.ntp.org -p 2.openwrt.pool.ntp.org -p 3.open
 1074 root      1504 R    ps -w

root@MimoAP:/# free
             total         used         free       shared      buffers
Mem:         29360        27084         2276            0            0
-/+ buffers:              27084         2276
Swap:            0            0            0


On Thu, Jun 26, 2014 at 11:24 AM, David Madden <[email protected]> wrote:

> On 6/25/14, 8:22 PM, Le Tran Dat wrote:
> > I am compiling Openwrt image. However, the current board is pretty low in
> > RAM. I would like to check which application accounts for the most ram
> > usage.
>
> ps -algx
>
> --
> Mersenne Law LLP  ·  www.mersenne.com  ·  +1-503-679-1671
> - Small Business, Startup and Intellectual Property Law -
> 9600 S.W. Oak Street · Suite 500 · Tigard, Oregon  97223
>
>
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users

Reply via email to