MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


System Administration Commands                        lpsched(1M)



NAME
     lpsched - start the LP print service

SYNOPSIS
     lpsched [-f numfilters] [-n numnotifiers] [-p fdlimit]
          [-r reservedfds]


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).


     It is recommended that you start  and stop the LP print ser-
     vice using svcadm(1M).  See NOTES.

OPTIONS
     The following options are supported:

     -f numfilters      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 numnotifiers    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 fdlimit         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  neces-
                         sary to increase this value.


     -r reservedfds     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



SunOS 5.11           Last change: 3 Sep 2004                    1






System Administration Commands                        lpsched(1M)



                         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.


ATRIBUTES
     See attributes(5) for descriptions of the  following  attri-
     butes:



     
           ATRIBUTE TYPE               ATRIBUTE VALUE       
    
     Availability                 SUNWpsu                     
    


SEE ALSO
     lp(1),   svcs(1),   lpstat(1),   lpadmin(1M),    lpmove(1M),
     lpshut(1M), svcadm(1M), attributes(5), smf(5)


NOTES
     The lpsched service is managed  by  the  service  management
     facility, smf(5), 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(1M). The service's status can be  queried  using  the
     svcs(1) command.





SunOS 5.11           Last change: 3 Sep 2004                    2



OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™