Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 18th July 2005, 03:42 PM
wijszman Offline
Registered User
 
Join Date: Jul 2005
Posts: 16
MRTG running, how to show real mem and cpu usage

I have a fedore core 4 server up and running, and have been busy configuring mrtg.

Everything works fine, and i now want to display certain processes and their memory and cpu usage.

At first i thought i should use the ps command for this (with a perl script to get the values to mrtg) but i noticed there is a big difference between ps and top and free.

If i run free i get a reading of almost 100% free memory, but when i look at process X (just a name) with ps it says 4% mem usage.

The same happens for cpu usage, top sometimes says a process takes up 60% cpu, and the ps command stays at 1 or 2 %.

How is this possible, and what command is the one displaying what is REALLY going on?
Reply With Quote
  #2  
Old 19th July 2005, 09:45 AM
wijszman Offline
Registered User
 
Join Date: Jul 2005
Posts: 16
nobody else has had this same situtation before?
Reply With Quote
Reply

Tags
cpu, mem, mrtg, real, running, usage

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
show process cpu usage lionel.ducret Servers & Networking 2 17th December 2004 07:03 AM


Current GMT-time: 21:39 (Saturday, 18-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat