File tree 1 file changed +17
-2
lines changed
1 file changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -111,8 +111,23 @@ if (!command || command === "build") {
111
111
112
112
if ( ! command || command === "bench" ) {
113
113
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` ;
129
+ await $ `lspci` ;
130
+ await $ `lsusb` ;
116
131
}
117
132
118
133
const shardPair = shard . split ( "/" ) . map ( t => parseInt ( t , 10 ) ) ;
You can’t perform that action at this time.
0 commit comments