V
V
valkiry2020-02-07 13:50:32
Windows
valkiry, 2020-02-07 13:50:32

How to check VPS or dedicated server?

Bought a dedicated server. I would like to somehow make sure that it is really dedicated, and not a VPS.
Is there any algorithm?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
R
Ruslan Fedoseev, 2020-02-07
@valkiry

lspci
dmesg
parse the list of devices.

S
Sanes, 2020-02-07
@Sanes

hostnamectl

Chassis: container
Chassis: vm
Chassis: server
If virtual, then there will be a Virtualization: item indicating the technology.

R
Roman Sokolov, 2020-02-08
@jimquery

Generally, nested virtualization is not supported, although there are exceptions. The easiest way to check is to install virtualbox, create a virtual machine and run it.

M
metajiji, 2020-02-08
@metajiji

$ systemd-detect-virt

Y
Yaroslav, 2020-02-13
@xenon

In addition to the fact that they answered you correctly - measure it with a benchmark, for example, https://github.com/kdlucas/byte-unixbench . Also: cat /proc/cpuinfo
It doesn't really matter if it's physical or virtual, it's more important how much power it puts out. Some weak physical servers may be weaker than a good virtual machine.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question