Skip to content

Instantly share code, notes, and snippets.

@brianwhigham
Created May 27, 2016 22:04
show used swap using bash
#!/bin/sh
free -m | awk 'NR==4{print $3 }'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment