manpages.info - online man pages   

SunOS man pages : lpsched (1)

Maintenance Commands                                  lpsched(1M)

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 ser- vice. 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(1M).

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 confi- guration, 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. SunOS 5.8 Last change: 8 Jan 1998 1 Maintenance Commands lpsched(1M)

FILES

/var/spool/lp/* LP print queue.

ATTRIBUTES

See attributes(5) for descriptions of the following attri- butes: ____________________________________________________________ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | |_____________________________|_____________________________| | Availability | SUNWpsu | |_____________________________|_____________________________|

SEE ALSO

lp(1), lpstat(1), lpadmin(1M), lpmove(1M), lpshut(1M), attributes(5) System Administration Guide, Volume 1 SunOS 5.8 Last change: 8 Jan 1998 2