LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 06-26-2013, 08:22 PM   #1
r00ster
Member
 
Registered: May 2007
Location: boundary beach, bc
Distribution: Debian 3.2.46-1+deb7u1
Posts: 199

Rep: Reputation: 15
System Monitor versus 'top'


I recently upgraded to Deb 7. In running 'top' and the KDE Sys Mon simultaneously, I get significantly different system info outputs. The reason I'm querying is that I'm experiencing system freezes and I'm trying to identify the cause.

In one instance, I was downloading an iso from the internet. The sys info for Memory differed greatly between the 2 utilities throughout the download.

'top' Mem showed 485 MiB being used
Sys Mon showed.. 264 MiB.

'top' Swap showed 359 MiB being used
Sys Mon showed.... 40 MiB.


Code:
Tasks: 122 total,   1 running, 121 sleeping,   0 stopped,   0 zombie
%Cpu(s):  3.8 us,  1.5 sy,  0.0 ni, 93.1 id,  1.5 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem:    505440 total,   485248 used,    20192 free,     3752 buffers
KiB Swap:   498008 total,    35960 used,   462048 free,   218512 cached

  PID USER      PR  NI  VIRT  RES  SHR S  %CPU %MEM    TIME+  COMMAND                      
 2429 root      20   0 56488  18m  11m S   1.5  3.7   1:05.02 Xorg                         
 3535 rooster   20   0  118m  32m  25m S   1.5  6.5   0:06.17 konsole                      
 3581 rooster   20   0  557m 137m  24m S   1.5 27.8   5:10.74 iceweasel                    
 3789 rooster   20   0  141m  39m  27m S   1.5  8.1   0:41.28 ksysguard                    
 1865 root      20   0  5180  368  256 S   0.8  0.1   0:00.09 dhclient                     
 3845 rooster   20   0  4508 1356  992 R   0.8  0.3   0:01.96 top                          
    1 root      20   0  2280  592  568 S   0.0  0.1   0:01.00 init                         
    2 root      20   0     0    0    0 S   0.0  0.0   0:00.00 kthreadd                     
    3 root      20   0     0    0    0 S   0.0  0.0   0:00.51 ksoftirqd/0   
<SNIP>
 
Old 06-27-2013, 03:35 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,130

Rep: Reputation: 986Reputation: 986Reputation: 986Reputation: 986Reputation: 986Reputation: 986Reputation: 986Reputation: 986
Apples and oranges probably - subtract the "buffers" and "cached" and see how they line up.
Read linuxatemyram.com.
 
Old 06-28-2013, 03:11 PM   #3
r00ster
Member
 
Registered: May 2007
Location: boundary beach, bc
Distribution: Debian 3.2.46-1+deb7u1
Posts: 199

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by syg00 View Post
Apples and oranges probably - subtract the "buffers" and "cached" and see how they line up.
Read linuxatemyram.com.
Not sure I understood what you meant by apples vs oranges. You could have done the math from the info I posted.

Quote:
'top' Mem showed 485248 being used. Minus buffers (3752) = 481496
Sys Mon showed 264 MiB.

'top' Swap showed 359 MiB being used. Minus cached (218512) = 182552
Sys Mon showed 40 MiB.
Converting to MiB
Mem: 481 'top' versus 264 Sys Mon

Swap: 182 'top' versus 40 Sys Mon

Those numbers don't seem to line up.
 
Old 06-28-2013, 05:11 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,130

Rep: Reputation: 986Reputation: 986Reputation: 986Reputation: 986Reputation: 986Reputation: 986Reputation: 986Reputation: 986
Quote:
Originally Posted by r00ster View Post
You could have done the math from the info I posted.
I did.
Like I said, subtract both.
 
Old 06-29-2013, 03:28 AM   #5
r00ster
Member
 
Registered: May 2007
Location: boundary beach, bc
Distribution: Debian 3.2.46-1+deb7u1
Posts: 199

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by syg00 View Post
I did.
Like I said, subtract both.
Show your math...please...

Last edited by r00ster; 07-02-2013 at 05:15 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
(Large) Memory usage discrepancy between top and gnome-system-monitor dahc Linux - General 2 02-09-2012 09:58 PM
System usernames versus user numbers -- incompatibility? eater Linux - Software 4 03-01-2008 10:53 AM
memory reporting: top vs. system monitor jhwilliams Fedora 1 08-17-2007 11:42 AM
gnome system monitor shows different resource usage than top BCarey Linux - Software 0 02-13-2007 10:14 PM
System monitor and top props666999 Slackware 5 11-27-2004 08:18 AM


All times are GMT -5. The time now is 12:57 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration