- 浏览: 135075 次
- 性别:
- 来自: 成都
文章分类
最新评论
【基本介绍】
free - Display amount of free and used memory in the system.free是用来显示系统内存交换内存使用情况的命令。这里我们分析free的结果。
【命令参数】
一般使用free -m显示单位MB大小的使用情况
【结果分析】
第2行Mem: 内存总数是3955M,已经使用3712M,剩余242M , buffers459M cached2028M
内存总数=已经使用+剩余内存
从系统角度看内存的使用量
第3行-/+ buffers/cache: 已经使用1224M ,剩余2730M
从应用的角度看内存使用量
已经使用内存=应用使用内存+buffers+cached
3721 = 1224 + 459 + 2028
第4行Swap: 交换区
A buffer is something that has yet to be "written" to disk.
A cache is something that has been "read" from the disk and stored for later use.
【参考】
http://www.cnblogs.com/coldplayerest/archive/2010/02/20/1669949.html
free - Display amount of free and used memory in the system.free是用来显示系统内存交换内存使用情况的命令。这里我们分析free的结果。
【命令参数】
[root@xxx xxx]# free -h free: invalid option -- h 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
一般使用free -m显示单位MB大小的使用情况
[root@fantawebn004 nginxlog]# free -m total used free shared buffers cached Mem: 3955 3712 242 0 459 2028 -/+ buffers/cache: 1224 2730 Swap: 0 0 0
【结果分析】
第2行Mem: 内存总数是3955M,已经使用3712M,剩余242M , buffers459M cached2028M
内存总数=已经使用+剩余内存
从系统角度看内存的使用量
第3行-/+ buffers/cache: 已经使用1224M ,剩余2730M
从应用的角度看内存使用量
已经使用内存=应用使用内存+buffers+cached
3721 = 1224 + 459 + 2028
第4行Swap: 交换区
A buffer is something that has yet to be "written" to disk.
A cache is something that has been "read" from the disk and stored for later use.
【参考】
http://www.cnblogs.com/coldplayerest/archive/2010/02/20/1669949.html
发表评论
-
linux shell - 远端修改非root密码
2015-01-09 20:40 958【基本介绍】 通过远端修改普通用户密码,而passwd --s ... -
linux shell - broken pip error
2015-01-07 15:36 2667【基本介绍】 这里我们介绍发生broken pipe错误的原因 ... -
linux locate - find files by name
2014-12-17 17:46 563【基本介绍】 这里我们介绍locate命令,用来查找文件。 ... -
linux ssh - GSSAPIAuthentication
2014-12-10 14:58 2005【基本介绍】 最近公司搬家,发现合作伙伴的服务器的用ftp工具 ... -
linux tar - 压缩解压
2014-12-01 16:04 974【基本介绍】 今天遇到要添加文件到tar文件里面,所以在这里介 ... -
linux parameter substitution - 字符串/变量处理
2014-11-17 15:56 780【基本介绍】 这里我们介绍bash里面对字符串,变量等的替换等 ... -
linux netstat - status状态描述
2014-11-14 17:59 1116【基本介绍】 这里介绍netstat命令返回的结果status ... -
linux set - set variables and set positional parameters
2014-11-10 18:26 408【基本介绍】 set是shell的内置命令。可以用来设置修改变 ... -
linux nc - arbitrary TCP and UDP connections and listens
2014-10-31 17:46 760【基本介绍】 nc是可以打开任意端口的TCP/UDP连接和监听 ... -
linux 报错集 - Cannot retrieve metalink for repository: epel. Please verify its pat
2014-10-29 15:12 926【基本介绍】 运行yum报错Error: Cannot ret ... -
linux awk - awk tutorial
2014-10-21 10:47 459【基本介绍】 awk是一款强大的对文件内容进行处理的软件,可以 ... -
linux ps - processes
2014-10-20 14:17 1223【基本介绍】 ps - report a snapshot o ... -
linux lsof - list open files
2014-10-17 17:31 713【基本介绍】 lsof - list open files I ... -
linux - 网络连接状态
2014-10-13 11:00 1352【基本情况】 这里介绍 ... -
linux netstat - Print network connections, routing tables, interface statistics,
2014-10-13 10:37 980【基本介绍】 netstat - Print network ... -
linux vmstat - Report virtual memory statistics
2014-10-10 17:39 696【基本介绍】 vmstat - Report virtual ... -
linux yum - yum warning: rpmts_HdrFromFdno
2014-10-09 15:08 562【基本介绍】 在yum安装软件的时候有时候会报warning: ... -
Linux ip subnet mask - 网段分析
2014-09-24 19:22 1294【基本介绍】 网段的分析可以帮助我们查看两个局域地址是否可以互 ... -
linux curl - curl 上传下载
2014-09-19 11:45 2081【基本介绍】 curl is a tool to tra ... -
linux mkpasswd - 密码生成器
2014-09-18 17:18 1381【基本介绍】 作为linux admin要经常创建用户,并初始 ...
相关推荐
Linux VNC-Server-6.2.0-Linux-x64.rpm下载,64位版本
linux简介 官方 linux简介 官方 linux简介 官方
qtopia-free-src-2.2.0.tar.gz 开源嵌入式qt的源代码
qt-x11-free-3.0.1.tar.gz linux下的安装文件 QT安装在linux系统下 是学习QT的必须软件
qt-embedded-free-3.3.8b.tar.gz
It includes the GNU Compiler (GCC) and is available free of charge directly from Arm for embedded software development on Windows, Linux and Mac OS X operating systems. Follow the links on this page ...
Android-free-programming-books-zh_CN.zip,文员,安卓系统是谷歌在2008年设计和制造的。操作系统主要写在爪哇,C和C 的核心组件。它是在linux内核之上构建的,具有安全性优势。
解释一下Linux上free命令的输出。 下面是free的运行结果,一共有4行。为了方便说明,我加上了列号。这样可以把free的输出看成一个二维数组FO(Free Output)。例如: FO[2][1] = 24677460 FO[3][2] = 10321516 1 2 ...
Qtopia 是Trolltech 公司(现已被Digia收购)为采用嵌入式Linux 操作系统的消费电子设备而开发的综合应用平台, Qtopia包含完整的应用层、灵活的用户界面、窗口操作系统、应用程序启动程序以及开发框架。
Linus Toravlads_en文章a free Unix-386 kernel
离线安装包,亲测可用
很详细讲解bugfree在Linux安装及配置
CPLEX Ubuntu版可用 CPLEX Optimization Studio Free Edition V12.9 for Linux x86-64
SPI protocol driver for Qualcomm Atheros QCA7000 serial-to-... This driver has been merged in the mainline kernel since Linux 3.18 ( http://lxr.free-electrons.com/source/drivers/net/ethernet/qualcomm ).
免费代理 从获取免费代理 特征 ...Promise 和 async/await 支持 ES6 类支持 以中高速获取代理 非中国代理 打字稿打字 ...完成上述安装后,您的./node_modules目录中将有一个包free-proxy 。 进口 CommonJS
真是找的太辛苦了,于是拿上来分享,从官网下载的
Linux free命令 Linux free命令用于显示内存状态。 free指令会显示内存的使用情况,包括实体内存,虚拟的交换文件内存,共享内存区段,以及系统核心使用的缓冲区等。 语法free [-bkmotV][-s ] 参数说明: -b 以Byte...
解释linux中free之后显示的数据都是什么意思。
本篇文章主要介绍了linux free命令详解,小编觉得挺不错的,现在分享给大家,也给大家做个参考。一起跟随小编过来看看吧
最新稳定版本freeradius-server-2.2.0.tar.gz。更多详细开发信息可参考网站http://freeradius.org/。网站作者很好,有开发问题可以给他发邮件,不过要英文的,一般都会恢复。不过发邮件前最好先查看他们的邮箱列表,...