Unix/Linux Go Back    

UNIX for Dummies Questions & Answers This forum is closed for new posts. Please post beginner questions to learn unix and learn linux in this forum UNIX for Beginners Questions & Answers

df -h

UNIX for Dummies Questions & Answers


 
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 02-22-2006
guile guile is offline
Registered User
 
Join Date: Feb 2006
Last Activity: 22 February 2006, 8:25 AM EST
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
MySQL 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 Linux
    #2  
Old Unix and Linux 02-22-2006
andryk's Unix or Linux Image
andryk andryk is offline Forum Advisor  
Registered User
 
Join Date: Sep 2003
Last Activity: 5 June 2008, 4:15 AM EDT
Posts: 448
Thanks: 0
Thanked 1 Time in 1 Post
Maybe the other working df is gnu Linux
Look for your 'AIX Toolbox for Linux Applications' cd set and install the appropriate fileset, let us know the outcome Linux
    #3  
Old Unix and Linux 02-22-2006
guile guile is offline
Registered User
 
Join Date: Feb 2006
Last Activity: 22 February 2006, 8:25 AM EST
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
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..
    #4  
Old Unix and Linux 02-22-2006
andryk's Unix or Linux Image
andryk andryk is offline Forum Advisor  
Registered User
 
Join Date: Sep 2003
Last Activity: 5 June 2008, 4:15 AM EDT
Posts: 448
Thanks: 0
Thanked 1 Time in 1 Post
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 Linux
    #5  
Old Unix and Linux 02-22-2006
ScatterBrain ScatterBrain is offline
Registered User
 
Join Date: Feb 2006
Last Activity: 5 February 2014, 6:14 PM EST
Posts: 61
Thanks: 0
Thanked 0 Times in 0 Posts
unfortunately, AIX doesn't offer the '-h' flag for the df command. Linux

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.
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes



All times are GMT -4. The time now is 01:09 AM.