Fix indent and whitespaces
Fix and improve swap_usage()

- Fix a typo on awk syntax
- Use php functions to extract desired value from swapinfo output