linux disk usage command-du $ man du NAME du - estimate file space usage SYNOPSIS du [OPTION]... [FILE]... du [OPTION]... --files0-from=F DESCRIPTION Summarize disk usage of each FILE, recursively for directorie
du(是 disk usage 的简称)用来显示目录或文件的大小,查找文件和目录的磁盘使用情况的命令。du 命令在与各种选项一起使用时能以多种格式提供结果。 使用方法 语法:du [-abcDhHklmsSx] [-L <符号连接>][-X <文件>][--block-size][--exclude=<目录或文件>] [--max-depth=<目录层数>][--help][--vers...
2、统计当前目录的大小,以直观方式展现 [linuxmi@linux:~/Linux迷] $ du -sh 查看当前目录总共占的容量,而不单独列出各子项占用的容量。 3、查看当前目录下所有一级子目录文件夹大小 并排序 [linuxmi@linux:~] $ sudo du -h --max-depth=1 |sort 4、以人性化的方式显示文件大小 [linuxmi@linux:~/Li...
You can use it to check the size of directories as well as disk utilization. The built in sorting feature makes it easier to use as you don't need to combine the sort command here. Gdu: Disk usage checking in Linux terminal Gduis a tool written in Go (hence the ‘g’ in gdu). G...
Check disk io usage per process with iotop command in Linux iotop is a Linux command that allows you to see the I/O usage of processes in real time. To use iotop, open the terminal and type sudo iotop. The output will show information about the currently running processes and their I/...
Many online tutorials recommend thedfcommand to use when checking for disk space usage on a Linux system. You can use this command to show disk usage and free disk space for a specific file system. Here’s an example of the output generated when running thedfcommand on an Ubuntu server. ...
For example, to see the disk usage figures in megabytes, you would use the following command. Note there is no space between the B and M. df -BM The-h(human readable) option instructsdfto use the most applicable unit for the size of each filesystem. In the next output note that th...
Thedu, or disk usage command, estimates file space usage in Linux. It provides detailed information about the disk space used by files and directories. The basic syntax of theducommand is: du [OPTIONS] [FILE/DIR] Here are some useful options you can apply: ...
Learn 10 Useful ‘du’ (Disk Usage) Commands in Linux Master the ‘Find’ Command with these 35 Practical Examples How to Find Biggest Files and Directories in Linux Run the following command to find out thetop biggest directoriesunder/homepartition. ...
In Free up space on your Linux system with this open source tool, I introduced Top Disk Consumer Report Generator (topdiskconsumer), an open source tool...