- 论坛徽章:
- 0
|
请问用什么命令可以查看物理内存的占用情况?
我们一台机器买的是4G内存\r\n\r\n- \r\nbash-3.00# echo ::memstat | mdb -k\r\nPage Summary Pages MB %Tot\r\n------------ ---------------- ---------------- ----\r\nKernel 25879 202 7%\r\nAnon 265297 2072 68%\r\nExec and libs 6825 53 2%\r\nPage cache 46071 359 12%\r\nFree (cachelist) 34495 269 9%\r\nFree (freelist) 9844 76 3%\r\n\r\nTotal 388411 3034\r\nPhysical 382390 2987
复制代码 \r\n\r\n- \r\n============================ Memory Configuration ==================\r\nSegment Table:\r\n--------------------------------------------------------------------\r\nBase Address Size Interleave Factor Contains\r\n--------------------------------------------------------------------\r\n0x0 1GB 1 BankIDs 0\r\n0x1000000000 2GB 4 BankIDs 16,17,18,19\r\n\r\nBank Table:\r\n-----------------------------------------------------------\r\n Physical Location\r\nID ControllerID GroupID Size Interleave Way\r\n-----------------------------------------------------------\r\n0 0 0 1GB 0\r\n16 1 0 512MB 0,1,2,3\r\n17 1 1 512MB\r\n18 1 1 512MB\r\n19 1 0 512MB
复制代码 \r\n\r\n看现在看到的是3G, 晕了 :em12: 这可怎么办? |
|