---
name: "monitor"
section: "1"
platform: "linux"
package: "lprng"
version: "3.8.B-9"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/monitor"
---

# monitor(1)

receive logging information from LPD

## NAME

monitor - receive logging information from LPD

## SYNOPSIS

**monitor** \[ *-u* \] \[ *-t* \] \[ port \]

## DESCRIPTION

The **monitor** program is a template for a printer status monitoring program. It will open the specified TCP and/or UDP port, and then wait for accounting or other information to be sent. It prints this information on it standard output.

## OPTIONS

- **-u**

  wait for connections on the UDP port.

- **-t**

  wait for connections on the TCP port.

- **port**

  Use the specified port number.

## EXIT STATUS

The following exit values are returned:

- **zero (0)**

  Successful completion.

- **non-zero (!=0)**

  An error occurred.

## SEE ALSO

[lpd.conf(5)](/lpd.conf/5.md), [lpc(8)](/lpc/8.md), [lpd(8)](/lpd/8.md), [checkpc(8)](/checkpc/8.md), [lpr(1)](/lpr/1.md), [lpq(1)](/lpq/1.md), [lprm(1)](/lprm/1.md), [printcap(5)](/printcap/5.md), [lpd.conf(5)](/lpd.conf/5.md), [pr(1)](/pr/1.md), [lprng\_certs(1)](/lprng_certs/1.md), [lprng\_index\_certs(1)](/lprng_index_certs/1.md).

## AUTHOR

Patrick Powell \<papowell@lprng.com\>.

## HISTORY

LPRng is a enhanced printer spooler system with functionality similar to the Berkeley LPR software. The LPRng developer mailing list is lprng-devel@lists.sourceforge.net; subscribe by visiting  **https://lists.sourceforge.net/lists/listinfo/lprng-devel** or sending mail to  **lprng-request@lists.sourceforge.net** with the word  *subscribe* in the body.\
 The software is available via  **http://lprng.sourceforge.net**
