lyc654321 发表于 2007-07-24 11:31

Solaris 下的使用top查看到的swap值是什么含义


                solaris下使用top命令查看swap是14GB,使用swap -l找出swap分区后使用format命令查看该分区只有8GB,还有6GB哪里来的?使用了swap -d命令后top发现还有6GB的swap空间。
    --top的swap free和swap -s命令一样都是显示所有可用的虚存
http://www.princeton.edu/~unix/Solaris/troubleshoot/ram.html
Swap Space
The Solaris virtual memory system combines physical memory with available swap space via swapfs. If insufficient total virtual memory space is provided, new processes will be unable to open.

Swap space can be added, deleted or examined with the swap command. swap -l reports total and free space for each of the swap partitions or files that are available to the system. Note that this number does not reflect total available virtual memory space, since physical memory is not reflected in the output. swap -s reports the total available amount of virtual memory, as does sar -r.

If swap is mounted on /tmp via tmpfs, df -k /tmp will report on total available virtual memory space, both swap and physical.
               
               

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/13045/showart_345621.html
页: [1]
查看完整版本: Solaris 下的使用top查看到的swap值是什么含义