-   Linux - Software (
-   -   sar command option -H (

lensem 12-16-2008 02:56 PM

sar command option -H
We have some scripts that gather information and load them to a relational database on another server for history...

On our Red Hat Version 4 servers we use the -H option on the command line to produce the output formated for loading of this data...

On our Red Hat Version 5 servers we were trying to move these scripts over and noticed that the -H option is no longer available.....

Is there another was to do this that I am not seeing in the man pages ??

MensaWater 12-16-2008 03:53 PM

Interesting question.

The bottom of the man page for both RHEL4 and RHEL5 sar refers to: as a "SEE ALSO".

On going there to the faq at:
I found this one:


2.22. What happened to sar's options -h, -H, -x and -X?

These old options have been removed from sar because new commands have been made available. You should now use the sadf command instead of sar -h or sar -H, and the pidstat command instead of sar -x or sar -X. Please read their manual page to learn some more about their respective options.
In looking at "man sadf" on RHEL5 it appeared the "-d" option there does what the "-H" option of the RHEL4 sar did.

All times are GMT -5. The time now is 03:43 AM.