[CentOS] lshw in centos 7

Fri Jan 12 09:50:31 UTC 2018
James Pearson <james-p at moving-picture.com>

Stephen John Smoogen wrote:
> 
> On 11 January 2018 at 20:23, david <david at daku.org> wrote:
>> Folks
>>
>> I've been running lshw for years in both Centos 6 and Centos 7, yet just
>> recently it started hanging.  Neither a Control^C nor a "kill" of the
>> process cured the hang; only a reboot.
>>
> 
> Is this just one system or a range of boxes? I just ran it on 2
> different ones running CentOS 7 and it worked fine there. If it is
> just one particular hardware then look through the lshw man page and
> try the versions of something like
> 
> lshw -disable usb
> 
> to see if it still happens. [It might require other tests also.]

You could also try running it via strace - it might give you a clue as 
to where it is hanging :

  strace -f lshw

James Pearson