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. |
|||||
|
|
Try |
|||
|
|
|
With Linux you can use the If you don't see it there, it's more then likely it isn't working. to restart it or enable it, you can use this command: Then by running the |
|||
|
|