X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=grml-hwinfo;h=4e1d9d5f5546b6e1f8583a4a8bde3d9135de7f96;hb=89cde720f7f6fe03c481f629eb31f1c0d15c9dad;hp=a2203bc834a24743d75d9832601bba1e4c2545a4;hpb=c8495ee51eb27d8d4750abb3d983f640dd4c11d6;p=grml-hwinfo.git diff --git a/grml-hwinfo b/grml-hwinfo index a2203bc..4e1d9d5 100755 --- a/grml-hwinfo +++ b/grml-hwinfo @@ -214,7 +214,16 @@ cd "${OUTDIR}" || exit 1 mdstat meminfo modules mtrr pci uptime version ; do [ -r /proc/$i ] && cat /proc/$i > proc_$i done + + if ! $_opt_quiet ; then + echo "Starting sysdump..." + echo " NOTE: if it seems to be hanging at this stage file a bug report with output of:" + echo " lsof -p \$(pgrep -f "\$\(which sysdump\)")" + fi exectest sysdump && sysdump > ./sysdump 2>./sysdump.error + if ! $_opt_quiet ; then + echo "Execution of sysdump finished." + fi exectest cpuid && cpuid > ./cpuid 2>./cpuid.error @@ -229,9 +238,10 @@ cd "${OUTDIR}" || exit 1 exectest numactl && numactl --hardware > ./numactl exectest x86info && x86info > ./x86info 2>./x86info.error exectest lscpu && lscpu > ./lscpu + exectest lscpu && lscpu -e > ./lscpu_extended # EFI - exectest efibootmgr && efibootmgr -v > efibootmgr + exectest efibootmgr && efibootmgr -v >efibootmgr 2>efibootmgr.error # net stuff, net-tools: exectest ifconfig && ifconfig -v -a > ./ifconfig @@ -245,12 +255,13 @@ cd "${OUTDIR}" || exit 1 exectest ip && ip mroute show > ip_mroute exectest ip && ip mrule show > ip_mrule 2>ip_mrule.error exectest ip && ip neigh show > ip_neigh + exectest ip && ip netconf > ip_netconf exectest ip && ip netns list > ip_netns exectest ip && ip ntable show > ip_ntable exectest ip && ip route show > ip_route exectest ip && if [ -r /etc/iproute2/rt_tables ] ; then grep -v '^#' /etc/iproute2/rt_tables | while read table _ ; do - ip route show table "${table}" > "ip_route_table_${table}" + ip route show table "${table}" > "ip_route_table_${table}" 2> "ip_route_table_${table}".error done fi exectest ip && ip rule show > ip_rule