X-Git-Url: http://git.grml.org/?a=blobdiff_plain;ds=sidebyside;f=grml-hwinfo;h=ab2b295e45ba09ca3fe136ba737383be03719a50;hb=42ab70c32a767273425f2f4c95076e31d3f94eed;hp=8af9f8d515f753124383b17f59bdaddb2e957fde;hpb=f17f4a0b301ea4c38e133e618813475cccf33eaf;p=grml-hwinfo.git diff --git a/grml-hwinfo b/grml-hwinfo index 8af9f8d..ab2b295 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 @@ -246,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