nsbin/get-sysinfo.sh
Nico Schottelius e9812f0789 add get-sysinfo
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-06-10 11:38:37 +02:00

14 lines
140 B
Bash
Executable file

#!/bin/sh
dest="${0%%*/}.log"
(
uname -a
dmesg
lspci -nn
lspci -vv
lshw
free
cat /proc/cpuinfo
) 2>&1 | tee "$dest"