2018/03/23

Linux Machine Hardware Information Check Tool

dmidecode
https://www.nongnu.org/dmidecode/
Release download
http://download.savannah.gnu.org/releases/dmidecode/

apt-get install dmidecode
or
yum install dmidecode


dmidecode -h

Usage: dmidecode [OPTIONS]
Options are:
 -d, --dev-mem FILE     Read memory from device FILE (default: /dev/mem)
 -h, --help             Display this help text and exit
 -q, --quiet            Less verbose output
 -s, --string KEYWORD   Only display the value of the given DMI string
 -t, --type TYPE        Only display the entries of given type
 -u, --dump             Do not decode the entries
     --dump-bin FILE    Dump the DMI data to a binary file
     --from-dump FILE   Read the DMI data from a binary file
 -V, --version          Display the version and exit

dmidecode -t

dmidecode: option requires an argument -- 't'
Type number or keyword expected
Valid type keywords are:
  bios
  system
  baseboard
  chassis
  processor
  memory
  cache
  connector
  slot

沒有留言:

張貼留言