diff --git a/bin/cli.js b/bin/cli.js index e5b16cd1..15e71838 100644 --- a/bin/cli.js +++ b/bin/cli.js @@ -111,8 +111,21 @@ if (!command || command === "build") { if (!command || command === "bench") { if (isGitHubActions) { - await $`lscpu -e=CPU,MHZ`; - await $`echo "CPU Usage: "$[100-$(vmstat 1 2|tail -1|awk '{print $15}')]"%"`; + await $`echo "===== System Information ====="`; + await $`uname -a`; + await $`cat /etc/os-release`; + await $`uname -r`; + await $`uptime`; + + await $`echo "===== Resource Usage ====="`; + await $`top -b -n1 | head -n10`; + await $`vmstat`; + await $`df -h`; + await $`free -h`; + + await $`echo "===== Hardware Information ====="`; + await $`lscpu`; + await $`lsblk`; } const shardPair = shard.split("/").map(t => parseInt(t, 10));