LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


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

Rep: Reputation: 1
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.

Thanks

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

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

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
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
slimm609
Member
 
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
odegos
LQ Newbie
 
Registered: May 2007
Posts: 2

Original Poster
Rep: Reputation: 1
Lightbulb

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!
 
1 members found this post helpful.
  


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
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

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 02:19 AM.

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