HP-UX Reference (11i v1 05/09) - 1 User Commands N-Z (vol 2)
p
pdshutdown(1) pdshutdown(1)
(TO BE OBSOLETED)
command line. This option is equivalent to specifying the command-attribute
attributes .
Command Attributes
You may specify these attributes in a
-x "AttributeValuePairs
" string or in an attributes file designated
with the I -X AttributesFileName option.
attributes= AttributesFileName
Cause the designated attributes file to be read.
class=server
The only supported class for this command is
server.
message="MessageText
"
Specify the message that you want associated with the server being shutdown. You can use this mes-
sage to indicate the reason for shutting down the server or to provide other comments.
If the message attribute is not specified, the message already stored with the object remains
unchanged.
You can list this message by specifying
requested-attributes=message
with the pdls com-
mand.
when=WhenTime
Specify when the you want the shutdown to occur. WhenTime can be
after-current (default),
now,orafter-all.
now If the server is a Supervisor , the result of the command is to abort any currently printing
jobs, then shut down the supervisor. These job will be rescheduled to the next available printer
if the spooler is still active. If the spooler has been shutdown, the job is aborted. When the
spooler and supervisor become active again, the job will have to be submitted again.
If the server is a Spooler, the spooler shuts down immediately.
after-current (default)
If the server is a Supervisor , The supervisor continues to accept requests other than print
requests until the currently-printing jobs finish printing. Then the supervisor shuts down.
If the server is a Spooler, the spooler shuts down immediately.
after-all
The server (spooler or supervisor) continues to accept all requests except print requests until all
scheduled jobs finish printing. Then the server shuts down.
Object Attribute
There are no object attributes for this command.
Arguments
You must use the following argument value with the pdshutdown command:
ServerName Specify the server to shut down.
EXAMPLES
Shutdown a Server
To shut down supervisor SUPER1, enter the following command. This command also aborts all print jobs
that are currently printing and sets a message, "Down for maintenance".
pdshutdown -w now -m "Down for maintenance" SUPER1
SEE ALSO
pdstartspl(1M), pdstartsuv(1M)
STANDARDS CONFORMANCE
pdshutdown : POSIX 1387.4
Section 1−−764 Hewlett-Packard Company − 2 − HP-UX 11i Version 1: September 2005