Du commandToday look for development positioning problem, see he used this command to view files, before knowing DF, so today's daily series put this commandThe du command also looks at the space used, but unlike the DF command, the Linux du command is a view of the space used by the file and directory disks, or some difference from the DF command.Grammardu 【选项】【文件】Options-a或-all 显示目录中个别文件的大小。-b或-bytes 显示目录或文件大小时,以byte为单位。 -c或--total 除了显示个别目录或文件的大小外,同时也显示所有目录或文件的总和。 -k或--
Tags: Linux daily operation and maintenance management skills-monitoring system-likeLinux daily operation and maintenance management skills--monitoring system StatusFirst, check the disk status1.iostat–x Disk usage%util indicates io waits,2.iotop disk usage (dynamic display)Second,free to view memory usage1. The free command displays system usage and idle memory conditions, including physical memory, interactive area memory (swap), and kernel buffer memory. Shared memory will be ignoredCommand p
**du (disk usage), as the name implies, view the size of the directory/file footprint * *1. View the size of all directories and subdirectories in the current directoryDu-hDu-ah#-h: Using the human form of K, M and G to display#-a: Displaying directories and filesdu-h tmpDu-ah tmpsize of #只查看当前目录下的tmp目录 (including subdirectories)2. View the size of the current directory and its specified depth directorydu-h–-max-depth=0#-–max-depth=n: Drill down to the nth-level directory, set here to 0, which m
DF -H/du -hs./dugrep [[:d igit:]+]gdu [-ABCDHHKLMSSX] [-l Common parameters:-A or-all displays disk usage for each specified file, or displays the respective disk usage for each file in the directory.-B or-bytes displays the directory or file size, in bytes.-C or –total displays the sum of all directories or files in addition to the size of the directory or file.-D or –dereference-args displays the source file size for the specified symbolic connection.-H or –human-readable in k,m,g to improve t
, the following statement assigns the value 0x10 to the variable $a:PS c:\> $a =0x10ps c:\> $a 16If you want to assign an exponential value to a variable, you need to enter the root number, the letter "E", and a number that represents a multiple of 10. For example, to assign a power value of 3.1415 to a $a variable, enter:PS c:\> $a =3.1415e2ps c:\> $a 314.15You can also convert kilobytes (KB), megabytes (M
partition, Vmstat provides statistics on I/O resultsPs/pstreeSystem analysis of the most commonly used commands, PS provides a list of running processesThe Pstree command can display all process information in a tree-like structure, and can integrate child process informationSarThe SAR program is also part of the Sysstat installation package for mobile, reporting, and storage System information.SAR command three application compositionSAR: Used to display dataSA1/SA2: Used to collect and store
of the current CPU, IO, process, and memory usage, which, like the top command, automatically updates data, such as: $ vmstat 10(3) IostatThe Iostat command (included in the Sysstat package on ubuntu,red Hat/fedora) provides three reports: CPU utilization, device utilization, and network File system utilization, when run without any parameters, Iostat will display these three reports, using-c,- The D and-H parameters can display these three reports independently of each other.(4) FreeThe free c
, such as running users, executing commands, etc.).(2) VmstatThe Vmstat command provides a snapshot of the current CPU, IO, process, and memory usage, which, like the top command, automatically updates data, such as: $ vmstat 10(3) IostatThe Iostat command (included in the Sysstat package on ubuntu,red Hat/fedora) provides three reports: CPU utilization, device utilization, and network File system utilization, when run without any parameters, Iostat will display these three reports, using-c,- Th
Linux command is our basic skills to use and maintain the Linux operating system, when you master the basic command, you can efficiently and quickly complete the task, the following commands are the common commands summarized by themselves, mainly for their own review and summary, but also to share your love Linux operating system friends.The Free command displays the number of unused and used memory in the current system, and displays information such as memory buffers used by the kernel.Usage:
The Linux du command is used to display the size of a directory or file.syntax:du [OPTION] ... [FILE] ...Common options:-A or-all displays the size of individual files in the directory.-B or-bytes displays the directory or file size, in bytes.-C or--total displays the sum of all directories or files in addition to the size of individual directories or files.-D or--dereference-args displays the source file size for the specified symbolic connection.- h or--human-readable in k,m,g to improve the r
-9 #直接杀掉mysql的进程18. Shell commands related to system health:1. Linux Real-time monitoring Command (watch):watch-d-N 1 ' who ' #每隔一秒执行一次who命令 to monitor the status of current user logins on the server-D indicates where the highlight has changed-N indicates how many seconds the interval executes "command"Watch can run multiple commands at the same time, separated by semicolonswatch-d-N 1 ' df-h; Ls-l 'Monitor the usage of the disk, and the status of the files in the current directory, including th
, and the use of swap space does not mark the occurrence of a memory bottleneck. Parameters useful for the free command:The references-b,-k,-m and-G respectively follow bytes, kilobytes, megabytes, gigabytes display results.-l difference shows low and high memory-c {count} shows the number of free outputsNine, PmapThe PMAP command shows the amount of memory used by one or more processes, and you can use thi
pointer-like approach to managing disk space mapping. This is also a more critical application.
Du command ExampleCommands in Linux are du also viewed using space, df unlike commands, where the Linux du command is a view of the space used by the file and directory disks, so it df differs from the command.1. Command Formatdu [选项][文件]Shell2. Command functionDisplays the disk usage space for each file and directory.3. Command Parameters
-aOr -all displays the size of individual files in t
Tags: fdisk-l delete local disk cannot target sector indicates disk capacity changeBasic Command 1.1 View disk partition usage: DFParameters:
L: Show only local disks (default)
A: Displays disk usage for all file systems, including, for example,/proc/
H: The most appropriate unit to display the disk capacity in 1024 binary
H: The most suitable unit to display the disk capacity in 1000 binary, generally used for industrial computing
T: Shows the type
0 0 0 0 9501 2154 1 0 0 032 0 0 200889568 73712 591856 0 0 0 11900 2459 0 0 0 032 0 0 200890208 73712 591860 0 0 0 0 15898 4840 98 1 1 0 0^cVmstat (8) command, each row output some system core indicators, these indicators can let us understand the system state in more detail. The following parameter, 1, indicates that the statistics are output once per second, and the header hints at the meaning of each column, which describes some o
of query files
-V: Displays the version information after the standard output and exits
-Z: Probing compressed file types
-L: Allow Symbolic links
-B: The file name is not displayed when the distinguished result is listed
-C: Verbose display of command execution procedures to facilitate troubleshooting or analysis of program execution
-I: Show MIME type
-f
Note: What is a MIME type
A MIME type is a type of file that sets an extension that is opened by an
DF (disk free)function Description:displays information about the disk. Syntax:DF [-ahhiklmpt][--block-size=Additional notes:DF Displays the disk's file system and usage scenarios. Parameters:-A or--all contains all file systems. --block-size=-H or--human-readable displays information in a more readable way. -H or--si is the same as the-h parameter, but is calculated as Bytes instead of the Bytes. -I or--inodes displays the inode information. -K or--kilobyte
specified directory and all its subdirectories, sub-Files-V: Show detailed processing informationFor example:Chown mail:mail Log1.log: Change the owner of the Log1.log and the owning group as mailChown:mail Log1.log: Change Log1.log's file group to mailChown-r-V root:mail test6: Change the owner of the Test6 folder and all files/folders under root, group mail, display processing information when modifiedDfDisplays the available space for the specified disk file, and if you do not specify a file
The realm of writing programs using the Java language for Palm OS is not completely unified, and there are a number of differences, and there are several different application interfaces available on the market, each of which provides varying degrees of access to the current Palm OS application. Perhaps the most familiar of these are the products produced by Sun Microsystems, but this is not the only product that can write programs for Palm OS.
One, Sun solution: KVM, Configuration and profile
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.