1lpsched(1M) System Administration Commands lpsched(1M)
2
3
4
6 lpsched - start the LP print service
7
9 lpsched [-f num_filters] [-n num_notifiers] [-p fd_limit]
10 [-r reserved_fds]
11
12
14 The lpsched command starts or restarts the LP print service.
15
16
17 The lpshut command stops the LP print service. Printers that are
18 restarted using lpsched reprint (in their entirety) print requests that
19 were stopped by lpshut. See lpshut(1M).
20
21
22 It is recommended that you start and stop the LP print service using
23 svcadm(1M). See NOTES.
24
26 The following options are supported:
27
28 -f num_filters Specifies the number of concurrent slow filters
29 that may be run on a print server. A default value
30 of 1 is used if none is specified. Depending on
31 server configuration, a value of 1 may cause
32 printers to remain idle while there are jobs queued
33 to them.
34
35
36 -n num_notifiers Specifies the number of concurrent notification
37 processes that can run on a print server. A default
38 value of 1 is used when none is specified.
39
40
41 -p fd_limit Specifies the file descriptor resource limit for
42 the lpsched process. A default value of 4096 is
43 used if none is specified. On extremely large and
44 active print servers, it may be necessary to
45 increase this value.
46
47
48 -r reserved_fds Specifies the number of file descriptors that the
49 scheduler reserves for internal communications
50 under heavy load. A default value of 2 is used
51 when none is specified. It should not be necessary
52 to modify this value unless instructed to do so
53 when troubleshooting problems under high load.
54
55
57 The following exit values are returned:
58
59 0 Successful completion.
60
61
62 non-zero An error occurred.
63
64
66 /var/spool/lp/* LP print queue.
67
68
70 See attributes(5) for descriptions of the following attributes:
71
72
73
74
75 ┌─────────────────────────────┬─────────────────────────────┐
76 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
77 ├─────────────────────────────┼─────────────────────────────┤
78 │Availability │SUNWpsu │
79 └─────────────────────────────┴─────────────────────────────┘
80
82 lp(1), svcs(1), lpstat(1), lpadmin(1M), lpmove(1M), lpshut(1M),
83 svcadm(1M), attributes(5), smf(5)
84
85
86
87
89 The lpsched service is managed by the service management facility,
90 smf(5), under the service identifier:
91
92 svc:/application/print/server
93
94
95
96
97 Administrative actions on this service, such as enabling, disabling, or
98 requesting restart, can be performed using svcadm(1M). The service's
99 status can be queried using the svcs(1) command.
100
101
102
103SunOS 5.11 3 Sep 2004 lpsched(1M)