Read about linux view disk usage by directory, The latest news, videos, and discussion topics about linux view disk usage by directory from alibabacloud.com
Let's take a look at an example and write it yourself.
The first step is to find the newly added disk usage
FDISK-L lists all the disks. The more stupid way can also go to the/dev directory under LS, see the newly added disk name. If it's just a
1. Basic Disk Knowledge 1.1 Physical StructureThe physical structure of the hard disk is usually composed of the head and the disc, the motor, the main control chip and the line and so on, when the main motor drives the disc rotation, the auxiliary
Linux disk management commands and usage examples, linux disk command examplesLinux disk management
Linux disk management is directly related to the performance of the entire system.
Linux disk management commonly uses three commands: df, du, and
Feature Description: Displays the space and restrictions that the disk has used.Syntax: Quota [-quvv][user name ...] or quota [-gqvv][group name ...]Note: Execute the quota instruction to query disk space limits and know how much space has been used.
Linux disk partition details, linux disk partition
Installing Linux is the first threshold for beginners. In this process, the biggest confusion is to partition the hard disk. Although Linux of various Release versions already provides a friendly
Disk I/O monitoring is a very important part of unix/linux system management. It can monitor the throughput, the number of I/O per second, disk utilization, service time and other information, and when the exception is found, send alarm information
Function: Counts the size of the disk space that the directory (or file) occupies.
Syntax: du [options] [files or directories]
Parameters:
-S: Only the total number of blocks of data used for each names parameter is given.-A: Recursively displays
How to view machine configuration under Linux? cpu/Memory/HDDDmesgDisplays the boot information. The kernel will store the boot information in the ring buffer. If you are too late to view the information, you can use DMESG to view it. The boot
1 Concepts related to disk partitioning1.1 What is a diskThe disk is the computer's external memory device, the round magnetic disc is installed in a square sealed box, the purpose is to prevent the disk surface scratches, resulting in data loss.
DF View the total capacity of mounted disks, usage capacity, remaining capacity, etc., can not add any parameters, by default is displayed in K unitsDF Common parameters are –i-h-k–m, etc.-I display results using inodes-h display in the appropriate
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.