Did you know LQ has a Linux Hardware Compatibility List?
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 12-16-2008, 02:56 PM   #1
Registered: Apr 2008
Location: Orlando, Fl
Posts: 52

Rep: Reputation: 15
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 ??
Old 12-16-2008, 03:53 PM   #2
LQ Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,274
Blog Entries: 10

Rep: Reputation: 847Reputation: 847Reputation: 847Reputation: 847Reputation: 847Reputation: 847Reputation: 847
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
sar command maooah Solaris / OpenSolaris 16 08-12-2008 06:16 AM
mail command option sunethj Linux - Newbie 1 08-23-2007 08:27 PM
About -p Option Of Mkdir Command George2 Linux - Software 4 04-25-2006 07:33 AM
sar command rsuks Linux - General 2 03-25-2006 04:53 AM
monitoring I/O with sar command juanb Linux - Hardware 1 04-13-2005 12:43 PM

All times are GMT -5. The time now is 07:33 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration