Essential Linux

System activity

df

df [-It] [-f] file-system

df shows the number of free blocks and free inodes of any mounted file system, directory or mounted resource. It is similar to the MS-DOS chkdsk command. It examines the data stored in the superblocks. The file system may be specified either by device name ( /dev/dsk/cldOs2) or by a direct directory name ( /usr). It uses the following options:

-1

Only report on local file systems.

-t

Causes the figures for total allocated blocks and inodes to be reported as well as the free blocks and inodes.

-f

An actual count of the blocks in the free list is made, rather than taking the figure from the superblock (free inodes are not reported). This option does not print any information about mounted remote resources and can take some time to execute.

If multiple remote resources are listed that reside on the same file system or a remote machine, each listing after the first one is marked with an asterisk.

$ df(dev/dsk/cldOsO):  35480 blocks 7785 i-nodes$ df -t(dev/dsk/cldOsO): 35480 blocks 7785 i-nodestotal: 74684 blocks 9328 i-nodes$ df -f(/dev/dsk/cldOsO): 35480 blocks$

du

du [ -sar ] [ names ]

du reports the number of blocks contained in all files and directories within the names argument. It recursively searches down all the directory paths. If names is not specified, the current directory is used. Files with two or more links are only counted once, providing the links...

UNLIMITED FREE
ACCESS
TO THE WORLD'S BEST IDEAS

SUBMIT
Already a GlobalSpec user? Log in.

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.

Customize Your GlobalSpec Experience

Category: DC Blocks
Finish!
Privacy Policy

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.