added cpuusage and memusage scripts

This commit is contained in:
Simone Margaritelli
2019-09-26 11:23:40 +02:00
parent 5bac6ba5c0
commit a7d149ae75
2 changed files with 52 additions and 0 deletions

1
sdcard/rootfs/usr/bin/memusage Executable file
View File

@ -0,0 +1 @@
free -m | grep Mem | awk {'printf( "%.1f %", $3 / $2 * 100 )'}