1. Display swap space: sysctlvm. swapusage contains many items that can be controlled and viewed in sysctl. You can use sysctl-A to list them and mansysctl to view them. The actual swap files and sleep files are stored in the following directory: apple @ kissAir: vm $ pwdprivatevarvmapple @ kissAir: vm $ ls-lhtotal43
1. swap space display: sysctl vm. swapusage contains many items that can be controlled and viewed in sysctl, which can be listed through sysctl-A and viewed through man sysctl. The actual swap and sleep files are stored in the following directory: apple @ kissAir: vm $ pwd/private/var/vm apple @ kissAir: vm $ ls-lh total 43
1. swap space: sysctl vm. swapusage
Sysctl contains many items that can be controlled and viewed. You can use sysctl-A to list the items and man sysctl to view them.
The actual swap and sleep files are stored in the following directory:
Apple @ kissAir: vm $ pwd
/Private/var/vm
Apple @ kissAir: vm $ ls-lh
Total 4325376
-Rw ------ T 1 root wheel 1.0G 6 22 sleepimage
-Rw ------- 1 root wheel 64 M 6 22 13:27 swapfile0
-Rw ------- 1 root wheel 1.0G 6 22 swapfile1