Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
cups queue sh
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/ *$//'`
It's actually a wrapper script around the lpq -P command:
QUEUE=`lpq -P $LPR | wc -l | sed 's/^ *//' | sed 's/ *$//'`
Reviews (0)
Be the first to review this listing!