LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 11-19-2012, 11:37 PM   #1
rgrandl
LQ Newbie
 
Registered: Apr 2007
Posts: 7

Rep: Reputation: 0
Monitor resource information


Hi all,

I am trying to monitor the resources on some machines. Unfortunately monitoring load or simply traditional CPU/Memory does not provide accurate values for burst workload. So if I rely on these metrics to accommodate traffic I am ending up in too many losses due to slowness in updating these metrics according to my intensive traffic.

Do you know if there are some low level OS metrics which are more sensitive to changes in traffic(maybe some reported by systat ?) which allows me to react more quickly in multiplexing the traffic ?

Thanks in advance,
Robert
 
Old 11-20-2012, 02:40 AM   #2
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.6, Centos 5.10
Posts: 16,324

Rep: Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041
Well, you don't say which tools you've used and how you are using them.
Exactly what do you want to measure?
Most tools have options to specify frequency of polling, but of course the more frequently you do that, the more the measuring affects the numbers measured ... its all a bit quantum

As an example, vmstat http://linux.die.net/man/8/vmstat has a 'delay' param that you can specify.
 
Old 11-20-2012, 10:46 AM   #3
Habitual
Senior Member
 
Registered: Jan 2011
Distribution: Undecided
Posts: 3,619
Blog Entries: 1

Rep: Reputation: Disabled
sar only collects every 10m. quite useless if you need a 2-to-3 minute window into what's going on.

I suggest collectl
 
Old 11-23-2012, 02:27 AM   #4
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.6, Centos 5.10
Posts: 16,324

Rep: Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041
Actually, sar has an 'interval' option, that can be specified in seconds
http://linux.die.net/man/1/sar
 
Old 11-23-2012, 09:29 AM   #5
Habitual
Senior Member
 
Registered: Jan 2011
Distribution: Undecided
Posts: 3,619
Blog Entries: 1

Rep: Reputation: Disabled
Quote:
Originally Posted by chrism01 View Post
Actually, sar has an 'interval' option, that can be specified in seconds
http://linux.die.net/man/1/sar
"by default".
Damn you Chris!
 
Old 11-24-2012, 11:16 AM   #6
rgrandl
LQ Newbie
 
Registered: Apr 2007
Posts: 7

Original Poster
Rep: Reputation: 0
Thank you all guys. It was really helpful.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to generate resource information and email the output. bebeslb Programming 1 10-11-2006 10:51 AM
Slackware 10.1 + Information Resource Manager (IRM) caps_phisto Linux - General 1 05-11-2005 12:02 PM
resource/sensor monitor evil_empire Linux - General 12 03-31-2005 01:47 PM
resource monitor? acidjuice Suse/Novell 1 02-13-2005 08:54 PM
Resource monitor Bilb Linux - Software 6 06-10-2003 09:58 AM


All times are GMT -5. The time now is 04:35 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration