Many one argues different way to identify of how to check swap space in Solaris and the result varies. Like they use df -h to check swap space. But to check swap space, and to get correct result the following query need to be issued.
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
If swap is mounted on /tmp via tmpfs, df -k /tmp will report on total available virtual memory space, both swap and physical.
No comments:
Post a Comment