The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 02-22-2006
Registered User
 

Join Date: Feb 2006
Posts: 2
Thumbs up df -h

Hi,

I know there is a human readable mode of the 'df' command also known as 'df -h'. When I run that switch on most AIX boxes it doesn't work. My workplace currently has 10 AIX servers in which 2 can run df -h, but even a 'df' man page on those 2 boxes doesn't show any -h switch.

What is allowing these boxes to run the -h and not the others? How do I get them all to do so?

Regards,
Gui
Reply With Quote
Forum Sponsor
  #2  
Old 02-22-2006
andryk's Avatar
Registered User
 

Join Date: Sep 2003
Posts: 448
Maybe the other working df is gnu
Look for your 'AIX Toolbox for Linux Applications' cd set and install the appropriate fileset, let us know the outcome
Reply With Quote
  #3  
Old 02-22-2006
Registered User
 

Join Date: Feb 2006
Posts: 2
gnu?

I don't even know what that is and we have no Linux boxes. I'm trying to figure out AIX so I can just get by..
Reply With Quote
  #4  
Old 02-22-2006
andryk's Avatar
Registered User
 

Join Date: Sep 2003
Posts: 448
Try this out if you're on 5.2 or just browse this cool site .
For you to use that file, You must install the rpm package which is located on your 'AIX Toolbox for Linux Applications' which comes with your AiX cd sets
Reply With Quote
  #5  
Old 02-22-2006
Registered User
 

Join Date: Feb 2006
Posts: 61
unfortunately, AIX doesn't offer the '-h' flag for the df command.

if you want the output more readable in terms of megabytes or gigabytes (and if you're using a recent version of AIX... i think 5.2 or later)... try the 'df -m' or 'df -g' commands. '-m' will list the output in megabytes and '-g' will list in gigabytes. unfortnutely, i don't think there's a way to combine it like how '-h' would.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 12:20 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0