Unix Printer Monitoring Script
In Unix, there’s no command that we can use to monitor the printing queue on a defined Unix printer.
What we can do was to write a shell script that will loop in defined seconds to check for the printer status
Unix printer status checking command was lpstat and the command below will loop every 4 seconds to check on the printer status
while true do lpstat <printer name> sleep 4 done;
The looping of this Unix command will check the Unix printer status, you may modified the command to output the result into a flat file too.
Related Posts
- How To Check Printer IP Address In Unix
- Oracle Pasta Printer Driver
- Unix Command Delete Print Job
- Oracle DB Monitoring Script
- Oracle I/O Monitoring Script
PreviousNext» Reset IAS_ADMIN Password In OEM
Leave a Comment



