- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- LPSTAT Hanging System
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-25-2000 07:13 PM
тАО09-25-2000 07:13 PM
LPSTAT Hanging System
TIA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-25-2000 10:25 PM
тАО09-25-2000 10:25 PM
Re: LPSTAT Hanging System
this delay could happen if you have remote printer which are not online.
By doing lpstat -t all remote printers would be queried by /usr/sbin/rlpstat which has a long timeout (approx. 30 seconds). If you have a couple of remote printers not online lpstat can be hanging long time.
The rlpstat command is stored in files that have the name of the printer queue in the directory /etc/lp/sinterface.
Looks like:
# /* @(#) $Revision: 72.2 $ */
# This model is for remote status operation.
/usr/sbin/rlpstat $*
Put you a C program (my_rlpstat.c) at attachment which terminates rlpstat after 1 sec.
Compile:
cc my_rlpstat.c -o /usr/local/bin/my_rlpstat
The change within your /etc/lp/sinterface files the line
/usr/sbin/rlpstat $*
to
/usr/local/bin/my_rlpstat $*
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-25-2000 10:31 PM
тАО09-25-2000 10:31 PM
Re: LPSTAT Hanging System
"http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0xa883c3d7fb78d4118fef0090279cd0f9,00.html"
May be that helps.
Lothar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-26-2000 01:11 AM
тАО09-26-2000 01:11 AM
Re: LPSTAT Hanging System
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-26-2000 01:26 AM
тАО09-26-2000 01:26 AM