Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Shells Virtual Desktop
BMail.ag - Secure Email Service
Server.net
CPLicense.net
VPS Server
Buy VPN
Vultr
VMs for AI
HostDare
ReliableSite White-Label Dedicated Hosting for Resellers
InterServer VPS
BMail.ag - Secure Email Service
Best VPN
High-Performance Bare Metal Server Solutions
Karvl.com
Server Mania Cloud Hosting
DataWagon Hosting
AlphaVPS Hosting
Evoxt.com
Clouvider
VPS Hosting with NVMe
Residential IPs in the US & 4G Mobile Proxies in EU & US with Unlimited Bandwidth
ReliableSite White-Label Dedicated Hosting for Resellers
Rabisu - Hosting Solutions
Shells Virtual Desktop
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

How to know how much neighbours you've got in your OpenVZ VPS

FredQcFredQc Member
edited May 2015 in Tutorials

Have you ever wonder how much containers are running on the VPS node you're at ? There is a little trick I found while browsing Reddit:

grep devices /proc/cgroups

This should returns something like this:

devices 1 20 1

20 is the number of neighbours you have

Be advised that this works only with recent OpenVZ kernels and a patch have already been provided to "mask" this information to the end-user. Because it's providers little secret, you know ?

If you get "1" as the second number, the patch has been applied on the node. If you see nothing, your provider run an ancient Kernel.

So, I tried this little trick on my VPSes that use OpenVZ:

ImpactVPS $7 bundle devices 1 93 1

ReliableHostingServices $2 VPS devices 3 71 1

TacVPS (GVH) $7 VPS devices 4 22 1

ZXPlay 800GB HDD Special devices 4 15 1

My other VPS shows 1 or nothing.

«13

Comments

Sign In or Register to comment.