设为首页
收藏本站
用户名
Email
自动登录
找回密码
密码
登录
注册
快捷导航
平台
Portal
论坛
BBS
文库
项目
群组
Group
我的博客
Space
搜索
搜索
热搜:
shell
linux
mysql
本版
用户
LinuxSir.cn,穿越时空的Linuxsir!
»
论坛
›
Unix 技术讨论区 —— LinuxSir.cn
›
BSD 讨论专题
›
[请教] FreeBSD下有哪个工具相当于Linux下的 lspci ? ...
返回列表
查看:
1886
|
回复:
5
[请教] FreeBSD下有哪个工具相当于Linux下的 lspci ?
[复制链接]
mascot
mascot
当前离线
积分
308
IP卡
狗仔卡
发表于 2006-10-16 04:36:16
|
显示全部楼层
|
阅读模式
本人以前用Linux的时候,曾用lspci来查看硬件信息,FreeBSD下却一下直不知该怎么办。而且ports里面也没有lspci。请指教。谢谢。
回复
使用道具
举报
提升卡
置顶卡
沉默卡
喧嚣卡
变色卡
显身卡
CITB
CITB
当前离线
积分
58
IP卡
狗仔卡
发表于 2006-10-16 08:44:26
|
显示全部楼层
用 dmesg
要查看特定的 dmesg | grep ""
dmesg是显示开机命令,Linux下也有,一般开机的时候把所有可用的硬件都显示了吧.
回复
支持
反对
使用道具
举报
显身卡
mascot
mascot
当前离线
积分
308
IP卡
狗仔卡
楼主
|
发表于 2006-10-16 14:42:12
|
显示全部楼层
哈,dmesg这个工具比不上lspci用起来顺手,lspci会把你想要看的都列出来,一目了然,
回复
支持
反对
使用道具
举报
显身卡
slo
slo
当前离线
积分
65
IP卡
狗仔卡
发表于 2006-10-19 10:06:09
|
显示全部楼层
还有lshw,这个才叫强:
root@Wolfpack:/etc/mysql# lshw
wolfpack
description: Mini Tower Computer
product: HP Server
vendor: Hewlett-Packard
version: TC2120
serial: Chassis Serial Number
width: 32 bits
capabilities: smbios-2.3 dmi-2.3
configuration: boot=normal chassis=mini-tower uuid=0314903B-0987-0223-3110-000802F7F051
*-core
description: Motherboard
physical id: 0
*-firmware
description: BIOS
vendor: Award Software, Inc.
physical id: 0
version: 6.00.23 RV (09/08/2003) (09/08/2003)
size: 64KB
capacity: 448KB
capabilities: pci pnp apm upgrade shadowing escd cdboot bootselect socketedrom edd int13floppy360 int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int9keyboard int14serial int17printer int10video acpi biosbootspecification
*-cpu
description: CPU
product: Intel(R) Pentium(R) 4 CPU 2.80GHz
vendor: Intel Corp.
physical id: 3
bus info: cpu@0
version: 15.2.9
slot: Primary CPU
size: 2800MHz
capacity: 3400MHz
width: 32 bits
clock: 133MHz
capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr
configuration: id=0
*-cache:0
description: L1 cache
physical id: 9
slot: L1 Cache
size: 8KB
capacity: 32KB
capabilities: pipeline-burst synchronous internal varies unified
*-cache:1
description: L2 cache
physical id: a
slot: L2 Cache
size: 512KB
capacity: 512KB
capabilities: pipeline-burst synchronous internal varies unified
*-memory
description: System Memory
physical id: 1e
slot: System board or motherboard
size: 512MB
capacity: 512MB
*-bank:0
description: DIMM DRAM Synchronous [empty]
physical id: 0
slot: DIMM1
*-bank:1
description: DIMM DRAM Synchronous [empty]
physical id: 1
slot: DIMM2
*-bank:2
description: DIMM DRAM Synchronous
physical id: 2
slot: DIMM3
size: 256MB
width: 64 bits
*-bank:3
description: DIMM DRAM Synchronous
physical id: 3
slot: DIMM4
size: 256MB
width: 64 bits
*-pci:0
description: Host bridge
product: GCNB-LE Host Bridge
vendor: Broadcom
physical id: 100
bus info: pci@00:00.0
version: 32
width: 32 bits
clock: 33MHz
*-network
description: Ethernet interface
product: NetXtreme BCM5702X Gigabit Ethernet
vendor: Broadcom Corporation
physical id: 3
bus info: pci@00:03.0
logical name: eth0
version: 02
serial: 00:08:02:f7:f0:51
size: 100MB/s
capacity: 1GB/s
width: 64 bits
clock: 66MHz
capabilities: bus_master cap_list ethernet physical mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegociation
configuration: autonegociation=on broadcast=yes driver=tg3 driverversion=3.47 duplex=full ip=10.167.13.125 link=yes multicast=yes port=twisted pair speed=100MB/s
resources: iomemory:fe000000-fe00ffff irq:169
*-display
description: VGA compatible controller
product: Rage XL
vendor: ATI Technologies Inc
physical id: 9
bus info: pci@00:09.0
version: 27
size: 16MB
width: 32 bits
clock: 33MHz
capabilities: vga bus_master cap_list
resources: iomemory:fd000000-fdffffff ioport:d800-d8ff iomemory:fc800000-fc800fff irq:10
*-isa
description: ISA bridge
product: CSB6 South Bridge
vendor: Broadcom
physical id: f
bus info: pci@00:0f.0
version: a0
width: 32 bits
clock: 33MHz
capabilities: isa bus_master
configuration: driver=piix4_smbus
*-ide
description: IDE interface
product: CSB6 RAID/IDE Controller
vendor: Broadcom
physical id: f.1
bus info: pci@00:0f.1
version: a0
width: 32 bits
clock: 33MHz
capabilities: ide bus_master
configuration: driver=Serverworks_IDE
resources: ioport:b000-b00f
*-ide:0
description: IDE Channel 0
physical id: 0
bus info: ide@0
logical name: ide0
clock: 33MHz
*-disk:0
description: ATA Disk
product: Maxtor 6Y080L0
vendor: Maxtor
physical id: 0
bus info: ide@0.0
logical name: /dev/hda
version: YAR41BW0
serial: Y28HVHWE
size: 74GB
capacity: 74GB
capabilities: ata dma lba iordy smart pm apm partitioned partitioned:dos
configuration: apm=off mode=udma5 smart=on
*-volume:0
description: Linux filesystem partition
physical id: 1
bus info: ide@0.0,1
logical name: /dev/hda1
capacity: 486MB
capabilities: primary bootable
*-volume:1
description: Linux swap / Solaris partition
physical id: 2
bus info: ide@0.0,2
logical name: /dev/hda2
capacity: 1906MB
capabilities: primary nofs
*-volume:2
description: Linux filesystem partition
physical id: 3
bus info: ide@0.0,3
logical name: /dev/hda3
capacity: 72GB
capabilities: primary
*-disk:1
description: ATA Disk
product: ST3160021A
vendor: Seagate
physical id: 1
bus info: ide@0.1
logical name: /dev/hdb
version: 3.06
serial: 5JS1HKBH
size: 149GB
capabilities: ata dma lba iordy smart security pm partitioned partitioned:dos
configuration: mode=udma5 smart=on
*-volume
description: Linux filesystem partition
physical id: 1
bus info: ide@0.1,1
logical name: /dev/hdb1
capacity: 149GB
capabilities: primary
*-ide:1
description: IDE Channel 1
physical id: 1
bus info: ide@1
logical name: ide1
clock: 33MHz
*-cdrom
description: CD-R/CD-RW writer
product: ASUS CRW-5232AS
physical id: 0
bus info: ide@1.0
logical name: /dev/hdc
version: 1.0
capabilities: packet atapi cdrom removable nonmagnetic dma lba iordy audio cd-r cd-rw
configuration: mode=udma2
*-disc
physical id: 0
logical name: /dev/hdc
*-usb
description: USB Controller
product: CSB6 OHCI USB Controller
vendor: Broadcom
physical id: f.2
bus info: pci@00:0f.2
version: 05
width: 32 bits
clock: 33MHz
capabilities: ohci bus_master
configuration: driver=ohci_hcd
resources: iomemory:fc000000-fc000fff irq:11
*-usbhost
product: OHCI Host Controller
vendor: Linux 2.6.15-27-server ohci_hcd
physical id: 1
bus info: usb@1
logical name: usb1
version: 2.06
capabilities: usb-1.10
configuration: driver=hub maxpower=0mA slots=4 speed=12.0MB/s
*-pci:1
description: Host bridge
product: GCNB-LE Host Bridge
vendor: Broadcom
physical id: 101
bus info: pci@00:00.1
version: 00
width: 32 bits
clock: 33MHz
*-pci:2
description: Host bridge
product: GCLE-2 Host Bridge
vendor: Broadcom
physical id: 102
bus info: pci@00:0f.3
version: 00
width: 32 bits
clock: 33MHz
root@Wolfpack:/etc/mysql#
复制代码
回复
支持
反对
使用道具
举报
显身卡
pa9000
pa9000
当前离线
积分
41
IP卡
狗仔卡
发表于 2006-10-20 09:18:28
|
显示全部楼层
FreeBSD上也有lspci, 好像是在pciutils的port里
回复
支持
反对
使用道具
举报
显身卡
mascot
mascot
当前离线
积分
308
IP卡
狗仔卡
楼主
|
发表于 2006-10-24 09:05:25
|
显示全部楼层
ports里没找到四楼所说的那个什么工具,
五楼说得对,装上pciutils,这是个工具箱,lspci是里面的工具之一。多谢.~
回复
支持
反对
使用道具
举报
显身卡
返回列表
高级模式
B
Color
Image
Link
Quote
Code
Smilies
您需要登录后才可以回帖
登录
|
注册
本版积分规则
发表回复
回帖后跳转到最后一页
Copyright © 2002-2023
LinuxSir.cn
(http://www.linuxsir.cn/) 版权所有 All Rights Reserved.
Powered by
RedflagLinux!
技术支持:
中科红旗
|
京ICP备19024520号
快速回复
返回顶部
返回列表