Figure out used swap from command line?
You can get the current swap usage on the command line by running the following command:
sysctl vm.swapusage

It will output something similar to:
vm.swapusage: total = 4096.00M  used = 2743.50M  free = 1352.50M  (encrypted)

The number in &quot;used&quot; should correspond with the number you've circled in Activity Monitor.