File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed
Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -111,8 +111,21 @@ if (!command || command === "build") {
111111
112112if ( ! command || command === "bench" ) {
113113 if ( isGitHubActions ) {
114- await $ `lscpu -e=CPU,MHZ` ;
115- await $ `echo "CPU Usage: "$[100-$(vmstat 1 2|tail -1|awk '{print $15}')]"%"` ;
114+ await $ `echo "===== System Information ====="` ;
115+ await $ `uname -a` ;
116+ await $ `cat /etc/os-release` ;
117+ await $ `uname -r` ;
118+ await $ `uptime` ;
119+
120+ await $ `echo "===== Resource Usage ====="` ;
121+ await $ `top -b -n1 | head -n10` ;
122+ await $ `vmstat` ;
123+ await $ `df -h` ;
124+ await $ `free -h` ;
125+
126+ await $ `echo "===== Hardware Information ====="` ;
127+ await $ `lscpu` ;
128+ await $ `lsblk` ;
116129 }
117130
118131 const shardPair = shard . split ( "/" ) . map ( t => parseInt ( t , 10 ) ) ;
You can’t perform that action at this time.
0 commit comments