The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Difference between TOP and SERVICE STATUS

Discussion in 'General Discussion' started by Astral God, Sep 2, 2012.

  1. Astral God

    Astral God Well-Known Member

    Joined:
    Sep 27, 2010
    Messages:
    180
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    127.0.0.1
    cPanel Access Level:
    Root Administrator
    Service Status (WHM):

    Code:
    Memory Used 53.59% (823,552 of 1,536,772) 	
    
    TOP (command line)

    Code:
    Mem:   1536772k total,  1430828k used,   105944k free,    51836k buffers
    
    So, i am using 1,4GB of RAM or 823MB of RAM ? :confused:
     
  2. pwhjenny

    pwhjenny Well-Known Member

    Joined:
    Aug 31, 2012
    Messages:
    135
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Paste here output of Free -m
     
  3. Astral God

    Astral God Well-Known Member

    Joined:
    Sep 27, 2010
    Messages:
    180
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    127.0.0.1
    cPanel Access Level:
    Root Administrator
    Here is the result of free -m

    top result is confirmed.

    Should we never take care about what Service Status reports ? :confused:
     
  4. ruzbehraja

    ruzbehraja Well-Known Member

    Joined:
    May 19, 2011
    Messages:
    383
    Likes Received:
    7
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Good point. Even I didnt notice this till now.

    Surprising......Someone from cpanel should be able to clarify this.
     
  5. Eric

    Eric Administrator
    Staff Member

    Joined:
    Nov 25, 2007
    Messages:
    746
    Likes Received:
    11
    Trophy Points:
    18
    Location:
    Texas
    cPanel Access Level:
    Root Administrator
    Howdy,

    This comes from the kernel having more than a few ways to show the value of memory on a system. For example:

    grimlock ~ # cat /proc/meminfo && vmstat && free -m && top
    MemTotal: 8054512 kB
    MemFree: 299220 kB


    procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu-----
    r b swpd free buff cache si so bi bo in cs us sy id wa st
    0 0 16776 299212 301760 5902576 0 0 164 76 8 5 1 0 98 0 0

    total used free shared buffers cached
    Mem: 7865 7573 292 0 294 5764
    -/+ buffers/cache: 1514 6351
    Swap: 4095 16 4079

    top - 08:39:54 up 11 days, 1:50, 1 user, load average: 0.03, 0.03, 0.00
    Tasks: 253 total, 1 running, 252 sleeping, 0 stopped, 0 zombie
    Cpu(s): 0.5%us, 0.2%sy, 0.6%ni, 98.2%id, 0.4%wa, 0.0%hi, 0.0%si, 0.0%st
    Mem: 8054512k total, 7755300k used, 299212k free, 301760k buffers
    Swap: 4194296k total, 16776k used, 4177520k free, 5902576k cached

    WHM Shows

    Server load 0.09 (4 CPUs)
    Memory Used 19.78% (1,593,352 of 8,054,512)
    Swap Used 0.4% (16,776 of 4,194,296)

    Which we get from free.

    Thanks!
     
Loading...

Share This Page