Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

monitor(1) [netbsd man page]

monitor(1)                                                        monitor command                                                       monitor(1)

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), lpc(8), lpd(8), checkpc(8), lpr(1), lpq(1), lprm(1), printcap(5), lpd.conf(5), pr(1), lprng_certs(1), lprng_index_certs(1). 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 LPRng 2006-12-09 monitor(1)

Check Out this Related Man Page

LPBANNER(1)							  lpbanner filter						       LPBANNER(1)

NAME
lpbanner, pclbanner, psbanner - printer banners in text, PCL and PostScript SYNOPSIS
lpbanner [ -l length ] [ -w width ] [ -P printer ] [ -L bannername ] [ -n loginname ] [ -h host ] [ -J jobtitle ] [ -C class ] [ -? option args ] [ all ] DESCRIPTION
The lpbanner program is used to print a simple banner on a fixed size font printer, the pclbanner program generates a PCL banner and the psbanner program generates a PostScript banner. All information to be printed is passed using command line arguments. In order to be com- patible with vintage line printer spoolers, reads a line form standard input, but ignores the information. OPTIONS
-w width Page width in characters (default 132). -l length Page length in lines (default 60). -P printer printer queue for banner information. -L bannername Name used on banner as main name. -n loginname Name used on banner as login name. -h host Name used on banner as host name. -J jobtitle String used on banner as main title. -C class String used on banner as class. -? value All other options and arguments provided by LPRng are ignored. EXIT STATUS
The following exit values are returned: zero (0) Successful completion. non-zero (!=0) An error occurred. SEE ALSO
lpd.conf(5), lpc(8), lpd(8), checkpc(8), lpr(1), lpq(1), lprm(1), printcap(5), lpd.conf(5), pr(1), lprng_certs(1), lprng_index_certs(1). 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 LPRng 2006-12-09 LPBANNER(1)
Man Page

15 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Lightwight Process monitor

We've been having some problems with a specific program in our nightly processing, so I whipped up a little script to run to monitor it, and send an e-mail when it's complete (failure or not). My primary problem is that I cannot modify the binary or the script that calls it, since the developers... (7 Replies)
Discussion started by: LivinFree
7 Replies

2. UNIX for Dummies Questions & Answers

Monitoring connected users

Hello every body Happy new year and merry christmass. Is there a way to monitor the users who are connecting to a Solaris 2.8 Sun Spark workstation . I just need to monitor the users and the command they are usning during telnet or rsh to my workstation. Cheers (2 Replies)
Discussion started by: Reza Nazarian
2 Replies

3. UNIX for Dummies Questions & Answers

How to turn off duplex

I am using digital Unix and lpd. I have HP 4200n LaserJet TCP printer, but when I use lpr command, it always print duplex. I can turn off duplex feature at the panel of the printer, but then other Windows computer cannot print duplex. How can I set up /etc/printcap file so that it will be... (2 Replies)
Discussion started by: hiepng
2 Replies

4. UNIX for Dummies Questions & Answers

Dual Displays

I have a TV and a monitor hooked up to my box. Right now the system is displaying all the information on the TV instead of the monitor, obviously I want to switch this, as the TV is very impracticle for everything other than watching movies. I thought I remembered a command I used to use that... (2 Replies)
Discussion started by: Synbios
2 Replies

5. AIX

monitor aix bottleneck

Hi All, I would like to create a script that will monitor the server if it's heavy on the processing. I have already some scripts for monitoring disk capacity, application monitoring, etc but not on the bottleneck of the server processing. I don't know which one to measure/query. Can you... (2 Replies)
Discussion started by: itik
2 Replies

6. AIX

monitor on rs/6000

I bought an old IBM RS/6000 9114-275 1,00 GHz + 4 GB with AIX 6 Beta preinstalled. I have a TFT monitor at home. There's no fitting connector on the server for it. Does anyone know what type of monitor, or cable is common for this type of machine? I just never had to deal with things like this at... (4 Replies)
Discussion started by: rein
4 Replies

7. Shell Programming and Scripting

A bi directional script that will monitor the TCP/IP connections between two physical

Dear All , I'm looking for a unix script that will monitor the TCP/IP connections between two physical ip addresses and when it dectes an IP is down it generates an alarm and sends SMS to mobile numbers. Can any one help, I need this urgently. Waiting for positive replies.. ... (3 Replies)
Discussion started by: samura
3 Replies

8. Shell Programming and Scripting

2 listeners in a port

Hi, Is it possible to have 2 programs to listen in 1 port? the only job of that other program is to record or monitor down any request it recieves to that specific port. Is that possible? Won't it cause any conflicts? (4 Replies)
Discussion started by: fif14344
4 Replies

9. UNIX for Advanced & Expert Users

monitors like nmon or glance on linux

Hi Guys, I wonder if anyone knows if there is a monitor available out there that is equivalent or similar to the nmon monitor existing on AIX. I found top monitor too limited so I wonder if there is anything better to monitor my linuxs lpars running redhat. Thanks. (3 Replies)
Discussion started by: arizah
3 Replies

10. UNIX for Dummies Questions & Answers

Understanding 'ongoing monitoring'

Hello - very newbie here. I have a file that I want to monitor. Whenever a certain word is added to the end I want to be notified. I have figured out how to do it manually... ie: tail /path/to/file/TransferLog.txt | grep Total When I type this in - I get no output if the word 'Total'... (3 Replies)
Discussion started by: jeffh
3 Replies

11. Red Hat

Enabling port 4902

Dear all, I have two machines , Linux 1 and linux 2 ...From one server to another i am trying to telnet port 4902 ....which is not successful. This port is needed for data transfers for oracle monitoring. Kinldy can any one suggest how to open this port in linux machine manually... ... (2 Replies)
Discussion started by: jegaraman
2 Replies

12. Shell Programming and Scripting

How to check UDP port example = 31011?

We have open port UDP port 31011, how to verify if port were working or traffic were receive. (2 Replies)
Discussion started by: avtalan
2 Replies

13. Shell Programming and Scripting

Use “tail -f” to monitor and report, but the top line should be always fixed on the screen.

Title: Use “tail -f” to monitor and report, but the top line should be always fixed on the screen. Hi, dear Unix experts, I am trying to find a Unix command (or scripting) on how to continuously display a text file of its last several lines of contents. But during this displaying, I want some... (2 Replies)
Discussion started by: df3c
2 Replies

14. SCO

Sco Openserver Starting TCP/IP Services

Hi all, I have a customer whose sco unix server wasnt power off correctly and when booting it up I noticed that the boot up takes a while to finish the " Starting TCP services: snmpd routed lpd". after that the server is ready for login, but you cannot ping anything from the server (apart from... (2 Replies)
Discussion started by: CharlL
2 Replies

15. Shell Programming and Scripting

BASH logging to file, limit lines

BASH Gurus: Anyone know how to append continuous output command appending to a file, but limit that file to no more than 20 lines? The program I have running is simply monitoring my UDP port 53 for incoming packets endlessly. I just need to keep this file from going over 20 lines. Once the file... (3 Replies)
Discussion started by: scorpius2k1
3 Replies