您的位置 首页 > 数码极客

【cpu型号怎么看】linux查看主板型号、CPU、显卡、硬盘等信息

系统

查看Uname -a #内核/操作系统/CPU信息

检视Head -n 1 /etc/issue #作业系统版本

查看Cat /proc/CPUinfo # CPU信息

Hostname #查看计算机名称

LsPCI -tv #列出所有PCI设备

LsUSB -tv #列出所有USB设备

Lsmod #列出加载的内核模块

Env #查看环境变量

资源

查看Free -m #内存使用情况和交换区使用情况

Df -h #查看每个分区的使用情况

Du -sh目录名#查看指定目录的大小

Grep MemTotal /proc/meminfo #查看总内存

Grep MemFree /proc/meminfo #查看可用内存量

Uptime #查看系统正常运行时间、用户数、负载

Cat /proc/loadavg #检视系统负载

磁盘和分区

查看Mount | column -t #挂接的分区状态

Fdisk -l #查看所有分区

Swapon -s #查看所有交换分区

查看Hdparm -i /dev/hda #磁盘参数(仅限IDE设备)

Dmesg | grep IDE #启动时查看IDE设备检测状态网络

Ifconfig #查看所有网络接口的属性

查看iptable-L #防火墙设置

Route -n #路由表视图

Netstat -lntp #查看所有监听端口

Netstat -antp #查看所有已建立的连接

Netstat -s #网络统计视图过程

Ps -ef #查看所有进程

Top #进程状态实时显示用户

W #查看活动用户

标识用户名#查看指定的用户信息

查看Last #用户登录日志

查看Cut -d: -f1 /etc/passwd #系统上的所有用户

查看Cut -d: -f1 /etc/group #系统中的所有组

Crontab -l #查看当前用户的计划作业服务

Chkconfig - list #列出所有系统服务

Chkconfig - list | grep on #列出所有已启动的系统服务程序

Rpm -qa #查看所有已安装的程序包查看NIC型号

Lspci | grep Ethernet 00:19.0以太网控制器:英特尔公司82567v-2千兆位网络连接查看硬盘信息(查看硬盘型号和硬盘序列号)

Df -hFilesystem Size Used Avail U

se% Mounted on /dev/sda5 2.0G 272M 1.6G 15% / /dev/sda8 199G 188M 189G 1% /home /dev/sda3 9.7G 1.3G 7.9G 15% /usr /dev/sda2 9.7G 198M 9.0G 3% /var /dev/sda1 99M 17M 77M 18% /boothdparm -i /dev/sda

/dev/sda: Model=SAMSUNG HE253GJ , FwRev=1AJ30001, SerialNo= S2B5J90ZC12060 Config={ Fixed } RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4 BuffType=unknown, BuffSize=16384kB, MaxMultSect=16, MultSect=?16? CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=268435455 IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120} PIO modes: pio0 pio1 pio2 pio3 pio4 DMA modes: mdma0 mdma1 mdma2 UDMA modes: udma0 udma1 udma2 AdvancedPM=yes: disabled (255) WriteCache=enabled Drive conforms to: unknown: ATA/ATAPI-0 ATA/ATAPI-1 ATA/ATAPI-2 ATA/ATAPI-3 ATA/ATAPI-4 ATA/ATAPI-5 ATA/ATAPI-6 ATA/ATAPI-7 * signifies the current active mode

dmesg | grep ATA

ata1: SATA max UDMA/133 cmd 0xf190 ctl 0xf180 bmdma 0xf150 irq 185 ata2: SATA max UDMA/133 cmd 0xf170 ctl 0xf160 bmdma 0xf158 irq 185 ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300) a: ATA-8: SAMSUNG HE253GJ, 1AJ30001, max UDMA/133 ata2: SATA link down (SStatus 0 SControl 300) Vendor: ATA Model: SAMSUNG HE253GJ Rev: 1AJ3 ata3: SATA max UDMA/133 cmd 0xf130 ctl 0xf120 bmdma 0xf0f0 irq 185 ata4: SATA max UDMA/133 cmd 0xf110 ctl 0xf100 bmdma 0xf0f8 irq 185 ata3: SATA link down (SStatus 0 SControl 300) ata4: SATA link down (SStatus 0 SControl 300) ata5: PATA max UDMA/100 cmd 0xe040 ctl 0xe030 bmdma 0xe000 irq 177

查看主板型号:

dmidecode | more

# dmidecode 2.10 SMBIOS 2.4 present. 57 structures occupying 2318 bytes. Table at 0x000E84B0. Handle 0x0000, DMI type 0, 24 bytes BIOS Information Vendor: Intel Corp. Version: GTG4310H.86A.0019.2009.0625.1334 Release Date: 06/25/2009 ..... System Information 服务器品牌 Manufacturer: Product Name: (没有信息表示非品牌或未识别) Version: Serial Number: UUID: 889BD67E-8D96-11DE-AC40-0013D4D9C9E8 Wake-up Type: Power Switch SKU Number: Not Specified Family: Not Specified Handle 0x0002, DMI type 2, 15 bytes Base Board Information 主板型号/主板信息 Manufacturer: Intel Corporation Product Name: DG43GT Version: AAE62768-300 Serial Number: BTGT9340022N Processor Information CPU信息/CPU型号/CPU主频 Socket Designation: PROCESSOR Type: Central Processor Family: Pentium D Manufacturer: Intel(R) Corp. ID: 7A 06 01 00 FF FB EB BF Signature: Type 0, Family 6, Model 23, Stepping 10 Version: Pentium(R) Dual-Core CPU E6500 @ 2.93GHz Voltage: 1.2 V External Clock: 266 MHz Max Speed: 4000 MHz Current Speed: 2931 MHz Status: Populated, Enabled Upgrade: Socket LGA775 Cache Information 硬件和CPU缓存情况 Socket Designation: L1-Cache Configuration: Enabled, Not Socketed, Level 1 Operational Mode: Write Back Location: Internal Installed Size: 32 kB Maximum Size: 32 kB BIOS Language Information BIOS语言 Installable Languages: 1 en|US|iso8859-1 Currently Installed Language: en|US|iso8859-1 Physical Memory Array 主板最大支持内存 Location: System Board Or Motherboard Use: System Memory Error Correction Type: None Maximum Capacity: 16 GB Error Information Handle: Not Provided Number Of Devices: 4 Handle 0x002C, DMI type 19, 15 bytes Memory Array Mapped Address 目前的内存 Starting Address: 0x00000000000 Ending Address: 0x000FFFFFFFF Range Size: 4 GB Physical Array Handle: 0x002B Partition Width: 0 On Board Device Information 显卡型号 Type: Video Status: Enabled Description: Intelr GMA X4500 Video Device 

关于作者: admin

无忧经验小编鲁达,内容侵删请Email至wohenlihai#qq.com(#改为@)

热门推荐