合规国际互联网加速 OSASE为企业客户提供高速稳定SD-WAN国际加速解决方案。 广告
#### 查看内存信息 ~~~ free -m ~~~ 结果 ~~~ total(总数) used(已使用) free(剩余) shared buff/cache available Mem: 976 143 414 6 418 643 Swap: 2047 0 2047 ~~~ #### 硬盘 ~~~ df -h ~~~ 结果 ~~~ 文件系统 容量 已用 可用 已用% 挂载点 /dev/mapper/centos-root 17G 1.4G 16G 9% / devtmpfs 478M 0 478M 0% /dev tmpfs 489M 0 489M 0% /dev/shm tmpfs 489M 6.8M 482M 2% /run tmpfs 489M 0 489M 0% /sys/fs/cgroup /dev/sda1 1014M 125M 890M 13% /boot tmpfs 98M 0 98M 0% /run/user/0 ~~~ #### 负载 ~~~ w ~~~ 结果 ~~~ 17:58:31 up 1:09, 3 users, load average(平均负载): 0.00(最近1分钟负载), 0.01(最近5分钟负载), 0.05(最近15分钟负载) USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT root tty1 00:42 ? 0.76s 0.76s -bash root pts/0 192.168.139.1 17:04 38:07 0.10s 0.07s bash root pts/1 192.168.139.1 17:30 7.00s 0.11s 0.00s w ~~~ 负载在0.6到0.7之间是健康的, 大于0.7就比较危险了. #### 查看CUP信息 ~~~ cat w/proc/cpuinfo ~~~ 结果 ~~~ processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 142 model name : Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz stepping : 9 microcode : 0x62 cpu MHz : 2710.953 cache size : 3072 KB physical id : 0 siblings : 1 core id : 0 cpu cores : 1 apicid : 0 initial apicid : 0 fpu : yes fpu_exception : yes cpuid level : 22 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflus h dts mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts nopl xtopology tsc_reliable nonstop_tsc aperfmperf eagerfpu pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3 dnowprefetch epb fsgsbase tsc_adjust bmi1 avx2 smep bmi2 invpcid rdseed adx smap xsaveopt dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp bogomips : 5424.00 clflush size : 64 cache_alignment : 64 address sizes : 42 bits physical, 48 bits virtual power management: ~~~