查看linux的内存使用情况

2024-10-16 07:27:48

1、free工具的一些参数选项:[root@searu ~]# free --help free: i荏鱿胫协nvalid option -- - usage: free [-b|-k|-m|-g] [-l] [-o] [-t] [-s delay] [-c count] [-V] -b,-k,-m,-g show output in bytes, KB, MB, or GB -l show detailed low and high memory statistics -o use old format (no -/+buffers/cache line) -t display total for RAM + swap -s update every [delay] seconds -c update [count] times -V display version information and exit [root@searu ~]#

查看linux的内存使用情况

2、free:用于linux中查看当前系统内存的使用情况

查看linux的内存使用情况

3、free-b 显示输出为字节

查看linux的内存使用情况

4、free-l 显示详细的低和高内存统计

查看linux的内存使用情况

5、-s 指定一个时间(秒)来持续更新,-c 指定更新次数

查看linux的内存使用情况
猜你喜欢