add get-sysinfo
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
This commit is contained in:
parent
6882c889c5
commit
e9812f0789
1 changed files with 14 additions and 0 deletions
14
get-sysinfo.sh
Executable file
14
get-sysinfo.sh
Executable file
|
@ -0,0 +1,14 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
dest="${0%%*/}.log"
|
||||||
|
|
||||||
|
(
|
||||||
|
uname -a
|
||||||
|
dmesg
|
||||||
|
lspci -nn
|
||||||
|
lspci -vv
|
||||||
|
lshw
|
||||||
|
free
|
||||||
|
cat /proc/cpuinfo
|
||||||
|
|
||||||
|
) 2>&1 | tee "$dest"
|
Loading…
Reference in a new issue