• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

lyonel/lshw: lshw: HardWare LiSter for Linux

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

lyonel/lshw

开源软件地址(OpenSource Url):

https://github.com/lyonel/lshw

开源编程语言(OpenSource Language):

C++ 94.4%

开源软件介绍(OpenSource Introduction):

lshw: HardWare LiSter for Linux

lshw is a small tool to provide detailed information on the hardware configuration of the machine. It can report exact memory configuration, firmware version, mainboard configuration, CPU version and speed, cache configuration, bus speed, etc. on DMI-capable x86 or EFI (IA-64) systems and on some ARM and PowerPC machines (PowerMac G4 is known to work).

Information can be output in plain text, XML or HTML.

It currently supports DMI (x86 and EFI only), OpenFirmware device tree (PowerPC only), PCI/AGP, ISA PnP (x86), CPUID (x86), IDE/ATA/ATAPI, PCMCIA (only tested on x86), USB and SCSI.

Installation

  1. Requirements
  • Linux 2.4.x, 2.6.x, 3.x or 4.x (2.2.x might work, though)
  • a PA-RISC-, Alpha-, IA-64- (Itanium-), PowerPC-, ARM- or x86- based machine
  • an ANSI (or close enough to ANSI compliance) C++ compiler (tested with g++ 2.95.4 and 3.x)
  • for the (optional) GTK+ graphical user interface, you will need a complete GTK+ development environment (gtk3-devel on RedHat/Fedora derivatives)
  1. To compile it, just use:

    $ make
    

    To compile with zlib support (see below), use:

    $ make ZLIB=1
    
  2. If you want to build the optional GUI, do:

    $ make
    $ make gui
    
  3. If you want to install the result, do:

    $ make install
    $ make install-gui
    

Getting help

  1. the lshw home page is http://lshw.ezix.org/
  2. bug reports and feature requests: http://ezix.org/project/newticket?component=lshw

Please make sure you include enough information in your bug report: XML output from lshw is preferred over text or HTML, indicate the affected version of lshw, your platform (i386, x86-64, PA-RISC, PowerPC, etc.) and your distribution.

NOTE TO DISTRIBUTIONS

By default, lshw includes its own lists of PCI IDs, USB IDs, etc. but will also look for this information in

/usr/share/lshw/,
/usr/local/share/,
/usr/share/,
/etc/,
/usr/share/hwdata/,
/usr/share/misc/

If compiled with zlib support, lshw will look for file.gz first, then for file.

Statically-linked and/or compressed binaries can be built by using

$ make static

or

$ make compressed

in the src/ directory

Building compressed binaries requires upx (cf. https://upx.github.io/).




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
c9s/goprocinfo: Linux /proc info parser for Go发布时间:2022-08-15
下一篇:
haileys/doslinux: Run Linux programs on DOS发布时间:2022-08-15
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap