当我登录到我的Ubuntu 11.10框时,默认显示几个值。例如:
Welcome to Ubuntu 11.10 (GNU/Linux 3.0.0-17-virtual x86_64)
* Documentation: https://help.ubuntu.com/
System information as of Thu Apr 5 20:35:07 UTC 2012
System load: 0.01 Processes: 56
Usage of /: 15.5% of 7.87GB Users logged in: 0
Memory usage: 26% IP address for eth0: XX.XXX.XX.XXX
Swap usage: 0%
Graph this data and manage this system at https://landscape.canonical.com/
Get cloud support with Ubuntu Advantage Cloud Guest
http://www.ubuntu.com/business/services/cloud
我想知道如何计算“内存使用”值,因此我可以编写一个shell脚本来收集它并随时间绘制它。
谢谢!