From xentop, we can see that CPU %, Mem %, network, I/O..., etc.
However, for domu disks, such:
How much inode is used, how much space is left, whether it is full, and whether the customer should be notified to upgrade the xen Hard Disk
These
Judging the disk usage of DomU under Xen Dom0 is roughly known from xentop: CPU %, MEM %, network, I/O... but for the use of DomU disks, such as: how much inode is used, how much space is left, whether the flash is full or whether the customer
#include #include#includestring.h>#include#ifnndef win32#include#include#endif#defineDefault_disk_path "/work"typedefstructStatfs disk,*Pdisk;//Gets the structure that contains disk space informationBOOLGetdiskinfo (Pdisk DiskInfo,Const Char*path) {
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
Enter top when using, enter Q when exitingHttp://www.cnblogs.com/ggjucheng/archive/2012/01/08/2316399.htmlIntroductionThe top command is a common performance analysis tool under Linux that shows the resource usage of individual processes in the
Resolve issues such as AWS mounting, resolving hangs, and disappearingThere is a difference between a disk on Linux and a window, which must be mounted on a directory, otherwise uselessThe actions on the new hard disk, SSD, and Mount to Linux are as
Command: du usage Linux folder size Du-Sh./view the current directory size Du-sh * view the folder size DU in the current directory command
Purpose
This topic describes how to use a disk.
Syntax
Du [-A |-S] [-K] [-M] [-G] [-L] [-R] [-X] [-H |-L]
Command: Du usage linux folder size
du-sh./view current directory size
du-sh * View folder size in current directory
du command
Use
Overview disk usage.
Grammar
Du [a | s] [k] [M] [-g] [-l] [-r] [-X] [-H | l] [File ...]
Description
The du
Document directory
Purpose
Syntax
Description
Flag
Exit status
Example
File
Related information
Original log: http://blog.sohu.com/people! A2vmyw5sb3zlexvuaw5nqhnvahuuy29t/159962486.html
Du-sh * command to view the folder size DU in the
Du-sh * command to view the folder size DU in the current directory
Purpose
This topic describes how to use a disk.
Syntax
Du [-A |-S] [-K] [-M] [-G] [-L] [-R] [-x] [-H |-L] [file...]
Description
The du command shows the number of blocks used for
Document directory
From javaeye
From javaeye statistics total size
Du-SH xmldb/
Du-Sm * | sort-N // count the current directory size and sort the directory size.
Du-SK * | sort-n
Du-SK * | grep guojf // view the size of a person
Du-M | cut-d "/"-
Generally, Unix administrators have a set of common tools, techniques, and systems for assisting process management. This article provides a variety of key utilities, command line chains, and scripts used to simplify each process. Some of these
8.1 count disk usage
1. Disk Space is a limited resource.
2 df and du are important commands used in Linux to measure disk usage. df is short for disk free and du is short for disk usage.
3. Find the disk space occupied by a file (or multiple files):
first, the purposeThis article describes the use of the Disk Management tool df and Du.The DF tool is used to view the disk usage of each partition in the system, and the Du tool is used to view the size of each directory in the file system. For
Source: Computer newspaperThe hardware firewall is an important barrier to ensure internal network security. Its security and stability are directly related to the security of the entire internal network. Therefore, routine inspection is very
I just wrote a script to monitor system resources. You can study it.You can change the value of the front edge to the value you want to monitor,The variables before the execution of the monitoring script set the monitoring information and modify the
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.