mirror of
https://github.com/pstadler/metrics.sh.git
synced 2025-02-28 13:59:12 -05:00
5 lines
77 B
Bash
5 lines
77 B
Bash
#!/bin/sh
|
|
|
|
collect () {
|
|
echo $(free | awk '/Swap/{print $3/$2 * 100.0;}')
|
|
} |