Rechercher une page de manuel
vzlist
Langue: en
Version: 304251 (debian - 07/07/09)
Section: 8 (Commandes administrateur)
NAME
vzlist - containers listing utilitySYNOPSIS
vzlist [-a] [-o name[,name...]][-s [-]name] [-h pattern]
[-H] [-S] [-n] [-N -pattern]
[CTID [CTID ...] | -1]
vzlist -L
DESCRIPTION
This utility is used for listing containers and their parameters. By default only running containers are listed. If one or more CTIDs are specified, only specified containers are displayed. CTID of -1 is used to output CT IDs only, one per line.OPTIONS
- -a, --all
- list all containers.
- -o, --output name[,name...]
- display only parameters specified by names (see STANDARD FORMAT SPECIFIERS below).
- -s, --sort [-]name
- specify sorting order. The - before parameter means sorting in reverse order.
- -h, --hostname pattern
- display only containers whose hostnames matches the pattern. The following wildcard characters can be used: *, ?, []. Note that wildcard characters should be properly escaped to avoid expansion by shell.
- -d, --description pattern
- display only containers with descriptions matching the pattern. The following wildcard characters can be used: *, ?, []. Note that wildcard characters should be properly escaped to avoid expansion by shell.
- -n, --name
- display container names instead of hostnames.
- -N, --name_filter pattern
- display only containers whose names matches the pattern. See --hostname for pattern description.
- -H, --no-header
- suppress displaying header.
- -S, --stopped
- list only stopped containers.
- -L, --list
- list all available format specifiers.
STANDARD FORMAT SPECIFIERS
These may be used to control both output format (-o, --output) and sorting (-s, --sort).Suffix | Description |
| |
.m | maxheld |
.b | barrier |
.l | limit |
.f | failcnt |
.s | softlimit |
.h | hardlimit |
Value | Header |
| |
ctid | CTID |
hostname | HOSTNAME |
name | NAME |
description | DESCRIPTION |
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 |
For example:
vzlist -o ctid,kmemsize,kmemsize.l -s kmemsize
RETURN CODE
Returns 0 upon success.COPYRIGHT
Copyright (C) 2000-2008, Parallels, Inc. Licensed under GNU GPL.Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre