df -h | Unix Linux Forums | UNIX for Dummies Questions & Answers

  Go Back    


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 !!

df -h

UNIX for Dummies Questions & Answers


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 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
Sponsored Links
    #2  
Old 02-22-2006
andryk's Avatar
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
Look for your 'AIX Toolbox for Linux Applications' cd set and install the appropriate fileset, let us know the outcome
Sponsored Links
    #3  
Old 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 02-22-2006
andryk's Avatar
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
Sponsored Links
    #5  
Old 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.

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.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes



All times are GMT -4. The time now is 08:21 AM.