File tree Expand file tree Collapse file tree 1 file changed +47
-0
lines changed
cmd/installer/goods/support Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Original file line number Diff line number Diff line change @@ -173,6 +173,53 @@ spec:
173
173
collectorName : " ip-route-table"
174
174
command : " ip"
175
175
args : ["route"]
176
+ - run :
177
+ collectorName : " ip-address-stats"
178
+ command : " ip"
179
+ args : ["-s", "-s", "address"]
180
+ - run :
181
+ collectorName : " lspci"
182
+ command : " lspci"
183
+ args : ["-vvv", "-D"]
184
+ - run :
185
+ collectorName : " ethool-info"
186
+ command : " sh"
187
+ args :
188
+ - -c
189
+ - >
190
+ interfaces=$(ls /sys/class/net);
191
+ for iface in $interfaces; do
192
+ echo "==============================================";
193
+ echo "Interface: $iface";
194
+ echo "==============================================";
195
+
196
+ echo
197
+ echo "--- Basic Info ---"
198
+ ethtool "$iface"
199
+
200
+ echo
201
+ echo "--- Features (Offloads) ---"
202
+ ethtool -k "$iface"
203
+
204
+ echo
205
+ echo "--- Pause Parameters ---"
206
+ ethtool -a "$iface"
207
+
208
+ echo
209
+ echo "--- Ring Parameters ---"
210
+ ethtool -g "$iface"
211
+
212
+ echo
213
+ echo "--- Coalesce Settings ---"
214
+ ethtool -c "$iface"
215
+
216
+ echo
217
+ echo "--- Driver Info ---"
218
+ ethtool -i "$iface"
219
+
220
+ echo
221
+ echo
222
+ done
176
223
- run :
177
224
collectorName : " sysctl"
178
225
command : " sysctl"
You can’t perform that action at this time.
0 commit comments