df -h


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers df -h
# 1  
Old 02-22-2006
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 Smilie
# 2  
Old 02-22-2006
Maybe the other working df is gnu Smilie
Look for your 'AIX Toolbox for Linux Applications' cd set and install the appropriate fileset, let us know the outcome Smilie
# 3  
Old 02-22-2006
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
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 Smilie
# 5  
Old 02-22-2006
unfortunately, AIX doesn't offer the '-h' flag for the df command. Smilie

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.
 
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question