12.04的版本说shared是过时的东西?
1.
http://manpages.ubuntu.com/manpages/pre ... ree.1.html
The shared memory column should be ignored; it is obsolete.
obsolete
廢棄不用的
(設計、樣式等) 舊式的
『生物』退化的; 發育不完全的
2. The shared memory column ...
2-1.
http://manpages.ubuntu.com/manpages/pre ... ree.1.html
free displays the total amount of free and used physical and swap memory in the system, as well as the buffers used by the kernel.
The shared memory column should be ignored; it is obsolete.
2-2.
http://manpages.ubuntu.com/manpages/tru ... ree.1.html
free displays the total amount of free and used physical and swap memory in the system, as well as the buffers used by the kernel.
The shared memory column represents either the MemShared value (2.4 series kernels) or the Shmem value (2.6 series kernels and later) taken from the /proc/meminfo file.
2-3. 意思是 Ubuntu 14.04 的 The shared memory column 被賦予新意義或新功能了
但我没有思考出这个值非0的原因,
The shared memory column represents either the MemShared value (2.4 series kernels) or the Shmem value (2.6 series kernels and later) taken from the /proc/meminfo file. The value is zero if none of the entries is exported by the kernel.
3. 因為我們目前的 kernel 版本是比 2.6 新 所以 上面這一句話 可以簡化成
3-1. The shared memory column represents the Shmem value taken from the /proc/meminfo file.
3-2. The value is zero if Shmem is
not exported by the kernel.