Even though there are still two months before the Chinese New Year's Eve, the battle for ticket snatching has started. The tragedy is that I have not yet obtained the ticket. When I saw a number on a browser, I thought of a classic interview
from the device . Kilobytes. The amount of data sent out.Kb_wrtn: The total number of kilobytes written to the device . Kilobytes. The amount of data taken in.mb_read/s: The number of megabytes per second read from the device . Megabytes.MB_WRTN/S: The number of megabytes
kilobytes per second.kB_wrtn/s Indicate the amount of data written to the device expressed in kilobytes per second.kB_read The total number of kilobytes read.kB_wrtn The total number of kilobytes written.MB_read/s Indicate the amount of data read from the device expressed in
kilobytes per Second.kb_r EAD The total number of kilobytes Read.kb_wrtn the total number ofKilobytes written. mb_read/s indicate the amount of data read from the device expressed in megabytes per second. MB_WRTN/S indicate the amount of data written to the device expressed in megabytes per second. Mb_read the total n
parameter, but is calculated using 1000 Bytes as the conversion unit instead of 1024 Bytes;
-I or--inodes display the information of the inode;
-K or--kilobytes specifies a block size of 1024 bytes;
-L or--local only displays the file system on the local side;
-M or--megabytes specifies a block size of 1048576 bytes;
For example, use Df–h to view details of the current system's capacity and used space, fre
megabytes of swap space. The third line of output (Mem:) Displays physical memory. The total column does not show the physical memory used by the core (usually about 1MB). The Used column shows the total amount of memory used (the second row is not buffered). The free column shows all memory that is not in use. The shared column displays the total amount of memory shared by multiple processes. The Buffers column displays the current size of the disk
behalf of the system to the interface device.
CPU:CPU Information fields
US: Percentage of CPU time consumed by non-kernel processes
Sy: Percentage of CPU time consumed by kernel processes
ID: Percentage of idle CPU
WA: Percentage of CPU waiting for I/O consumption
ST: CPU accounted for by virtual machine
DMESG (important)To view kernel information:dmesgdmesg | grep CPUFree (important)To view memory usage status:free [-b|-k|-m|-g]
CPU usage. T is sorted by time/accumulated time. W writes the current settings to the ~/.TOPRC file. This is the recommended way to write top configuration files. (7) Last skill: Top command Tips 1. Enter uppercase P, the result is sorted by CPU consumption in descending order. 2. Enter capital M, and the results are sorted in descending order of memory consumption. 3. Press the number 1 to show the load of all CPU cores. 4, top-d 5 refresh every 5 seconds, default 1 seconds 5. Top-p 4360,4358
= parameters with-xmanagement (-xmanagement: class =, classpath =) You can specify a management class and its classpath. this option loads the class and causes its empty constructor to be called early in JVM startup. from the constructor, a new thread is then started, from which your management client is run.Bea jrockit Management Console-XMSSets the initial size of the heap. you shoshould set the initial heap size (-XMS) to the same size as the maximum heap size. this value can be specified in
megabytes of RAM and 512 MB of swap space. The third line of output (Mem:) shows physical memory. The total column does not show the physical memory used by the core (typically around 1MB). The Used column shows the total amount of memory being used (the second row does not count as buffering). The free column shows all unused memory. Shared columns show the total amount of memory shared by multiple processes. The Buffers column displays the current
write information in kilobytes (-K option)We can use the-K or-m option to specify that part of the output of the iostat is in kilobytes or megabytes instead of sector number1Linux # iostat-d-k2Linux2.6.16.60-0.21-SMP (Linux) ./ -/ A3 4Device:tps kb_read/s kb_wrtn/s Kb_read kb_wrtn5Sda0.55 4.46 18.12 3368543 136860966Sdb0.00 0.00 0.00 464 0In the output above, th
directory location of the previous level.Example: Skip to/usr/bin/:Cd/usr/binSkip to your home directory:CD ~Skip to the top two levels of the current directory:Cd.. /..cd– returns to the directory before entering the current directory
DF Use permissions: All users using: DF [Options] ... [FILE] ... Display the status of the file system, or look at the status of all archival systems (preset) -a,–all contains all 0 Blocks file systems –block-size={size} using the size of {size} Blocks -h
-client mode, at the expense of slightly longer startup times.-xms4g Sets the initial size (in bytes) of the heap. This value must is a multiple of 1024x768 and greater than 1 MB. Append the letter K or K to indicate kilobytes, m or m to indicate megabytes, g or G to indicate gigabytes.-xmx4g Specifies the maximum size (in bytes) of the memory allocation pool in bytes. This value must is a multiple of 1024x
is set to 8. The following example shows to set theEden/survivor spaces ratio to 4:
-xx:survivorratio=4 -xmssize
Sets The initial size (in bytes) of the heap. This value must is a multiple of 1024 and greater than 1 MB. Append the letter K or K to indicate kilobytes, m or m to indicate megabytes, g or G to indicate gigabytes.
The following examples show how to set the size of allocated memory to 6 MB using
;
-K or--kilobytes
The specified chunk size is 1024 bytes;
-L or--local
Only the local file system is displayed;
-M or--megabytes
The specified chunk size is 1048576 bytes;
--no-sync
Do not perform the sync instruction until the disk usage information is obtained, this is a preset value;
-P or--portability
Use the
as an end expression. It cannot be omitted.
1. Config command
The Config command is mainly used to modify the default settings of SSI. Where:
Errmsg: sets the default error message. To return user-defined error messages normally, the Errmsg parameter in the HTML file must be placed before other SSI commands; otherwise, the client can only display default error messages, instead of user-defined information.
Timefmt: defines the format of the date and time. The Timefmt parame
normally, the errmsg parameter in the HTML file must be placed before other SSI commands; otherwise, the client can only display default error messages, instead of user-defined information.
Timefmt: defines the format of the date and time. The timefmt parameter must be used before the echo command.
The result is as follows:
Wednesday, 10000l 12,200 0
Maybe the user is unfamiliar with % A % B % d in the previous example. Below we will summarize some of the commonly used Date and Time formats i
user who owns (and perhaps started) the process. PID: Process ID numberPPID: Parent process ID numberLWP: LWP (light weight process, or thread) ID of the lwp being reported. c: Integer value of the processor utilization percentage. (CPU usage) NLWP: Number of lwps (threads) in the process. (alias thcount ). PRI: Priority of the process. NI: Niceness level (whether the process tries to be nice by adjusting the priority by the number given; see below for details ). ADDR: Process Address space (no
parameter is set to zero by default and is indicated by the operating system scheduler. Set this parameter value to a reasonable value based on the size and load of the instance to ensure that the operating system does not request too much memory for the instance to avoid slowing down Windows performance.max server memorySpecifies the maximum amount of memory (in megabytes) that can be allocated when the instance starts and runs.Applications typicall
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.