How can i know my Filesystem and its current usage in my
prod UNIX system?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the command to view process running?

566


How does shebang work?

582


What does pipe () return?

583


How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?

752


What is the difference between grep and grep?

561






When i run a programm of orphan process. Instead of getting child's parent (ppid)=1 ..i get 1400 and it varies as per system. How can i findthe right soluion??? My pgm: #include # include int main() { int pid; pid=fork(); if(pid < 0) {exit(-1);} else if(pid==0) { printf("Child Process is Sleeping ..."); sleep(10); printf("Orphan Child's Parent ID : %u ",getppid()); } else { printf("Parent Process Completed ... %u ",getpid()); exit(0); } return 0; } Output:

1749


What is sed awk grep?

598


What do chmod, chown, chgrp commands do?

624


How do you grep recursively?

545


What is time_t?

578


What does awk stand for?

601


What is the command to find hidden files in the current directory?

570


How do I clear my terminal history?

573


What is grep command in unix with examples?

604


Is ‘du’ a command? If so, what is its use?

623