mirror of
https://github.com/pstadler/metrics.sh.git
synced 2025-05-05 08:46:39 -04:00
5 lines
92 B
Bash
5 lines
92 B
Bash
#!/bin/sh
|
|
|
|
collect () {
|
|
echo $(free | awk '/buffers\/cache/{print $4/($3+$4) * 100.0;}')
|
|
} |