Verifying LPD is running


 
Thread Tools Search this Thread
Operating Systems Solaris Verifying LPD is running
# 1  
Old 07-24-2012
Verifying LPD is running

Apologies in advance, I'm usually a Linux admin so I'm not well versed in Solaris administration.

In Linux there's usually an lpd executable running and you can check the process list for it to do a high level check on the state of the printing subsystem. Is the executable called the same in Solaris 9? I did a "lpstat -r" and it says the "scheduler" is running but I can't find an lpd executable running.

Any help you can give would be much appreciated.

- Joel
# 2  
Old 07-24-2012
Hi,

Just probably as easy to go with;

Code:
ss077a-root>    ps -ef | grep lp
    root   843     1   0   Jul 17 ?           0:02 /usr/lib/lp/local/lpsched
    root   855   843   0   Jul 17 ?           0:00 /usr/lib/lp/local/lpsched
appsfnip   860   855   0   Jul 17 ?           0:00 sh /etc/lp/interfaces/py2p0013 py2p0013-6481 appsfnip REPRINT.4314752 1  /var/s
appsfnip   971   970   0   Jul 17 ?           0:00 sh /etc/lp/interfaces/py2p0013 py2p0013-6481 appsfnip REPRINT.4314752 1  /var/s
appsfnip   973   972   0   Jul 17 ?           0:00 /usr/bin/sh /etc/lp/interfaces/model.orig/py2p0013 py2p0013-6481 appsfnip REPRI
appsfnip   970   860   0   Jul 17 ?           0:00 /usr/spool/lp/bin/lp.tell py2p0013
    root 10895 27109   0 14:36:43 pts/3       0:00 grep lp

OR you could;

Code:
ss077a-root>svcs -a | grep lp
offline        Jul_17   svc:/network/slp:default
ss077a-root>


Regards

Dave
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Verifying Record Length

Hi all, We are going through a total migration from AIX-based server framework to Linux-based servers. When I am testing *.sh and *.awk in a lower environments, it abends at the same step everytime in verifying the record length of the first row of the source file. I know this source file... (11 Replies)
Discussion started by: SoloXX
11 Replies

2. SCO

Replace Line Printer Daemon (LPD) with CUPS

hi Howto replace Line Printer Daemon (LPD) with CUPS on SCO 5.0.6? (3 Replies)
Discussion started by: ccc
3 Replies

3. SCO

LPD PRINTER CONFIGURATION

Dear All, I have configured a printer on a unix box to be printing on windows xp printer. Below are the steps followed:- Create the printer on the Windows XP box and share it as prt5 Enable unix printer services on windows XP box On unix box i make changes on hosts,hosts.equiv and .rhosts... (1 Reply)
Discussion started by: njoroge
1 Replies

4. SCO

lp: cannot lock /usr/spool/lpd/printer1/.seq

Hi. I'm receive thats error on my PC. lp: cannot lock /usr/spool/lpd/printer1/.seq This PC is a Windows pc running lpd on port 515. That its means? Thanks. PD. Sorry for my english! (0 Replies)
Discussion started by: sebpes
0 Replies

5. UNIX for Dummies Questions & Answers

restarting lpd service question

Hi, Im wondering, if I do a restart of my lpd service, will it clear the print queue? Or will the file in queue will still be there after the restart? Thank you (1 Reply)
Discussion started by: Nayas
1 Replies

6. UNIX for Dummies Questions & Answers

verifying tape backups

Hello all, how would i go about verifying that a tape is backing up data correctly other than restoring the backup. for example, what command would i use to check the tape for errors? Any and all help is appreciated -Coffee (0 Replies)
Discussion started by: coffeebrown
0 Replies

7. Programming

Verifying C++ program

Hi, Do we have any utility available on Unix machines to verify C++ programs. For C programs we have "lint". Is there any similar utility for C++? Thanks ------- Suman (1 Reply)
Discussion started by: suman_jakkula
1 Replies

8. UNIX for Dummies Questions & Answers

LPD and sophisticated documents

Hi all, I am using Solaris 8 and have several printers (HP lasers or inkjets) connected behind PCs, printing thus being controlled by LPD. All I can print is ASCII, not very keen, no images, no boxes etc. Is there any thread (I assure, I have been searching!) or discussion explaning how to set... (0 Replies)
Discussion started by: nulnul7
0 Replies

9. UNIX for Dummies Questions & Answers

lpd printing and a IP based printer on SCO

I am attempting to setup an IP based printer in a SCO environment. It is a cognitive printer. I attempted to add it via the HP interface but I could not get anything sent from the spooler to the printer in SCO? My questions is or are should this be setup as a local or remote printer? When I... (6 Replies)
Discussion started by: spglass
6 Replies
Login or Register to Ask a Question