OpenVZ Forum


Home » Mailing lists » Users » How to identify the physical machine when you are inside the container?
How to identify the physical machine when you are inside the container? [message #42646] Mon, 09 May 2011 08:13 Go to previous message
Benjamin Henrion is currently offline  Benjamin Henrion
Messages: 51
Registered: February 2011
Member
Hi,

Do you have any trick to identify the physical machine (with some kind
of cat /proc/something) when you are inside the container?

I want to just get the hostname of the HN when I am inside the containers.

Any simple of doing it?

Best,

--
Benjamin Henrion <bhenrion at ffii.org>
FFII Brussels - +32-484-566109 - +32-2-4148403
"In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators."
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: /usr/sbin/vzmigrate: line 312: vzctl: command not found
Next Topic: Slackware 13 weirdness
Goto Forum:
  


Current Time: Fri Oct 18 11:45:34 GMT 2024

Total time taken to generate the page: 0.05019 seconds