Memory, disk space usage and overall space occupied by the directory status

A, free memory space usage status display
Free [the OPTION]
-m: in MB
-g: GB for
example: free -m

Two, df view the file system disk space usage
df [OPTION] ... [FILE] ...
-H 1,000 units
-T file system type
-h: Human-readable
-i: INSTEAD of inodes Blocks
-P: to Posix-compliant output format

Three, du overall view a directory space occupancy status
du [OPTION] ... DIR
-h: Human-readable (human readable)
-s: the Summary (Total Size)
--------------- ------
author: Gright_Lee
source: CSDN
original: https: //blog.csdn.net/Gright_Lee/article/details/92838987
copyright: This article is a blogger original article, reproduced, please attach Bowen link!

Guess you like

Origin www.cnblogs.com/Gright/p/11057797.html