Operating System - Linux
1751898 Members
5739 Online
108783 Solutions
New Discussion юеВ

How can i get performance Report for last 1 week

 
SOLVED
Go to solution
Mohammed Haris Khan
Occasional Advisor

How can i get performance Report for last 1 week

Hi,

How can i get the performance report for last 1 week in linux servers.. I need it in % .

Eg : I need to know the CPU , Memory Utilization for last 1 week

Can you please help me in getting this output.
7 REPLIES 7
Mohammed Haris Khan
Occasional Advisor

Re: How can i get performance Report for last 1 week

I had a look at sar output. I can get only todays performance report . How can i get the the output for last 1 week , Im eager to know this... Vewing man page of sar i can specify the hh.mm.ss only...
Michal Kapalka (mikap)
Honored Contributor

Re: How can i get performance Report for last 1 week

hi,

we are using cacti with snmp on our servers.

mikap
Michal Kapalka (mikap)
Honored Contributor

Re: How can i get performance Report for last 1 week

hi,

or you could install nagios + centereon with snmp support and them automatically monitor and make grafical reports with rrdtools inside.

mikap
Mohammed Haris Khan
Occasional Advisor

Re: How can i get performance Report for last 1 week

Thanks Mikap,

at the moment i could not install the package "nagios + centereon " on my machine... Im helpless. But eventhough there is a pressure to get the output. Im just trying with VMSTAT or SAR command..


Please post me you help in retriving the output.
Michal Kapalka (mikap)
Honored Contributor

Re: How can i get performance Report for last 1 week

Hakki Aydin Ucar
Honored Contributor
Solution

Re: How can i get performance Report for last 1 week

you can use sar output as what kind of portion you need:

sar -option [interval] [iterations]

sar -u 5 20 # CPU related
sar -i 5 20 # disk utilization
sar -b 5 20 # buffer s
vmstat 5 20 # memory bottleneck

and you can put into a cron job so you can forward them with time_stamp to any file you want to pick up.
Steven E. Protter
Exalted Contributor

Re: How can i get performance Report for last 1 week

Shalom,

By default most Linux distributions do not collect this data.

You will need to take one of the sar recommendations you have above and start running it with cron to get data.

You could install glance/gpm for Linux, but that product is licensed software that you will have to pay for.

ICE for Linux might be helpful.

http://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPICELX

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com