vecheck.1 (2010 09)
v
vecheck(1) vecheck(1)
NAME
vecheck - check for virtual partition environment
SYNOPSIS
vecheck
DESCRIPTION
The vecheck command uses its exit status to report whether or not the command has been run in a vir-
tual partition (vPars) environment. The result can be used to alter command flow in a script.
Options
The
vecheck command has no option. Any text beyond the command name itself is ignored.
Output
The
vecheck command displays no output.
RETURN VALUE
The
vecheck command exits with one of the following values:
0 The command is run in a vPars environment.
255 The command is run in a non-vPars environment.
EXAMPLES
In a vPars environment:
vecheck
echo $?
0
In a non-vPars environment:
vecheck
echo $?
255
ERRORS
There is no error condition.
AUTHOR
vecheck was developed by the Hewlett-Packard Company.
SEE ALSO
vparboot(1M), vparcreate(1M), vparconfig(1M), vpardump(1M), vparefiutil(1M), vparenv(1M),
vparextract(1M), vparmodify(1M), vparreloc(1M), vparremove(1M), vparreset(1M), vparstatus(1M),
vparutil(1M), icod(5), vparresources(5), vpartition(5), vpmon(5).
HP-UX 11i Version 3: September 2010 − 1 − Hewlett-Packard Company 1