- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Sar Utility
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
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
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
05-04-2005 05:47 AM
05-04-2005 05:47 AM
I am running RHAS 3.0 64-bits and my server is missing 'sar' utility. Would someone please direct me to where I can download this rpm file for my server?
Thank you in advance.
Ian
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2005 08:40 AM
05-04-2005 08:40 AM
Solutionsysstat-5.0.5-5.rhel3.src.rpm
http://linuxsoft.cern.ch/repository/ia64updates/sysstat-5.0.5-5.rhel3.ia64.html
But you can search for another hardware archeture, if it's not good enough.
It's src rpm, so you'll have to build rpom from it, this is how you do it:
rpmbuild --rebuild
and then, install it:
rpm -Uvh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2005 05:52 PM
05-04-2005 05:52 PM
Re: Sar Utility
this utility is part of sysstat rpm. it should be available in first or second cd of your RH cd set.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2005 11:45 PM
05-04-2005 11:45 PM
Re: Sar Utility
You need the foll rpm to use sar
ftp://fr2.rpmfind.net/linux/redhat/updates/9/en/os/i386/sysstat-4.0.7-4.rhl9.1.i386.rpm
Rgds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2005 11:48 PM
05-04-2005 11:48 PM
Re: Sar Utility
why to install old rpm for rh9.1?
There is a new version for redhat enterprise .....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2005 01:42 AM
05-05-2005 01:42 AM
Re: Sar Utility
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2005 03:00 AM
05-05-2005 03:00 AM
Re: Sar Utility
Thank you in advance.
Ian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2005 03:58 AM
05-05-2005 03:58 AM
Re: Sar Utility
sar bla bla bla >> /tmp/sar.log
That's it.
(Btw, you can also assign some points to the ppl that helped you!)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2005 07:44 AM
05-05-2005 07:44 AM
Re: Sar Utility
Thanks so much!!
Ian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2005 07:52 AM
05-05-2005 07:52 AM
Re: Sar Utility
output_file="/tmp/blalba.log"
now_date=`date`
echo "============ $now_date ===========" >> $output_file
sar bla bla bla >> $output_file
echo "==================================" >> $output_file
So, you'll see in the file somthing like this:
============= 20/5/2005 14:35:23 ===========
bla bla bla
============================================
============= 20/5/2005 14:50:23 ===========
bla bla bla
============================================
and so on ....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2005 09:24 AM
05-05-2005 09:24 AM
Re: Sar Utility
I am getting an EOF error after I tried running the script. Any ideas?
Thanks,
Ian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2005 09:33 AM
05-05-2005 09:33 AM
Re: Sar Utility
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2005 11:32 AM
05-05-2005 11:32 AM
Re: Sar Utility
./perfmon_stats: line 13: unexpected EOF while looking for matching `"'
./perfmon_stats: line 17: syntax error: unexpected end of file
Script:
# !/bin/bash
. $HOME/.bash_profile
#############################################
clear
output_file="/tmp/perfmon.log
now_date=`date`
echo " "
echo "--------------------------- $now_date -------------------------" >> $output_file
sar -b >> $output_file
EOF
exit
Thanks,
Ian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2005 04:58 PM
05-05-2005 04:58 PM
Re: Sar Utility
Don't worry...I got it to work. Hopefully, I can setup the cron tab to run every 15 minutes or so.
Thanks,
Ian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2005 08:11 PM
05-05-2005 08:11 PM
Re: Sar Utility
0 7-16 * * 1-5 /usr/lib/sa/sa1 300 12 &
This will collect all sar-data into daily files in /var/log/sa-directory. Then you can later get some historical data using
sar [ options... ] -f /var/log/sa/saxx.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2005 08:52 PM
05-05-2005 08:52 PM
Re: Sar Utility
the problem is variable declaration of $output_file, double quote is not closed
to make it run every 15 mins all through the year, following is the crontab entry
*/15 * * * * performance_script
Hope this helps,
Gopi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2005 04:52 AM
05-06-2005 04:52 AM
Re: Sar Utility
*,5 * * * * /home/admin/sysmon/perfmon_stat root 1>/dev/null 2>&1
*,5 * * * * /home/admin/sysmon/
perfmon_stat_2 root 1>/dev/null 2>&1
However, it's executing every 1 minute - What
s with that?? Help!!
Thanks,
Ian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2005 09:02 AM
05-06-2005 09:02 AM
Re: Sar Utility
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2005 04:27 PM
05-06-2005 04:27 PM
Re: Sar Utility
Thanks everyone!
Ian