How the operating system server model

A, DOS command to view the configuration of the server
1. Query the number of CPU
CAT / proc / cpuinfo | grep PHYSICAL | the Sort -n | uniq | WC the -l
2. query server model
dmidecode | grep "Product Name"
or
dmidecode -s system- name-Product
3. Check several core CPU
CAT / proc / cpuinfo | grep PHYSICAL | the Sort -n | uniq -c
4. Check CPU information <model>
CAT / proc / cpuinfo | grep name | Cut -f2 -d: | uniq
5. Check CPU running median
# LONG_BIT the getconf
32
(described in 32bit current CPU operation mode, but does not mean that the CPU does not support 64bit)
# CAT / proc / cpuinfo | grep the flags | grep 'LM' | -l WC
. 8
(results is greater than 0, indicating 64bit support calculation. lm refers to long mode, lm is supported 64bit)
6. the view the current operating system kernel information
the uname -a
7. the rate card See
ethtool eth0
8. the view the current operating system release information
lsb_release -d
9. Check the number of memory slots, how many slots each memory has been used much.
Dmidecode | grep -P -A5 "Memory \ S + Device" | grep Size | grep -v the Range | CAT -n
10. Check memory frequency
dmidecode | grep -A16 "Memory Device" | grep 'Speed' | CAT -n
11. viewing server serial number <for DELL. LENOVO is not displayed>
dmidecode-Serial-Number The -s The chassis
12. For information DELL servers available through DSET
DSET tool 2.2 Instructions for use (Windows version):
DSET tool 2.1 Instructions for use (Linux version):

Guess you like

Origin www.cnblogs.com/xiaozengzeng/p/12498431.html