HP-UX Virtual Partitions Administrator's Guide (includes A.03.05 and A.04.05)

Commands: vPars Manpages
The purpose of this document is to describe vPars concepts and how to perform common vPars
tasks. For detailed information on the vPars commands, including description, syntax, all the
command line options, and the required state of a virtual partition for each command, see the
vPars manpages.
NOTE: The vparresources(5) manpage contains critical information about the vPars commands,
including option precedence and the required state of a virtual partition prior to command
execution. The vparcreate(1M) and vparmodify(1M) manpages contain autoboot information.
Note the following on vPars manpages:
If your OS is setup to use manpage keywords and vPars is installed, you can run the following
to see the current list of vPars manpages.
# man -k vpar
For more information on manpage keywords and using catman -w, see the manpage
catman(1M) and the manual Managing Systems and Workgroups (11.11, 11.23) or HP-UX Systems
Administrator’s Guide (11.31), available at http://docs.hp.com.
As of this printing, the vPars manpages are:
vecheck(1), vparadmin(1M).vparboot(1M), vparconfig(1M), vparcreate(1M),
vparefiutil(1M),vparenv(1M), vparmodify(1M), vparremove(1M), vparreset(1M),
vparstatus(1M),vparutil(1M),vparresources(5),vpartition(5), vpmon(5)
Commands: vPars Commands Logging
Beginning with vPars A.03.02, vPars will log the vPars commands executed from the HP-UX
shell to the local syslog file (the syslog file of the virtual partition from which the vPars command
was executed).
Log File Location and Log Format
The default syslog file on HP-UX systems is/var/adm/syslog/syslog.log.
The format of the log entries is
date hostname vPars_command_name[pid]: user username:
vPars_command_line_text
date hostname vPars_command_name[pid]: exit status exit_status
where
vPars_command_name is the name of the vPars command which is sending messages to
syslog.
usernameis name returned by getlogin(). If no username is given by getlogin(), the
effective username or id will be used.
vPars_command_line_text is the vPars command line text as typed by the user.
pid is the pid (Process ID) of the command invocation. The PIDs shown will be the same
for both the command invocation syslog entry and the exit status syslog entry. This
allows matching the exit status with its corresponding command invocation.
Below are examples of vPars syslog entries.
Oct 29 19:44:30 winona2 vparutil[2947]: user root: vparutil -s
1/0/0/3/1.7.0 -i 7
Oct 29 19:44:30 winona2 vparutil[2947]: exit status 4
Oct 29 19:47:47 winona2 vparmodify[2962]: user root: /sbin/vparmodify
-p winona3 -a cpu::1
Commands: vPars Manpages 131