0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Linuxサーバーのスペック調査手順(不明なサーバー)

Last updated at Posted at 2023-07-17

Linuxサーバーのスペック調査手順

参考にしたページ。

サンプルコード

lscpu
free
lsmem
lsblk

実行結果

Architecture:                    x86_64
CPU op-mode(s):                  32-bit, 64-bit
Byte Order:                      Little Endian
Address sizes:                   46 bits physical, 48 bits virtual
CPU(s):                          8
On-line CPU(s) list:             0-7
Thread(s) per core:              2
Core(s) per socket:              4
Socket(s):                       1
NUMA node(s):                    1
Vendor ID:                       GenuineIntel
CPU family:                      6
Model:                           85
Model name:                      Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
Stepping:                        7
CPU MHz:                         2500.000
BogoMIPS:                        5000.00
Hypervisor vendor:               KVM
Virtualization type:             full
L1d cache:                       128 KiB
L1i cache:                       128 KiB
L2 cache:                        4 MiB
L3 cache:                        35.8 MiB
NUMA node0 CPU(s):               0-7
Vulnerability Itlb multihit:     KVM: Mitigation: VMX unsupported
Vulnerability L1tf:              Mitigation; PTE Inversion
Vulnerability Mds:               Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown
Vulnerability Meltdown:          Mitigation; PTI
Vulnerability Mmio stale data:   Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown
Vulnerability Retbleed:          Vulnerable
Vulnerability Spec store bypass: Vulnerable
Vulnerability Spectre v1:        Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2:        Mitigation; Retpolines, STIBP disabled, RSB filling
Vulnerability Srbds:             Not affected
Vulnerability Tsx async abort:   Not affected
Flags:                           fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq 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 3dnowprefetch invpcid_single pti fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx avx512f avx512dq rdseed adx smap clflushopt clwb avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves ida arat pku ospke
              total        used        free      shared  buff/cache   available
Mem:       32399948     2095068     3515112    14663188    26789768    15054936
Swap:     292968744     2313728   290655016
RANGE                                  SIZE  STATE REMOVABLE  BLOCK
0x0000000000000000-0x00000000bfffffff    3G online       yes   0-23
0x0000000100000000-0x0000000827ffffff 28.6G online       yes 32-260

Memory block size:       128M
Total online memory:    31.6G
Total offline memory:      0B
NAME         MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
loop0          7:0    0  55.7M  1 loop 
loop1          7:1    0  53.3M  1 loop 
loop2          7:2    0  67.8M  1 loop 
loop3          7:3    0  53.3M  1 loop 
loop4          7:4    0  63.5M  1 loop 
loop5          7:5    0  49.6M  1 loop 
loop6          7:6    0  55.7M  1 loop 
loop7          7:7    0  63.2M  1 loop 
loop8          7:8    0  24.4M  1 loop 
loop9          7:9    0  91.9M  1 loop 
loop11         7:11   0  24.8M  1 loop 
loop12         7:12   0  63.5M  1 loop 
nvme0n1      259:0    0   100G  0 disk 
├─nvme0n1p1  259:2    0  99.9G  0 part /workspace
├─nvme0n1p14 259:3    0     4M  0 part 
└─nvme0n1p15 259:4    0   106M  0 part 
nvme1n1      259:1    0 279.4G  0 disk [SWAP]

成果物

以上。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?