Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

cups queue sh

Rating
0 votes
Favoured:
0
Hits
147481
Files:
FileDescription
cups-queue.shcups-queue.sh
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Small script to locally check the queue of cups printers.
Small script to locally check the queue of cups printers.

It's actually a wrapper script around the lpq -P command:

QUEUE=`lpq -P $LPR | wc -l | sed 's/^ *//' | sed 's/ *$//'`