Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.


  Search this Thread
Old 05-20-2007, 03:20 PM   #1
LQ Newbie
Registered: May 2007
Posts: 2

Rep: Reputation: 0
Ram and CPU usage history log

Hi there, Is there a place where I can see the Ram and CPU usage in some sort of history log? I restarted a server but forgot to look at the swap memory usage.


Last edited by odegos; 05-20-2007 at 03:21 PM.
Old 05-20-2007, 03:39 PM   #2
LQ Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,834
Blog Entries: 14

Rep: Reputation: 1081Reputation: 1081Reputation: 1081Reputation: 1081Reputation: 1081Reputation: 1081Reputation: 1081Reputation: 1081
If you have sysstat installed you can run sar commands to save and view performance history.
Old 05-20-2007, 03:43 PM   #3
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,533

Rep: Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041
See if you have sysstat installed - sar should have that for you.

Edit: d'oh ...

Last edited by syg00; 05-20-2007 at 03:44 PM.
Old 05-20-2007, 10:48 PM   #4
Registered: May 2007
Location: Chas, SC
Distribution: slackware, gentoo, fedora, LFS, sidewinder G2, solaris, FreeBSD, RHEL, SUSE, Backtrack
Posts: 430

Rep: Reputation: 67
mrtg is another good tool is you want to display it on a web interface and view it in graphs
Old 05-21-2007, 02:11 PM   #5
LQ Newbie
Registered: May 2007
Posts: 2

Original Poster
Rep: Reputation: 0

Hi to all, I just want to thank you all for your input. I knew about the 'sar' command but never thought that it would have attributes to it like the '-r' for ram history. I clicked once I started reading your posts. Thanks a mil!


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
sendmail problem. cpu usage very high! have log to see! singying304 Linux - Server 1 04-21-2007 05:48 AM
record CPU history mguleren Linux - General 1 03-10-2006 10:35 AM
getting realtime info on memory usage-cpu and harddrive usage steering Linux - Newbie 5 03-03-2005 08:43 PM
how to determine cpu usage, memory usage, I/O usage by a particular user logged on li rags2k Programming 4 08-21-2004 04:45 AM
Controlling CPU usage & memory usage Saravana babu Linux - Software 0 02-18-2004 05:55 AM

All times are GMT -5. The time now is 12:41 AM.

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