xref: /illumos-gate/usr/src/man/man8/lpsched.8 (revision d17be682a2c70b4505d43c830bbd2603da11918d)
te
Copyright 1989 AT&T Copyright (c) 2004 Sun Microsystems, Inc. All Rights Reserved.
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
LPSCHED 8 "Sep 3, 2004"
NAME
lpsched - start the LP print service
SYNOPSIS

lpsched [-f num_filters] [-n num_notifiers] [-p fd_limit]
 [-r reserved_fds]
DESCRIPTION

The lpsched command starts or restarts the LP print service.

The lpshut command stops the LP print service. Printers that are restarted using lpsched reprint (in their entirety) print requests that were stopped by lpshut. See lpshut(8).

It is recommended that you start and stop the LP print service using svcadm(8). See NOTES.

OPTIONS

The following options are supported: -f num_filters

Specifies the number of concurrent slow filters that may be run on a print server. A default value of 1 is used if none is specified. Depending on server configuration, a value of 1 may cause printers to remain idle while there are jobs queued to them.

-n num_notifiers

Specifies the number of concurrent notification processes that can run on a print server. A default value of 1 is used when none is specified.

-p fd_limit

Specifies the file descriptor resource limit for the lpsched process. A default value of 4096 is used if none is specified. On extremely large and active print servers, it may be necessary to increase this value.

-r reserved_fds

Specifies the number of file descriptors that the scheduler reserves for internal communications under heavy load. A default value of 2 is used when none is specified. It should not be necessary to modify this value unless instructed to do so when troubleshooting problems under high load.

EXIT STATUS

The following exit values are returned: 0

Successful completion.

non-zero

An error occurred.

FILES
/var/spool/lp/*

LP print queue.

SEE ALSO

lp (1), lpstat (1), svcs (1), attributes (7), smf (7), lpadmin (8), lpmove (8), lpshut (8), svcadm (8)

NOTES

The lpsched service is managed by the service management facility, smf(7), under the service identifier:

svc:/application/print/server

Administrative actions on this service, such as enabling, disabling, or requesting restart, can be performed using svcadm(8). The service's status can be queried using the svcs(1) command.