Skip to content

Commit

Permalink
Merge branch 'master' into update-sim-examples
Browse files Browse the repository at this point in the history
  • Loading branch information
mcm001 authored Sep 23, 2023
2 parents ed6aa15 + 9d0f1a3 commit 31e32b6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public void initCmds(HardwareConfig config) {
cpuUptimeCommand = "uptime -p | cut -c 4-";

// RAM
ramUsageCommand = "awk '/MemFree:/ {print int($2 / 1000);}' /proc/meminfo";
ramUsageCommand = "awk '/MemAvailable:/ {print int($2 / 1000);}' /proc/meminfo";

// Disk
diskUsageCommand = "df ./ --output=pcent | tail -n +2";
Expand Down

0 comments on commit 31e32b6

Please sign in to comment.