View Machine Model:
Dmidecode | grep "Product Name"
To View network card information:
DMESG | Grep-ieth
To view CPU information:
Cat/proc/cpuinfo
only Look CPU Model:
Cat/proc/cpuinfo | grep name | Cut-f2-d: | Uniq-c
To view the number of physical CPUs:
grep "Physical ID"/proc/cpuinfo|sort-u|wc-l
To view the number of cores per physical CPU:
grep "CPU Cores"/proc/cpuinfo|uniq
To view the number of logical CPUs on each physical CPU:
grep "siblings"/proc/cpuinfo|uniq
To view the number of logical CPUs:
Cat/proc/cpuinfo |grep "Processor" |sort-u|wc-l
To view memory information:
Cat/proc/meminfo
To view hard disk information:
Fdisk-l
To view system kernel information:
Uname-a
To view system release information:
cat/etc/issue| grep Linux
Total Server CPU Utilization (Safety range/threshold <=90%):
Top
Server Memory Utilization (Safety range/threshold <=90%):
Cat/proc/meminfo --"Memory usage Calculation formula: 100* (memtotal-memfree-buffers-cached)/memtotal"
System hard Drive utilization (Safety range/threshold <= 7 0%):
Df-lm
J Ava CPU usage of the service:
jconsole Tool View - Select the appropriate service entry in the local process
Service Memory Usage:
jstat-heap pid "pid is process ID"
Domain GC Reclamation:
JSTAT-GCUTILPID 10000- -"10000 indicates once in 10 seconds" -represents the execution -Times "
View server hardware configuration information and service usage resource commands in a Linux environment