- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Linux sysstat and sar
Operating System - Linux
1819928
Members
3055
Online
109607
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО08-17-2006 02:51 AM
тАО08-17-2006 02:51 AM
Linux sysstat and sar
As a newbie to Linux, I am already sick and tired of getting things to work in RHEL 4 rel 2. The latest fairytale is getting sadf and sar to work.
How on the GOD's green earth can you explain this ? or what am I missing ?
1)
# rpm -qa | grep -i sysstat
sysstat-5.0.5-1
# /usr/lib/sa/sadc 1 10 /tmp/sar_test
# sar -f /tmp/sar_test
Linux 2.6.9-22.ELsmp (qste5500) 08/17/2006
#
2) and this
# rpm -qa | grep -i sysstat
sysstat-7.0.0-1
#
# sar -f sar_file_created_with_sysstat5.x
Invalid system activity file: sar_file_created_with_sysstat5.x
#
TIA
Sundar.
Learn What to do ,How to do and more importantly When to do ?
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-17-2006 03:06 AM
тАО08-17-2006 03:06 AM
Re: Linux sysstat and sar
Easy upgrade is not the best word to describe components upgrades in Linux. Binary compatible is not also.
As the error indicates, it looks that the new version of the sysstat package is not compatible with older versions, and you cannot read the old files.
See the FAQ here:
http://perso.orange.fr/sebastien.godard/faq.html#sar
The sar command complains with the following message:
Invalid system activity file: ...
The format of the daily data files created by the sar command you are now using is not compatible with the format of the files created by a previous version of sar.
The solution is easy: just log in as root and remove by hand all the files located in the /var/log/sa directory:
# rm /var/log/sa/sa??
As the error indicates, it looks that the new version of the sysstat package is not compatible with older versions, and you cannot read the old files.
See the FAQ here:
http://perso.orange.fr/sebastien.godard/faq.html#sar
The sar command complains with the following message:
Invalid system activity file: ...
The format of the daily data files created by the sar command you are now using is not compatible with the format of the files created by a previous version of sar.
The solution is easy: just log in as root and remove by hand all the files located in the /var/log/sa directory:
# rm /var/log/sa/sa??
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-17-2006 03:22 AM
тАО08-17-2006 03:22 AM
Re: Linux sysstat and sar
Shalom,
You may update the systems statistics package from Red Hat.
SEP
You may update the systems statistics package from Red Hat.
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
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP