How can I check if swap is active, and which swap devices are set up, on the command line?
in linux, you can use
in Mac OS X, you can use
in Solaris, you can use
On some systems, "virtual memory" refers only to disk-backed memory devices, and on other systems, like Solaris, Virtual Memory can refer to any user process address space, including tmpfs filesystems (like /tmp) and shared memory space.