首页 > 编程知识 正文

linux查看硬盘型号(linux查看物理网卡)

时间:2023-05-06 19:50:20 阅读:70391 作者:607

监视硬件是否被正确识别和监视

首先是CPU模型的线程数和时钟数

可以直接查看cpuinfo文件cat/proc/cpuinfo

因为很多,所以试着筛选cat/proc/CPU info|grep name|awk-f ' : ' {打印$2} '|uniq-c

2Intel(r ) atom ) CPUD425@1.80GHz

可以看到频率模型和线程数

存储器

如果只看同样可以生产的meminfo文件的总量和可用量,则只需取前两行cat/proc/meminfo|head-2

MemTotal:1912344kB

MemFree:1804808kB

或直接free -mfree-m

totalusedfreesharedbufferscached

Mem:186710217650628

-/buffers/cache:671800

Swap:199901999

在这里也可以看到更换的使用状况

物理硬盘

可以使用fdisk -lfdisk-l

磁盘/dev/sda :80.0 GB,80026361856bytes

255heads,63sectors/track,9729cylinders

units=cylinders of 16065 * 512=8225280 bytes

sector size (逻辑/物理) :512bytes/512bytes

I/osize (最小/最佳) :512字节/512字节

磁盘标识符:0 XB F4 fbf 4f

dvicebootstartendblocksidsystem

/dev/sda1*12620480083Linux

分区1 doesnotendoncylinderboundary。

/dev/sda 226281204800082 Linux swap/Solaris

分区2 doesnotendoncylinderboundary。

/dev/sda 328197307589683283 Linux

将显示硬盘和分区信息

显卡

图形卡其实并不重要,但在lspci中可以看到lspci|grep ' VGA '

0:02.0 vgacompatiblecontroller : intelcorporationatomprocessord4xx/d5xx/n4xx/n5 xxintegratedgraphicscontrolller

同样,此命令显示lspci设备和pci pcie设备,如NIC声卡存储控制器

0:00.0主机网桥: intelcorporationatomprocessord4xx/d5xx/n4xx/n5 xxdmibridge

0:02.0 vgacompatiblecontroller : intelcorporationatomprocessord4xx/d5xx/n4xx/n5 xxintegratedgraphicscontrolller

0:1 b.0音频设备: intelcorporationnm 10/ich 7传真清晰度音频控制器(rev 02 ) ) ) ) ) ) )。

0:1 c.0 PCI bridge : intelcorporationnm 10/ich7familypciexpressport1(rev 02 )。

0:1 c.2 PCI bridge : intelcorporationnm 10/ich7familypciexpressport3(rev 02 )。

0:1 d.0 USB控制器: intelcorporationnm 10/ich 7架构控制器#1(rev 02 ) )。

0:1 d.1 USB控制器: intelcorporationnm 10/ich 7架构控制器#2(rev 02 ) )。

0:1 d.2 USB控制器: intelcorporationnm 10/ich 7架构控制器#3(rev 02 )。

0:1 d.3 USB控制器: intelcorporationnm 10/ich 7传真总线控制器#4(rev 02 ) )。

0:1 d.7 USB控制器: intelcorporationnm 10/ich 7家族USB2ehci控制器(rev 02 ) )。

0:1 e.0 PCI bridge : Intel公司82801移动性pcibridge (reve2) )。

0:1 f.0 isa bridge : intelcorporationnm 10 familylpccontroller (rev 02 ) )。

0:1 f.2 SATA控制器: intelcorporationnm 10/ich7familysatacontroller [ ahci mode ] [ rev 02 ]

0:1 f.3 smbus : intelcorporationnm 10/ich 7架构总线控制器(rev 02 ) )。

02:00.0以太网控制器: realteksemiconductorco .ltd.RTL 8101/2/6 epciexpressfast /千兆以太网控制器

如果是最后的温度,可以在lm_sensors上看到

首先安装yuminstalllm_sensors-y

然后,首先检测主板上的传感器传感器检测

道是就可以了,检测结束后自动配置

然后,可以执行sensors命令来确认温度电压和风扇转速的信息

酷睿temp-isa-0000

Adapter:ISAadapter

酷睿0:51.0c (切割=100.0c ) ) ) ) ) ) ) )。

it8712-isa-0a10

Adapter:ISAadapter

in0:1.02v(min=0.00v,max=4.08V ) ALARM

in1:1.63v(min=0.00v,max=4.08V ) ALARM

in2:3.34v(min=0.00v,max=4.08V ) ALARM

in3:2.90v(min=0.00v,max=4.08V ) ALARM

in4:3.01v(min=0.00v,max=4.08V ) ALARM

in5:1.49v(min=0.00v,max=4.08V ) ALARM

in6:1.04v(min=0.00v,max=4.08V ) ALARM

in7:2.91v(min=0.00v,max=4.08V ) ALARM

Vbat: 3.17V

fan1:0rpm(min=0rpm ) )。

fan2:0rpm(min=0rpm ) )。

fan3:0rpm(min=0rpm ) )。

temp 1:26.0c (低=-1.0c,高=127.0c )警报传感器=热二极管

temp 2:-128.0c (低=-1.0c,高=127.0c )传感器=禁用

temp :116.0c (低=-1.0c,高=127.0c )警报传感器=热二极管

cpu0_vid: 2.050V

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。