How can i know my Filesystem and its current usage in my
prod UNIX system?
Answers were Sorted based on User's Feedback
Answer / vengadesh
df -k can give you Filesystem usage.
bdf in case of HP-UX
| Is This Answer Correct ? | 27 Yes | 1 No |
Answer / arpita das
df -k will give the filesystem usage in kilobytes.
if you do df -a it will giv eth efile system usage as well
as the usage of its partitions also.You can check the
example also..
E.g:1--
bash-3.00$ df -k
Filesystem 1K-blocks Used Available Use%
Mounted on
/dev/sda1 50394964 8614616 39220392 19% /
none 1032140 158900 873240
16% /dev/shm
/dev/sda3 98403344 527484 92877236
1% /viewstore
E.g:2--
bash-3.00$ df -a
Filesystem 1K-blocks Used Available Use%
Mounted on
/dev/sda1 50394964 8614676 39220332 19% /
none 0 0 0 -
/proc
none 0 0 0 - /sys
none 0 0 0 -
/dev/pts
usbfs 0 0 0 -
/proc/bus/usb
none 1032140 158900 873240
16% /dev/shm
/dev/sda3 98403344 527484 92877236
1% /viewstore
none 0 0 0 -
/proc/sys/fs/binfmt_misc
sunrpc 0 0 0 -
/var/lib/nfs/rpc_pipefs
automount(pid5461) 0 0 0 - /net
automount(pid5538) 0 0 0 -
/home
nfsd 0 0 0 -
/proc/fs/nfsd
| Is This Answer Correct ? | 7 Yes | 0 No |
Answer / sreehari ck
df -h
this command also display ur filesystem size (used as well
as avilable in human readable format )
| Is This Answer Correct ? | 1 Yes | 0 No |
How to view the hidden files in /etc directory?
Can a process kill itself in UNIX/or in its various versions?
what is the advaantage of each user having its own copy of the shell?
What are grep patterns?
solaris Run level?
How to replace the exact word in vi editor?? suppose a file contains words like amaze,amazed,amazement in some of the line.But i want to replace only 'amaze' with delight but don't wanna replace amazed or amazement. thanks
6 Answers Polaris, Tech Mahindra,
How do I search for text in vi?
How to add content of one file into another file at the beginning
What is the comma to display different lines that are found when compare two files?
How to see unused port number in Solaris?
What is the difference between pipe (|) and tee command in unix
What Command will remove a Directory in UNIX?