vzlist(8) Virtual Environments vzlist(8)

vzlist - VE listing utility

vzlist [-a] [-o name[,name...]] [-s [-]name] [-h pattern] [-H] [-S] [-n] [-N <-pattern>] [veid [veid ..] | -1]

vzlist -L

This utility is used for listing VEs. By default only running VEs are listed. If veid is/are specified, only specified VEs are displayed. VE ID of -1 is used to output VE IDs only, one per line.

--all, -a
list all VEs.
--sort, -s
specify sorting order, the '-' before parameter means sort in reverse order
--hostname, -h <pattern>
display only VEes whose hostname matches the pattern. The following wildcard characters can be used: *, ?, []. Note that wildcard characters should be properly escaped to avoid expansion by shell.
--name, -n
display VE name.
--name_filter, -N <pattern>
display only VEs whose hostname matches the pattern.
--no-header, -H
suppress displaying header
--stopped -S
display only stopped VEs
--list -L
list all format specifiers

These may be used to control both output format and sorting.
Suffix Description
.m maxheld
.b barrier
.l limit
.f failcnt
.s softlimit
.h hardlimit

For example:
vzlist -o veid,kmemsize,kmemsize.l -s kmemsize

Fixme1 FixmeToo
veid VEID
hostname HOSTNAME
name NAME
ip IP_ADDR
status STATUS
kmemsize KMEMSIZE
kmemsize.m KMEMSIZE.M
kmemsize.b KMEMSIZE.B
kmemsize.l KMEMSIZE.L
kmemsize.f KMEMSIZE.F
lockedpages LOCKEDP
lockedpages.m LOCKEDP.M
lockedpages.b LOCKEDP.B
lockedpages.l LOCKEDP.L
lockedpages.f LOCKEDP.F
privvmpages PRIVVMP
privvmpages.m PRIVVMP.M
privvmpages.b PRIVVMP.B
privvmpages.l PRIVVMP.L
privvmpages.f PRIVVMP.F
shmpages SHMP
shmpages.m SHMP.M
shmpages.b SHMP.B
shmpages.l SHMP.L
shmpages.f SHMP.F
numproc NPROC
numproc.m NPROC.M
numproc.b NPROC.B
numproc.l NPROC.L
numproc.f NPROC.F
physpages PHYSP
physpages.m PHYSP.M
physpages.b PHYSP.B
physpages.l PHYSP.L
physpages.f PHYSP.F
vmguarpages VMGUARP
vmguarpages.m VMGUARP.M
vmguarpages.b VMGUARP.B
vmguarpages.l VMGUARP.L
vmguarpages.f VMGUARP.F
oomguarpages OOMGUARP
oomguarpages.m OOMGUARP.M
oomguarpages.b OOMGUARP.B
oomguarpages.l OOMGUARP.L
oomguarpages.f OOMGUARP.F
numtcpsock NTCPSOCK
numtcpsock.m NTCPSOCK.M
numtcpsock.b NTCPSOCK.B
numtcpsock.l NTCPSOCK.L
numtcpsock.f NTCPSOCK.F
numflock NFLOCK
numflock.m NFLOCK.M
numflock.b NFLOCK.B
numflock.l NFLOCK.L
numflock.f NFLOCK.F
numpty NPTY
numpty.m NPTY.M
numpty.b NPTY.B
numpty.l NPTY.L
numpty.f NPTY.F
numsiginfo NSIGINFO
numsiginfo.m NSIGINFO.M
numsiginfo.b NSIGINFO.B
numsiginfo.l NSIGINFO.L
numsiginfo.f NSIGINFO.F
tcpsndbuf TCPSNDB
tcpsndbuf.m TCPSNDB.M
tcpsndbuf.b TCPSNDB.B
tcpsndbuf.l TCPSNDB.L
tcpsndbuf.f TCPSNDB.F
tcprcvbuf TCPRCVB
tcprcvbuf.m TCPRCVB.M
tcprcvbuf.b TCPRCVB.B
tcprcvbuf.l TCPRCVB.L
tcprcvbuf.f TCPRCVB.F
othersockbuf OTHSOCKB
othersockbuf.m OTHSOCKB.M
othersockbuf.b OTHSOCKB.B
othersockbuf.l OTHSOCKB.L
othersockbuf.f OTHSOCKB.F
dgramrcvbuf DGRAMRRB
dgramrcvbuf.m DGRAMRRB.M
dgramrcvbuf.b DGRAMRRB.B
dgramrcvbuf.l DGRAMRRB.L
dgramrcvbuf.f DGRAMRRB.F
numothersock NOTHSOCK
numothersock.m NOTHSOCK.M
numothersock.b NOTHSOCK.B
numothersock.l NOTHSOCK.L
numothersock.f NOTHSOCK.F
dcachesize DCACHESZ
dcachesize.m DCACHESZ.M
dcachesize.b DCACHESZ.B
dcachesize.l DCACHESZ.L
dcachesize.f DCACHESZ.F
numfile NFILE
numfile.m NFILE.M
numfile.b NFILE.B
numfile.l NFILE.L
numfile.f NFILE.F
numiptent NIPTENT
numiptent.m NIPTENT.M
numiptent.b NIPTENT.B
numiptent.l NIPTENT.L
numiptent.f NIPTENT.F
diskspace DQBLOCKS
diskspace.s DQBLOCKS.S
diskspace.h DQBLOCKS.H
diskinodes DQINODES
diskinodes.s DQINODES.S
diskinodes.h DQINODES.H
laverage LAVERAGE
cpulimit CPULIM
cpuunits CPUUNI

Returns 0 upon success.

Copyright (C) 2000-2007, SWsoft. Licensed under GNU GPL.
12 Sep 2006 OpenVZ