内存管理

Kevin2li小于 1 分钟Linux

内存管理

  • free
# Display system memory:
free

# Display memory in Bytes/KB/MB/GB:
free -b|k|m|g

# Display memory in human-readable units:
free -h

# Refresh the output every 2 seconds:
free -s 2

虚拟内存设置

  • swapon

参考:https://blog.kevin2li.top/post/25open in new window