Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: memory usage log/graph?
PostPosted: Sun Aug 10, 2008 7:13 pm 
Offline
Senior Member

Joined: Fri May 02, 2008 8:44 pm
Posts: 1121
Does anyone know of an easy way to track memory usage over time, just like CPU and bandwidth usage? I mean, something that'll let me know how much memory/swap I was using at the time of a surge in web traffic while I was sleeping.

I could probably do something like free -M >> logfile.log every few minutes using cron, and then write another script to analyze the resulting logfile. But there's got to be a more elegant solution than that! And I don't want to be staring at htop all the time.

Thx,


Top
   
 Post subject:
PostPosted: Sun Aug 10, 2008 7:56 pm 
Offline
Senior Member
User avatar

Joined: Mon Dec 10, 2007 4:30 pm
Posts: 341
Website: http://markwalling.org
Overkill, but meets your spec:

http://www.cacti.net/


Top
   
 Post subject:
PostPosted: Mon Aug 11, 2008 1:22 am 
Offline
Senior Member

Joined: Fri May 02, 2008 8:44 pm
Posts: 1121
Wow, that does look like overkill! I'll look into it anyway. Thanks.


Top
   
 Post subject:
PostPosted: Mon Aug 11, 2008 6:50 am 
Offline
Junior Member

Joined: Tue May 25, 2004 2:21 pm
Posts: 20
Location: Newnan, Georgia
IMO, one of the more straightforward solutions is to use 'gnuplot'. This may get you started:
http://www.linode.com/forums/viewtopic. ... ht=gnuplot

Hal Williams


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group