III. hard disk problems
[@ Ltv_125 opt] # df-h-T
Filesystem Type Size Used Avail Use % Mounted on
/Dev/sda1 ext3 3.9G 542 M 3.2G 15%/
/Dev/sda6 ext3 791G 20G 730G 3%/opt
/Dev/sda3 ext3 3.9G 651 M 3.1G 18%/var
/Dev/sda5 ext3 4.9G 2.2G 2.5G 47%/usr
Tmpfs 16G 40 K 16G 1%/dev/shm
2. $ dmidecode
Dmidecode allows you to obtain hardware information in Linux.
Dmidecode complies with the SMBIOS/DMI standard. the output information includes BIOS, system, Motherboard, processor, memory, cache, and so on.
Usage: dmidecode [OPTIONS]
Options are:
-D, -- dev-mem FILE Read memory from device FILE (default:/dev/mem)
Reads information from a device file. the output content is the same as the standard output without parameters.
-H, -- help Display this help text and exit
Show Help information
-Q, -- quiet Less verbose output
Show less simplified information
-S, -- string KEYWORD Only display the value of the given DMI string
Only information of the specified DMI string is displayed.
-T, -- type TYPE Only display the entries of given type
Display only the information of a specified entry
-U, -- dump Do not decode the entries
Display undecoded original entry content
-- 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
? Show version information
2.1 dmidecode string and type list
(1) Valid string keywords are:
Bios-vendor
Bios-version
Bios-release-date
System-manufacturer
System-product-name
System-version
System-serial-number
System-uuid
Baseboard-manufacturer
Baseboard-product-name
Baseboard-version
Baseboard-serial-number
Baseboard-asset-tag
Chassis-manufacturer
Chassis-type
Chassis-version
Chassis-serial-number
Chassis-asset-tag
Processor-family
Processor-manufacturer
Processor-version
Processor-frequency
(2) Valid type keywords are:
Bios
System
Baseboard
Chassis
Processor
Memory
Cache
Connector
Slot
(3) list of all types
0 BIOS
1 System
2 Base Board
3. Chassis
4 Processor
5 Memory Controller
6 Memory Module
7 Cache
8 Port Connector
9 System Slots
10 On Board Devices
11 OEM Strings
12 System Configuration Options
13. BIOS Language
14 Group Associations
15 System Event Log
16 Physical Memory Array
17 Memory Device
18 32-bit Memory Error
19 Memory Array Mapped Address
20 Memory Device Mapped Address
21 Built-in Pointing Device
22 Portable Battery
23 System Reset
24 Hardware Security
25 System Power Controls
26 Voltage Probe
27 Cooling Device
28 Temperature Probe
29 Electrical Current Probe
30 Out-of-band Remote Access
31 Boot Integrity Services
32 System Boot
33 64-bit Memory Error
34 Management Device
35 Management Device Component
36 Management Device Threshold Data
37 Memory Channel
38 IPMI Device
39 Power Supply
40 Additional Information
41 Onboard Device
2.2 Command usage example
View Server model: dmidecode | grep 'product name'
View the Serial Number of the motherboard: dmidecode | grep 'serial number'
View the system serial number: dmidecode-s system-serial-number
View memory information: dmidecode-t memory
View OEM information: dmidecode-t 11
For more usage of Dmidecode, you can specify the-h option to query
Running dmidecode without option usually outputs all hardware information.
Dmidecode has a very useful option-t, which can output relevant information according to the specified type,
To obtain information about the processor,
You can execute:
$ Dmidecode-t processor
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.