LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 12-16-2008, 01:56 PM   #1
lensem
Member
 
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, 02:53 PM   #2
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,009
Blog Entries: 5

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


Reply


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 05:16 AM
mail command option sunethj Linux - Newbie 1 08-23-2007 07:27 PM
About -p Option Of Mkdir Command George2 Linux - Software 4 04-25-2006 06:33 AM
sar command rsuks Linux - General 2 03-25-2006 03:53 AM
monitoring I/O with sar command juanb Linux - Hardware 1 04-13-2005 11:43 AM


All times are GMT -5. The time now is 07:47 AM.

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