1./dev/full
用来模拟分区满的情况。
2./proc/self
软连接到当前进程目录。
3.cat /proc/meminfo
total: used: free: shared: buffers: cached:
Mem: 529694720 519610368 10084352 82612224 10977280 82108416
The Shared column displays total shared memory currently allocated on the system。显示的是分配的共享内存。但是实际使用了多少在哪儿看呢?
The Cached column displays the memory allocated by Linux to the page cache.
This memory is used to cache accesses to mapped files.
4.fcntl: Locks and Other File Operations
阅读(1271) | 评论(0) | 转发(0) |