I just wanna know the output format (the order of columns) when running the command df -ki in an AIX system. I dont have access to an AIX system , and since it doesnt run on x86 machines , i cant try it out in a virtual machine either. Can someone with access to AIX reply with an ACTUAL OUTPUT OF RUNNING THE COMMAND IN AIX ?

I want to run this command as part of a script and parse the output for specific fields and hence need the output format .


It's from an old release, but anyway:

aixterm1:/u/grp/svenw> uname -a
AIX aixterm1 3 4 0006414D4C00

aixterm1:/u/grp/svenw> df -ki
Filesystem    1024-blocks      Free %Used    Iused %Iused Mounted on
/dev/hd4            81920     45012   46%     2716     7% /
/dev/hd2          1720320    108080   94%    42070    10% /usr
  • thanks for the answer sven . Can you also give the output of "df -k" ? – hari_sree May 22 '12 at 5:42
  • @theneoindian: The output is identical for df -k. – Sven May 22 '12 at 7:06

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.