OpenVZ Forum


Home » General » Support » How to display/see VE names.
How to display/see VE names. [message #30241] Sun, 18 May 2008 16:41 Go to next message
joelee is currently offline  joelee
Messages: 63
Registered: April 2006
Member
Hi All,

I am configuring my VE using the --name option. Is there a way to display or view the ve names when I use the vzlist or vzlist -a command? Note: I'd like to see both the "hostname" and the "name".

This is the command I use to set the name for the ve:

vzctl set 111 --name ve-name --save.

Joe
Re: How to display/see VE names. [message #30242 is a reply to message #30241] Sun, 18 May 2008 16:48 Go to previous message
curx
Messages: 739
Registered: February 2006
Location: Nürnberg, Germany
Senior Member

use vzlist command with the output parameter:

# vzlist -o veid,hostname,name
VEID HOSTNAME NAME
.... .... ....

See more details on manpage vzlist.

Previous Topic: WARNING at time.c:580 clock_t_to_jiffies()
Next Topic: Openvz and emc SAN
Goto Forum:
  


Current Time: Wed Nov 13 21:05:09 GMT 2024

Total time taken to generate the page: 0.05193 seconds