LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   sar command option -H (http://www.linuxquestions.org/questions/linux-software-2/sar-command-option-h-691019/)

lensem 12-16-2008 01: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 02:53 PM

Interesting question.

The bottom of the man page for both RHEL4 and RHEL5 sar refers to:
http://pagesperso-orange.fr/sebastien.godard as a "SEE ALSO".

On going there to the faq at:
http://pagesperso-orange.fr/sebastien.godard/faq.html
I found this one:

Quote:

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 07:51 PM.