原文https://wsgzao.github.io/post/linux-memory/

Linux 查看内存的插槽数,已经使用多少插槽,每条内存多大,已使用内存多大

dmidecode | grep  -P  -A5  "Memory\s+Device" | grep Size | grep -v Range 

Size: 16384 MB
Size: No Module Installed
Size: No Module Installed
Size: 16384 MB
Size: No Module Installed
Size: No Module Installed
Size: 16384 MB
Size: No Module Installed
Size: No Module Installed
Size: 16384 MB
Size: No Module Installed
Size: No Module Installed
Size: 16384 MB
Size: No Module Installed
Size: 16384 MB
Size: No Module Installed
Size: 16384 MB
Size: No Module Installed
Size: 16384 MB
Size: No Module Installed

Linux 查看内存支持的最大内存容量

dmidecode | grep -P  'Maximum\s+Capacity'
Maximum Capacity: 1536 GB

Linux 查看内存的频率

dmidecode | grep -A16 "Memory Device" | grep "Speed"

Speed: 1600 MHz (0.6 ns)
Speed: Unknown
Speed: Unknown
Speed: 1600 MHz (0.6 ns)
Speed: Unknown
Speed: Unknown
Speed: Unknown
Speed: Unknown
Speed: 1600 MHz (0.6 ns)
Speed: Unknown
Speed: Unknown
Speed: 1600 MHz (0.6 ns)
Speed: 1600 MHz (0.6 ns)
Speed: Unknown
Speed: Unknown
Speed: 1600 MHz (0.6 ns)
Speed: Unknown
Speed: Unknown
Speed: Unknown
Speed: Unknown
Speed: 1600 MHz (0.6 ns)
Speed: Unknown
Speed: Unknown
Speed: 1600 MHz (0.6 ns)
 

查看详细的主板信息

dmidecode | grep -A16 "System Information$"
 

查看详细的内存信息

dmidecode | grep -A16 "Memory Device$"
dmidecode -t memory

【转】Linux查看内存大小和插槽的更多相关文章

  1. CENTOS LINUX查询内存大小、频率

    more /proc/meminfo dmidecode [root@barcode-mcs ~]# dmidecode -t memory linux下查看主板内存槽与内存信息 1.查看内存槽数.那 ...

  2. linux查看内存cpu占用

    linux查看内存cpu占用top 命令  按q退出 可以添加额外选项选择按进程或按用户查看如: top -u gitu PID:进程idPR:进程的优先级别,越小越优先被执行NInice:值VIRT ...

  3. Linux 查看内存命令

    Linux 查看内存命令 top命令, Linux的top命令提供Linux资源使用情况的实时更新信息.不仅可以查看Linux内存,也可以查看CPU以及各个进程之间的对资源的占用情况.使用方式如下: ...

  4. linux 查看内存的插槽数

    [root@web ~]# dmidecode|grep -P -A5 "Memory\s+Device"| grep Size | grep -v Range #linux查看内 ...

  5. Linux查看内存使用量和交换区使用量

    Linux查看内存使用量和交换区使用量 youhaidong@youhaidong-ThinkPad-Edge-E545:~$ free -m total used free shared buffe ...

  6. Linux查看内存,负载状态

    Linux查看内存,负载状态 查看内存使用情况  www.ahlinux.com cat /proc/meminfo MemTotal:       16332644 kB MemFree:     ...

  7. 在linux查看内存的大小

    用free -m查看的结果: # free -m          total    used    free     shared buffers     cached Mem:           ...

  8. 【转】Linux 查看内存(free buffer cache)

    转自:http://elf8848.iteye.com/blog/1995638 Linux下如何查内存信息,如内存总量.已使用量.可使用量.经常使用Windows操作系统的朋友,已经习惯了如果空闲的 ...

  9. 嵌入式 linux 查看内存

    在Windows系统中查看内存的使用情况很简单,想必大家都已经耳熟能详了,那么在linux系统如何查看内存使用情况呢?下面和大家分享在Linux下查看内存使用情况的free命令: [root@scs- ...

随机推荐

  1. js按钮浮动随手指方向移动而移动

    window.document.getElementById("moveDIV").addEventListener("touchmove", function ...

  2. iOS CFNetwork报错

    2016-11-16 10:05:35.082 天天送[46197:11758717] 46197: CFNetwork internal error (0xc01a:/BuildRoot/Libra ...

  3. This application is modifying the autolayout engine from a background thread, which can lead to engine corruption and weird crashes.

    -- :::] This application is modifying the autolayout engine from a background thread, which can lead ...

  4. 转载《 LayoutInflater 的inflate函数用法详解》

    很多人在网上问LayoutInflater类的用法,以及inflate()方法参数的含义,现解释如下: inflate()的作用就是将一个用xml定义的布局文件查找出来,注意与findViewById ...

  5. Scrolliview

    package com.example.scrollview; import android.os.Bundle;import android.app.Activity;import android. ...

  6. oracle数据迁移、备份等

    exp db  或者数据泵. 或者ETL工具

  7. JAVA的单例模式与延时加载

    延迟加载(lazy load)是(也称为懒加载),也叫延迟实例化,延迟初始化等,主要表达的思想就是:把对象的创建延迟到使用的时候创建,而不是对象实例化的时候创建.延迟加载机制是为了避免一些无谓的性能开 ...

  8. Unity全视角跟随鼠标右键转换视角实现——研究笔记

    using UnityEngine; using System.Collections; public class CameraMove : MonoBehaviour { public Transf ...

  9. C#压缩图片——高质量压缩方式

    传入Bitmap对象,以及新图片的长宽(Bitmap.Size),这样生成的就是跟原图尺寸一致的低质量图片 public Bitmap GetImageThumb(Bitmap mg, Size ne ...

  10. Redis的三种启动方式【转】

    Part I. 直接启动 下载 官网下载 安装 tar zxvf redis-2.8.9.tar.gz cd redis-2.8.9 #直接make 编译 make #可使用root用户执行`make ...