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)
2. To compile it, just use:
$ make
To compile with zlib support (see below), use:
$ make ZLIB=1
3. If you want to build the optional GUI, do:
$ make
$ make gui
4. 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/).
没有合适的资源?快使用搜索试试~ 我知道了~
lshw:适用于 Linux 的硬件列表器_C++_代码_下载
共198个文件
h:56个
cc:53个
svg:50个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 166 浏览量
2022-07-04
20:11:39
上传
评论
收藏 2.46MB ZIP 举报
温馨提示
lshw 是一个提供机器硬件配置详细信息的小工具。它可以报告支持 DMI 的 x86 或 EFI (IA-64) 系统以及一些 ARM 和 PowerPC 机器(PowerMac G4 是已知工作)。 信息可以纯文本、XML 或 HTML 格式输出。 它目前支持 DMI(仅 x86 和 EFI)、OpenFirmware 设备树(仅 PowerPC)、PCI/AGP、ISA PnP (x86)、CPUID (x86)、IDE/ATA/ATAPI、PCMCIA(仅在 x86 上测试)、USB 和SCSI。 更多详情、使用方法,请下载后阅读README.md文件
资源推荐
资源详情
资源评论
收起资源包目录
lshw:适用于 Linux 的硬件列表器_C++_代码_下载 (198个子文件)
lshw.1 5KB
console.apps 50B
stock.c 4KB
callbacks.c 4KB
support.c 4KB
gtk-lshw.c 2KB
dmi.cc 60KB
partitions.cc 47KB
hw.cc 45KB
volumes.cc 40KB
device-tree.cc 39KB
pci.cc 37KB
network.cc 27KB
pcmcia-legacy.cc 25KB
scsi.cc 23KB
isapnp.cc 21KB
cpuinfo.cc 20KB
parisc.cc 18KB
print.cc 17KB
cpuid.cc 17KB
engine.cc 17KB
osutils.cc 16KB
ideraid.cc 15KB
usb.cc 15KB
ide.cc 15KB
fb.cc 13KB
mmc.cc 11KB
burner.cc 10KB
smp.cc 10KB
sysfs.cc 9KB
db.cc 8KB
fat.cc 8KB
print-gui.cc 8KB
lshw.cc 6KB
dump.cc 6KB
pnp.cc 6KB
s390.cc 5KB
spd.cc 5KB
main.cc 4KB
input.cc 4KB
heuristics.cc 4KB
mem.cc 4KB
lvm.cc 4KB
options.cc 3KB
mounts.cc 2KB
cdrom.cc 2KB
jedec.cc 2KB
version.cc 2KB
virtio.cc 2KB
disk.cc 2KB
nvme.cc 2KB
cpufreq.cc 1KB
sound.cc 1KB
pcmcia.cc 1KB
graphics.cc 1KB
vio.cc 1KB
abi.cc 954B
blockio.cc 845B
display.cc 350B
Changelog 8KB
COPYING 18KB
gtk-lshw.desktop 314B
.gitignore 27B
hw.h 6KB
osutils.h 2KB
stock.h 2KB
callbacks.h 2KB
sysfs.h 1KB
db.h 1KB
support.h 1KB
config.h 657B
version.h 367B
options.h 345B
engine.h 345B
blockio.h 329B
print-gui.h 243B
heuristics.h 240B
print.h 214B
pnp.h 189B
dump.h 173B
device-tree.h 165B
volumes.h 129B
fat.h 118B
pci.h 118B
lvm.h 117B
jedec.h 112B
pcmcia-legacy.h 111B
partitions.h 105B
graphics.h 98B
cpufreq.h 96B
display.h 96B
network.h 96B
cpuinfo.h 96B
ideraid.h 96B
s390.h 95B
main.h 94B
pcmcia.h 93B
parisc.h 93B
mounts.h 93B
burner.h 93B
共 198 条
- 1
- 2
资源评论
快撑死的鱼
- 粉丝: 1w+
- 资源: 9156
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功