Another useful ls-tool
By reptiler on 02 Jul 2009
Playing around with my current installations of EasyLFS I found another ls-tool.
I guess all of you know those useful tools lspci and lsusb, and maybe also lspcmcia. Pressing ls yesterday revealed lscpu, which is part of the new util-linux-ng-package (2.15). That package is that new that not even Fedora has it yet. The only distro which I found it in was OpenSuse.
Well, lscpu is quite a nice little tool. I quickly compiled it on my system and here's what it says:
Architecture: x86_64 CPU(s): 2 Thread(s) per core: 1 Core(s) per socket: 2 CPU socket(s): 1 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 15 Model: 107 Stepping: 1 CPU MHz: 1000.000 Virtualization: AMD-V L1d cache: 64K L1i cache: 64K L2 cache: 512K
Of course you can get all this information from other places, but I think it's nice to have a little tool for this.
It can also detect when running in a VM. In my EasyLFS-VM it clearly told me that I use KVM as hypervisor. Now that's nice.









Comments
Re: Another useful ls-tool
by libervisco | Fri, 2009-07-03 14:41Very cool. Looking forward to that in my distro (kubuntu).
Re: Another useful ls-tool
by Anonymous | Thu, 2009-12-10 11:46Very cool. thank you