swebvilla.blogg.se

Linux check disk health aix
Linux check disk health aix








  1. LINUX CHECK DISK HEALTH AIX HOW TO
  2. LINUX CHECK DISK HEALTH AIX DOWNLOAD

For instance, suppose you don't want to see the size or amount of disk used: $ df -h -output=source,avail,pcent,target If you want different output, you can customize the fields. The examples I've demonstrated so far have the same columns in the output. You can also run df on a specific mount point: $ df -h / Get disk space available on a specific mount If you want to omit all mount points except for the total, use grep alongside a regular expression with ^ to search for the total at the start of a line: $ df -h -total|grep ^total You can use this option when all mounted filesystems are on the same disk, whether physical or virtual: $ df -h -total To omit entries that aren't essential to available space and get a total, use the -total option. To show inode (or index node) use on each mounted filesystem, use -inodes ( -i for short): $ df -ihįilesystem Inodes IUsed IFree IUse% Mounted on If you want to run df in its human-readable format, use the -human-readable ( -h for short) option: $ df -hįilesystem Size Used Avail Use% Mounted on Lists of long numbers (as shown above) can be difficult to parse.

linux check disk health aix

Disk space is shown in 1K blocks by default: $ dfįilesystem 1K-blocks Used Available Use% Mounted on If you don't include a file name, the output shows the space available on all currently mounted filesystems. The df command primarily checks disk usage on a mounted filesystem. Like many Linux commands, df uses the following structure: df.

LINUX CHECK DISK HEALTH AIX HOW TO

This article discusses how to use the df command. You might also be interested in my article Make du's output more useful with this neat trick. The df command displays the amount of disk space available on the filesystem with each file name's argument.įor a good overview of the du command, read Tyler Carrigan's article Linux commands: du and the options you should be using.

linux check disk health aix

While du reports files' and directories' disk usage, df reports how much disk space your filesystem is using.

linux check disk health aix

Two related commands that every system administrator runs frequently are df and du.

  • How well do you know Linux? Take a quiz and get a badge.
  • Linux system administration skills assessment.
  • A guide to installing applications on Linux.
  • LINUX CHECK DISK HEALTH AIX DOWNLOAD

  • Download RHEL 9 at no charge through the Red Hat Developer program.









  • Linux check disk health aix