Useless, but still: View in what OpenVZ Container are you in

1. Logon on the machine and execute the following command:

[codesyntax lang="bash"]

cat /proc/vz/veinfo | awk '{print "ID: "$1 " - IP: "$4}'

[/codesyntax]

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.