for Linux inside the free command to do a summary, well, in fact, the real reason is the recent interview repeatedly asked, and I know that is not very clear 650) this.width=650; "Src=" http://img.baidu.com/hi/ Jx2/j_0009.gif "alt=" J_0009.gif "/>The free instruction shows memory usage, including physical memory, virtual swap file memory, shared memory segments, and buffers used by the system core. First, free--help to view the optional parameters of the free command:Usage:free[options]options
[Root@li411-50 ~]#In the above argument:/dev/xvda is the hard drive occupancy
And Tmpfs is the virtual space.
Sample
In the following example, DF displays information about all the file systems that are already mounted on the local system:www.111cn.net@linux:~$ DFFileSystem 1k-blocks Used Available use% mounted on/dev/sda6 284234328 21624120 248148820 9%/None 4 0 4 0%/sys/fs/cgroupUdev 1944100 4 1944096 1%/devTmpfs 390968 1184 389784 1%/runNone 5120 0 5120 0%/run/lockNone 1954836 22956 193188
,g is in 1000 as the conversion unit instead of 1024.
-K or –kilobytes in 1024 bytes.
-L or –count-links a file that calculates hardware connections repeatedly.
The source file size for the symbol connection specified in the-l
-M or –megabytes is in 1MB.
-S or –summarize displays only totals, that is, the current directory size.
When-S or –separate-dirs displays the size of each directory, it does not conta
,m,g is in 1000 as the conversion unit instead of 1024.
-K or –kilobytes in 1024 bytes.
-L or –count-links a file that repeatedly calculates hardware connections.
The source file size for the symbol connection specified in the-l-M or –megabytes is in 1MB.
-S or –summarize displays only totals, that is, the current folder size.
When-S or –separate-dirs displays the size of each folder, it does not contain th
megabytes, 67 intervals, and another 430 trillion, 57 intervals, which seriously affect the performance of the system. Don't bother with a table that is less than a mega-level.
Usually, a dbspace has multiple chunk, which can be seen with onstat-d. However, not all chunk are reasonably distributed, often some chunk are not used at all (since the initial creation of the database will generally allocate ample space), and some of the chunk is overcrowd
megabytes, 67 intervals, and another 430 trillion, 57 intervals, which seriously affect the performance of the system. Don't bother with a table that is less than a mega-level.
Usually, a dbspace has multiple chunk, which can be seen with onstat-d. However, not all chunk are reasonably distributed, often some chunk are not used at all (since the initial creation of the database will generally allocate ample space), and some of the chunk is overcrowd
Tags: dep ILO class ROM count links improve directly the samedu [-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 –hu
utilization, which lists the CPU consumed by each process as a percentage. You can see information such as user processes, system processes, iowait, and idle time.The second report is about device usage, shows each device installed on that host, and some useful information, such as the number of transmissions per second, data block reads and writes, and allows you to mark devices with performance problems. You can display statistics in kilobytes or
This section of the content is a little miscellaneous, you can only manually enter theThe 1.uname command is used to print information about the current system (kernel version number, hardware architecture, host name, operating system type, and so on).Uname-a Show All information2.cat/etc/redhat-releaseView current system version3.free-m/GView memory usage (in megabytes and gigabytes)The information displayed is from/proc/meminfoThe Free command provi
the total swap area total memory, used, and idle memory. The swap area is the virtual memory created on the HDD to increase the virtual memory size. So here's the question:What is the difference between a buffer and a cache?Buffers are places where data is temporarily stored for a particular application, and the data cannot be used by other applications. This is quite similar to the concept of bandwidth. When you try to transmit bursty data over the network, if your network card can only send a
Du command
Disk Management
The du command also looks at the usage space, but unlike the DF command, the Linux du command is a view of the space used by files and directory disks, or there are some differences from the DF command.
Grammar
du [Options] [file]
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
Now, we use the Java language to write for the Palm OS Program The fields are not completely unified, and there are also many differences. Currently, there are several available application interfaces on the market, each application interface provides different access permissions to the current Palm OS application. Perhaps everyone is most familiar with Sun Microsystems, but it is not the only product that can write programs for Palm OS. This part of this article is not a tutorial on writing a p
Introduction to solutions for writing Palm OS programs in Java
At present, the fields of programming for Palm OS using Java language are not completely unified, and there are also many differences. Currently, there are several available application interfaces on the market, each application interface provides different access permissions to the current Palm OS application. Perhaps everyone is most familiar with Sun Microsystems, but it is not the only product that can write programs for Palm OS.
units display disk capacity;④-h//In 1000 binary calculation of the most appropriate units display disk capacity;⑤-T//display disk partition type;⑥-T//Display the disk partition of the file system of the specified type;⑦-x//does not display disk partitions for the specified type of file system;The file size on the DU//statistics disk, default in kilobytes;①-b//In Byte (bytes) for the statistical file;②-k//In kilob
HDD to increase the virtual memory size. So here's the question:What is the difference between a buffer and a cache?Buffers are places where data is temporarily stored for a particular application, and the data cannot be used by other applications. This is quite similar to the concept of bandwidth. When you try to transmit bursty data over the network, if your network card can only send a small amount of data, it can put such a large amount of data in the buffer, so that it can be accepted by t
Total used free shared buffers Cached
Mem: 1046147072 934420480 111726592 0 123256832 671281152
-/+ buffers/cache: 139882496 906264576
Swap: 4294959104 0 4294959104
3. Display memory in kilobytesAdd the- k parameter to the free command (the default unit, so you can use it without it ), to display the memory size in kilobytes (KB).
# free-k
Total used free shared buffers Cached
Mem: 1021628 912520 10910
command we're going to talk about is iostat. The Iostat command (which is provided by the Sysstat package in Ubuntu, Red Hat, and Fedora Systems) provides three reports: CPU utilization, device utilization, and network file system utilization. If you run the command without any parameters, it will show all three reports, and you can display one of them individually by adding parameters-C,-D, and-H.In the above figure you can see two of them, the first of which is CPU utilization, which lists th
the specified folderDu TEST/4 test/test18 test/Command 3 shows only the size of the folder sumDu-s TEST/8 test/Command 4 displays each file and calculates the sumDu-c TEST/4 test/test18 TEST/8 TotalCommand 5 where parameter-B is displayed in bytes,-K is displayed in kilobytes,-M is displayed in megabytes,-H is displayed in the most appropriate units, and-H is the most appropriate unit to display in 1000. -
The Linux du command also looks at the usage space, but unlike the DF command, the Linux du command is a view of the space used by files and directory disks, or some difference from the DF command.
1. Command format:
du [Options] [file]
2. Command function:
Displays the disk usage space for each file and directory.
3. Command parameters:
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
values listed are output in bytes, with the default Kbytes-C: Last add total-K: Output in kilobytes-m: Output in megabytes-S: Only sums are listed-H: The system automatically adjusts the unit, for example, the file is too small may be a few k, then the unit is displayed in K, if large to a few grams, it is displayed in G units. I am accustomed to using du–sh filename in this form." partitioning and formatt
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.