+2 votes
in Operating Systems by (71.8k points)
Can someone please tell me the command for checking CPU information and disk I/O speed of VPS?

1 Answer

+1 vote
by (349k points)
selected by
 
Best answer

Try the following command to check the disk i/o speed.

dd if=/dev/zero of=test bs=64k count=16k conv=fdatasync

[root@root ~]# dd if=/dev/zero of=test bs=64k count=16k conv=fdatasync
16384+0 records in
16384+0 records out
1073741824 bytes (1.1 GB) copied, 1.6068 s, 668 MB/s
 

Try the following command to see the details of the CPU.

cat /proc/cpuinfo

[root@root ~]# cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 60
model name      : Intel(R) Xeon(R) CPU E3-1240 v3 @ 3.40GHz
stepping        : 3
microcode       : 16
cpu MHz         : 3392.534
cache size      : 8192 KB
physical id     : 0
siblings        : 8
core id         : 0
cpu cores       : 4
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf cpuid_faulting pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm arat epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase bmi1 hle avx2 smep bmi2 erms invpcid rtm xsaveopt
bogomips        : 6785.06
clflush size    : 64
cache_alignment : 64
address sizes   : 39 bits physical, 48 bits virtual
power management:

Related questions

+2 votes
1 answer
+4 votes
1 answer
+4 votes
1 answer
asked Nov 16, 2021 in Operating Systems by kush (40.5k points)
+3 votes
1 answer
+2 votes
1 answer

...