DUTORY主页 [非官方|爱好者]

2009-6-7 17:31:58

Linux 查看内存使用率的命令

Posted by: TZH In: Dutory Tech - Dutory 科技

最近跟着VPS的技术在慢慢熟悉Linux系统要用到的一些常用命令,不过目前还没有计划要去学习博大精深的Linux,能抽出时间把PHP基本掌握就已经很不错了。

这个命令是用来查看内存使用率的,很有用:

一般形式:

free -m

以下是free命令的语法,你可以去尝试一下,都是和内存有关的:

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

Comment Form

Search

Flickr PhotoStream

    flickrRSS probably needs to be setup

About

« 2010年1月 »
     12
3456789
10111213141516
17181920212223
24252627282930
31      

Search

Statistics

文章:88篇
评论:8条 (4条Spam)
相册:1个 (20张图片)
主题:0remix主题