1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

any way to see what is using up memory on Tomato?

Discussion in 'Tomato Firmware' started by luckman212, Jan 7, 2007.

  1. luckman212

    luckman212 LI Guru Member

    I am curious sometimes what is eating all the memory on my Tomato box. Is there any way to "dig in" to see more detailed resource usage as to waht is taking up these precious ram resources? for example: 4mb used for conntrack, 3mb for iptables, etc... that would be very helpful, or is there some commandline I can run from the telnet console for this? :rolleyes:
     
  2. orangekay

    orangekay LI Guru Member

    top

    PHP:
    Load average0.07 0.02 0.00  (StatusS=sleeping R=runningW=waiting)
      
    PID USER     STATUS   RSS  PPID %CPU %MEM COMMAND
     2964 root     R        372  2962  0.8  2.5 top
     2961 root     S        648    90  0.7  4.4 dropbear
        1 root     S        484     0  0.0  3.3 init
     2080 root     S        452     1  0.0  3.1 upnp
     2050 nobody   S        448     1  0.0  3.0 dnsmasq
     2962 root     S        436  2961  0.0  3.0 sh
     2018 root     S        428     1  0.0  2.9 pppoecd
     2038 root     S        384     1  0.0  2.6 httpd
       90 root     S        376     1  0.0  2.5 dropbear
     2041 root     S        360     1  0.0  2.4 crond
     2020 root     S        324     1  0.0  2.2 syslogd
     2029 root     S        312     1  0.0  2.1 klogd
     2040 root     S        280     1  0.0  1.9 httpd
     2016 root     S        272     1  0.0  1.8 redial
       19 root     S        248     1  0.0  1.7 buttons
        3 root     SWN        0     1  0.0  0.0 ksoftirqd_CPU0
        7 root     SW         0     1  0.0  0.0 mtdblockd
     2046 root     SW         0     1  0.0  0.0 cifsd
        2 root     SW         0     1  0.0  0.0 keventd
       24 root     SWN        0     1  0.0  0.0 jffs2_gcd_mtd3
        5 root     SW         0     1  0.0  0.0 bdflush
        4 root     SW         0     1  0.0  0.0 kswapd
     2045 root     SW         0     1  0.0  0.0 cifsoplockd
        6 root     SW         0     1  0.0  0.0 kupdated
    Interesting that dnsmasq is still running despite the fact that I've turned it off. Wonder what that's about.
     
  3. Davka

    Davka LI Guru Member

    Because it's DHCP server (you can turn off only DNS server function).
     

Share This Page