View the Most Wanted LQ Wiki articles.
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, 04: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 04:21 PM.
Old 05-20-2007, 04:39 PM   #2
LQ Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,274
Blog Entries: 10

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

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

Edit: d'oh ...

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

Rep: Reputation: 65
mrtg is another good tool is you want to display it on a web interface and view it in graphs
Old 05-21-2007, 03: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 06:48 AM
record CPU history mguleren Linux - General 1 03-10-2006 11:35 AM
getting realtime info on memory usage-cpu and harddrive usage steering Linux - Newbie 5 03-03-2005 09: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 05:45 AM
Controlling CPU usage & memory usage Saravana babu Linux - Software 0 02-18-2004 06:55 AM

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

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