View linux server Detailed information Linux free -m command

1. vmstat view server memory, CPU and other information

Typically is accomplished by two numeric parameters, the first parameter is the sampling interval, in seconds, the second parameter is the number of samples

image

r: represents the run queue, if the queue is too big Description CPU busy, usually resulting in high CPU usage

b: represents the number of blocked processes

swap: virtual memory size has been used, if greater than zero, indicating the machine's physical memory is not enough

free: free physical memory size

buff: system occupied by cache size (write cache)

cache: memory directly to our open files, to make the file buffer, read cache

si: read per second from disk into virtual memory size, if this value is greater than 0, indicating a shortage of physical memory

so: the size of virtual memory is written to disk per second, if this value is greater than 0, indicating a shortage of physical memory

us: user cpu time

sy: system CPU time, if the value is too high, indicating a system call, for example, frequent operation IO

id: CPU idle time, generally id + us + sy = 100

wt: IO wait CPU time

 

<div class="postTitle">
    

Linux free -m command Detailed

</div>
<div class="article-header-box">

 

The following display free memory is currently in use display, -m mean M bytes to display content. We take a look.
 

1
2
3
4
5
6
free  -m
 
              total       used        free      shared    buffers     cached
Mem:         1002        769        232          0         62        421
-/+ buffers /cache :        286        715
Swap:         1153          0       1153

The first part of the Mem line:
Total amount of memory: 1002M
amount of memory used already in use: 769m
as Free Number of free memory: 232M
Shared current has been abandoned, always 0
buffers Buffer number of cache memory: 62M
cached Page Cache amount of memory: 421M

Relationship: total (1002M) = used (769M) + free (232M)

ON. Posted 2019-09-09 17:29   duende99 read ( ... ) Comments ( ... ) edit collections

1. vmstat view server memory, CPU and other information

Typically is accomplished by two numeric parameters, the first parameter is the sampling interval, in seconds, the second parameter is the number of samples

image

r: represents the run queue, if the queue is too big Description CPU busy, usually resulting in high CPU usage

b: represents the number of blocked processes

swap: virtual memory size has been used, if greater than zero, indicating the machine's physical memory is not enough

free: free physical memory size

buff: system occupied by cache size (write cache)

cache: memory directly to our open files, to make the file buffer, read cache

si: read per second from disk into virtual memory size, if this value is greater than 0, indicating a shortage of physical memory

so: the size of virtual memory is written to disk per second, if this value is greater than 0, indicating a shortage of physical memory

us: user cpu time

sy: system CPU time, if the value is too high, indicating a system call, for example, frequent operation IO

id: CPU idle time, generally id + us + sy = 100

wt: IO wait CPU time

 

<div class="article-header-box">

 

Guess you like

Origin www.cnblogs.com/duende99/p/11493003.html