- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- converting sar output
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
07-24-2001 03:23 AM
07-24-2001 03:23 AM
0 * * * */usr/lib/sa/sa1 60 60
The ouput gets sent to /var/adm/sa/saXX as expected.
Can anyone give me a script/command to convert
the existing sa files that have been generated into a format that Excel can read ?
Cheers in advance
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2001 04:14 AM
07-24-2001 04:14 AM
Re: converting sar output
tr -s " " ","
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2001 04:56 AM
07-24-2001 04:56 AM
Re: converting sar output
If you want to visualize the data in excel, use "," as separator instead of "" and save the output file an file.csv
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2001 05:31 AM
07-24-2001 05:31 AM
SolutionI use the 'sar' command to extract the data from the /var/adm/sa/saxx files. Then I use the following awk command to convert them into .csv files, which are easily imported into MS Excel.
awk command:
awk '{for(i=1;i
If you want to take it a step further you can use perl scripts to import the .csv files and create graphs on the fly and other useful things with excel. I have written some basic perl scripts that use Win32::OLE to import the .csv files, create the graphs I'm after, create nice headers and save them off with the right time and date stamp. I use my workstation for the perl scripts as MS Excel needs to be installed locally for them to work. Shoot me an email if you'd like a copy of the scripts. Hope that helps.
- Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2001 06:19 AM
07-24-2001 06:19 AM
Re: converting sar output
There is nice tool at www.sarcheck.com which formats the results in a very nioce report , the software is freee for one month . I am attaching a sample report , may be you like it .
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2006 06:05 AM
05-02-2006 06:05 AM