MPJD
asked on
More Information needed from UNIX "df" command
Hello,
I am trying to generate the report for companies management which can show -
1.file system
2. total space allocated
3. total free space
4. % of free space
5. used space
6. % of used space
the df -k command gives me the information about points - 1, 2 (I assume this is the total space allocated), 3 and 6. To get the information about points 4 and 5 which flags should I use or is there any other command that I can use to get the above information? Also df -k gives me the information about Iused and %Iused. Can you please explain me what is this?
I am not really a UNIX person and I need to generate this report for management meeting urgently. I will highly appreciate your help!
I am trying to generate the report for companies management which can show -
1.file system
2. total space allocated
3. total free space
4. % of free space
5. used space
6. % of used space
the df -k command gives me the information about points - 1, 2 (I assume this is the total space allocated), 3 and 6. To get the information about points 4 and 5 which flags should I use or is there any other command that I can use to get the above information? Also df -k gives me the information about Iused and %Iused. Can you please explain me what is this?
I am not really a UNIX person and I need to generate this report for management meeting urgently. I will highly appreciate your help!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
The Iused & %Iused are related to filesystem inodes. Inodes are information nodes which basically give information about files and directories created within the file system (each inode represents a file or a directory).
http://en.wikipedia.org/wiki/Inode
http://teaching.idallen.com/fasttrack/98/unix/inodes.htm
http://www.scit.wlv.ac.uk/~jphb/spos/notes/ufs.inode.html
The remaining can be calculated.