mirror of
https://github.com/pstadler/metrics.sh.git
synced 2025-05-05 08:46:39 -04:00
5 lines
82 B
Bash
5 lines
82 B
Bash
#!/bin/sh
|
|
|
|
collect () {
|
|
echo $(ps aux | awk {'sum+=$3;print sum'} | tail -n 1)
|
|
} |