By default, thedu command showsthe disk space used by the directory or file`. To findthe apparent size of a directory, use the--apparent-size option. The “apparent size” of a file ishow much data is actually...
du的功能: dureports the amount of disk space used by the specified files and for each subdirectory (of directory arguments). with no arguments,dureports the disk space for the current directory。 很明显,与df不同,它用来查看文件或目录所占用的磁盘空间的大小 du常用的选项: -h:以人类可读的方式显...
[options] | <directory> Options: -a, --all unmount all filesystems -A, --all-targets unmount all mountpoins for the given device in the current namespace -c, --no-canonicalize don't canonicalize paths -d, --detach-loop if mounted loop device, also free this loop device --fake dr...
Method 2: Check Disk Space via the du Command Theducommand displays disk usage for individual directories in Linux. Use it to display the amount of space used by the current directory: du Like thedfcommand,ducan be human-readable: du -h It prints the current directory contents and how much...
目录树(directory tree)的名字就是由图2-1中分枝的形状得来的。示例图一般画成分枝在下,树根(在这里是名为website的目录)在上,所以叫做倒置树(inverted tree)目录结构。Linux使用一个目录树编排所有的文件和目录。所有的文件和目录都在根目录(root directory)的目录下面,这个目录名为“/”(读作“斜线”)。图2...
362424 Total directory bytes: 550912 Path table size(bytes): 112 Done with: The File(s) Block(s) 1970847 Writing: Ending Padblock Start Block 1971336 Done with: Ending Padblock Block(s) 150 Max brk space used 348000 1971486 extents written (3850 MB) Inserting md5sum into iso image... md...
As the disk space is shown in 1K blocks by default, users can use “-h” command parameter to show the file system disk space usage data in “human readable” format. df -h Example-4: Use the command parameters -hT to display the info about the /home file system: ...
2.19.2 The /usr Directory(/usr目录) The /usr directory may look relatively clean at first glance, but a quick look at /usr/bin and /usr/lib reveals that there’s a lot here; /usr is where most of the user-space programs and data reside. In addition to /usr/bin, /usr/sbin, and...
You’ll see the basic workings of how the kernel sends a message to a user-space process through udev, as well as what the process does with it. 当系统接收到新设备时,了解内核与用户空间的交互方式非常重要。 udev系统使得用户空间程序能够自动配置和使用新设备。 您将会了解到内核如何通过udev向...
UsedSwapswap usedIn-use swap space (MiB) PercentUsedSwapswap percent usedIn-use swap space as a percentage of the total swap This class of metrics has only one instance. The"condition"attribute has no useful settings and should be omitted. ...