plgongcat的个人博客分享 http://blog.sciencenet.cn/u/plgongcat

博文

ubuntu下电脑硬件信息

已有 3847 次阅读 2012-4-28 09:20 |个人分类:unbutu常见问题|系统分类:科研笔记| 信息, ubuntu, color, 电脑硬件

查看cpu信息可以使用 cat /proc/cpuinfo 查看显卡使用 lspci |grep VGA sudo dmidecode >info.txt;less info.txt 应该够详细的了 man dmidecode,or google it!

用以下命令可以查机器型号和CPU信息:

$ sudo dmidecode | grep "Product Name"
        Product Name: ProLiant DL380 G6


$ sudo dmidecode  | grep CPU
        Version: Intel(R) Xeon(R) CPU E5540 @ 2.53GHz
        Version: Intel(R) Xeon(R) CPU E5540 @ 2.53GHz

$ sudo dmidecode | grep Proc
Processor Information
        Socket Designation: Proc 2
        Type: Central Processor
        Socket Designation: Processor 1 Internal L1 Cache
        Socket Designation: Processor 2 Internal L1 Cache
        Socket Designation: Processor 1 Internal L2 Cache
        Socket Designation: Processor 2 Internal L2 Cache
        Socket Designation: Processor 1 Internal L3 Cache
        Socket Designation: Processor 2 Internal L3 Cache

$ sudo more /proc/cpuinfo | grep -i "model name"
model name      : Intel(R) Xeon(R) CPU           E5540  @ 2.53GHz

$ sudo more /proc/cpuinfo | grep -i "cpu cores"
cpu cores       : 4

$ more /proc/cpuinfo | grep -i "cache size"
cache size      : 8192 KB

$ more /proc/meminfo | grep -i memtotal
MemTotal:       33003200 kB




https://blog.sciencenet.cn/blog-685489-564488.html

上一篇:ubutu字典
下一篇:oingin加单位埃
收藏 IP: 61.190.88.*| 热度|

1 刘洋

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-9-2 04:17

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部