LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-26-2004, 08:41 PM   #1
props666999
Member
 
Registered: Oct 2003
Location: Greece
Posts: 260

Rep: Reputation: 30
System monitor and top


In kde under slackware 10 The System Monitor reports
used memory 93 MB of 250 MB
used swap 25.4 MB of 573 MB

using in a xterm the top command reports:

Mem: 256056k total, 251648k used, 4408k free, 7588k buffers
Swap: 586364k total, 26040k used, 560324k free, 149300k cached



which one should i believe , just wondering


Thank You
 
Old 11-26-2004, 11:50 PM   #2
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,534

Rep: Reputation: 100Reputation: 100
Perhaps gkrellm can be the judge .
Both are true because KDE's monitor don't indicate the buffered or swapped or shared ram (don't know the difference, can someone explain?). I think KDE's one shows pure availability.

Last edited by Linux.tar.gz; 11-26-2004 at 11:53 PM.
 
Old 11-27-2004, 07:22 AM   #3
props666999
Member
 
Registered: Oct 2003
Location: Greece
Posts: 260

Original Poster
Rep: Reputation: 30
gkrellm reports same as System Monitor , so top i think is not very accurate
 
Old 11-27-2004, 07:33 AM   #4
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
take a look at the output of " cat /proc/meminfo "
a large part of mem. is use for disk-caching for fast access.
top is correct, it just don't output the cache-size.

egag
 
Old 11-27-2004, 07:44 AM   #5
props666999
Member
 
Registered: Oct 2003
Location: Greece
Posts: 260

Original Poster
Rep: Reputation: 30
so what you said is the top command counts the cached memory as well but the gui's (System Monitor , gkrellm ) add cached memory to unsused (free) memory
 
Old 11-27-2004, 08:18 AM   #6
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
if you use kde-systemguard , and look at a graph of the physical memory,
it's presented in 3 colors: used by prog's/os ; used for buffers ; used for cache .
the top-output counts the three together as used.

egag
 
  


Reply



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
System Monitoring Tools Better Than Top LinuxGeek Linux - Software 2 07-29-2005 02:03 PM
Add a notice of the top 20 commands to check your unix system on the front page t3gah LQ Suggestions & Feedback 1 03-21-2005 08:23 AM
system("top") in a C program giving problems when the C prg is run by cron rags2k Programming 1 09-02-2004 03:25 PM
Mouse stuck on top of monitor upon boot. Tim Moore Linux - General 0 08-16-2004 03:05 PM
System monitor TazLinux Linux - Software 2 12-21-2002 04:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:42 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration