- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- sar command to get the average percentage of total...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2008 04:09 AM
тАО01-31-2008 04:09 AM
#sar -u -f sa30
&
Also I am able to take Average percentage of total Memory utilisation for the whole day by using the following command.
#sar -r -f sa30
Can any one help me to get a command for Average percentage of total Disk utilisation for the whole day.
I want a sar command to get the total disk utilisation for the whole day.
Please help me regarding on the same.
Thanks in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2008 04:39 AM
тАО01-31-2008 04:39 AM
Re: sar command to get the average percentage of total disk utilisation for the whole day
# sar -d -f sa30
Also, you should give a look to collectl:
http://collectl.sourceforge.net/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2008 04:40 AM
тАО01-31-2008 04:40 AM
SolutionPlease keep asigning points, here are your "unrated" answers:
http://forums11.itrc.hp.com/service/forums/pageList.do?userId=CA1475111&listType=unassigned&forumId=1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2008 05:00 AM
тАО01-31-2008 05:00 AM
Re: sar command to get the average percentage of total disk utilisation for the whole day
$ sar -d -f sa23
Requested activities not available in file
but If I try with -b option I am getting the following output
#sar -b -f sa23
22:00:00 tps rtps wtps bread/s bwrtn/s
23:50:00 0.00 0.00 0.00 0.00 0.00
Average: 0.00 0.00 0.00 0.00 0.00
All values are zeros.....
Please help me ....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2008 05:13 AM
тАО01-31-2008 05:13 AM
Re: sar command to get the average percentage of total disk utilisation for the whole day
This error message means that you are trying to extract non-existent activities from the data file. Usually sadc reads all the available activities from the system and stores them in the data file. However, to prevent data files from taking too much space on disk, some activities must be explicitly set on the command line to be read by sadc. One example is -I option which must be used together with sadc to be able to extract statistics for individual interrupts from the data file. Another example is -d option for disks statistics.
Plese check the man pages for sadc to see if the -d option should be enabled. If so, then verify the sa1 script or you sysstat cron job. You can check the location of the scripts using:
rpm -ql sysstat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2008 06:36 AM
тАО01-31-2008 06:36 AM
Re: sar command to get the average percentage of total disk utilisation for the whole day
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2008 06:39 AM
тАО01-31-2008 06:39 AM
Re: sar command to get the average percentage of total disk utilisation for the whole day
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2008 07:00 AM
тАО01-31-2008 07:00 AM
Re: sar command to get the average percentage of total disk utilisation for the whole day
Thank you very much for your support.
It was realy helpful.
But for Disk still I am not getting data.
Is there any other utility built in linux to check last 10 days total disk utilisation?
Please let me know any other way can I get the same details
Please let me know what need to be changed in the script also.
Your help is realy great.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2008 11:06 AM
тАО01-31-2008 11:06 AM
Re: sar command to get the average percentage of total disk utilisation for the whole day
As I said in a previous post, collectl can provide you that information.
>>> Please let me know what need to be changed in the script also.
Please attach in a file the content of:
/etc/cron.d/sysstat
/etc/sysconfig/sysstat
/usr/lib
/usr/lib
/usr/lib