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) General Commands Manual LPBANNER(1)NAME
lpbanner, pclbanner, psbanner - printer banners in text, PCL and PostScript
SYNOPSIS
lpbanner [ -llength ] [ -wwidth ] [ -Pprinter ] [ -Lbannername ] [ -nloginname ] [ -hhost ] [ -Jjobtitle ] [ -Cclass ] [ -?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 arguements. In order to be
compatible 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).
HISTORY
LPRng is a enhanced printer spooler system with functionality similar to the Berkeley LPR software. The LPRng mailing list is
lprng@lprng.com; subscribe by sending mail to lprng-request@lprng.com with the word subscribe in the body. The software is available from
ftp://ftp.lprng.com/pub/LPRng.
AUTHOR
Patrick Powell <papowell@lprng.com>.
LPRng LPRng-3.9.0 LPBANNER(1)
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)
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)
Hi,
I am working with Sun Solaris 9 Sparc,Sun-Blade-100.In my application,I need to monitor the UPS using Serial port.
When I am using JRE 1.4 in my application,I am able to monitor it but when I am upgrading the JRE version from 1.4 to JRE1.6. I am not able to monitor the UPS.It is showing the... (1 Reply)
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)
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)
Hi,
Now I am programming to communicate with some network printer through TCP Socket program.By sending command "\033E 1\r" to printer,causes, check the port for error normally.
In my case i used following code
bytesSent = send( sockfd, "\033E 1\r",sizeof("\033E 1\r"), 0);
... (1 Reply)
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)
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)
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)
Hi,
Although I'm not at my nature habitat, I need some assistance in having a basic windows script to monitor TCP connections from a host to other hosts.
script heed to display the following:
1. ping a remote host/hosts every 1 second (or other adjustable timer)
2. Display a fail/success.
3.... (2 Replies)