LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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: 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.

Thanks

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

Rep: Reputation: 755Reputation: 755Reputation: 755Reputation: 755Reputation: 755Reputation: 755Reputation: 755
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: 12,102

Rep: Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982
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: 428

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, 02:11 PM   #5
odegos
LQ Newbie
 
Registered: May 2007
Posts: 2

Original Poster
Rep: Reputation: 0
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!
 
  


Reply


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 02:09 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration