Sendpage::Queue(3pm) User Contributed Perl Documentation Sendpage::Queue(3pm)NAME
Queue.pm - implements a simple directory-based file queue
SYNOPSIS
$queue=Sendpage::Queue->new($dir);
while ($queue->ready()) {
$filename=$queue->file();
$fh=$queue->getReadyFile();
if ($can_remove_file) {
$queue->fileToss();
}
else {
$queue->fileDone();
}
}
# open a new queue file
$fh=$queue->getNewFile();
# ... do things to the file handle here
# release the file
$queue->doneNewFile();
DESCRIPTION
This is a module for use in sendpage(1).
BUGS
Need to write more docs.
AUTHOR
Kees Cook <kees@outflux.net>
SEE ALSO perl(1), sendpage(1), Sendpage::KeesConf(3), Sendpage::KeesLog(3), Sendpage::Modem(3), Sendpage::PagingCentral(3), Sendpage::PageQueue(3),
Sendpage::Page(3), Sendpage::Recipient(3)COPYRIGHT
Copyright 2000 Kees Cook.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.10.0 2008-01-03 Sendpage::Queue(3pm)
Work problem:
Need to set up a job to periodically check that the number of entries in the mail queue.
I'm able to do the following: mailq | grep "Mail Queue"
Which returns: Mail Queue (7 requests)
Unfortunately I'm not sure how I select between `(` and `requests`?
... (2 Replies)
Hello,
I am trying to clear my mail queue with the following command:
rm /var/spool/mqueue/*
But when I do this I get this error:
/bin/rm: Argument list too long.
Can someone tell me what that error means and what I can do to correct it so I can clear my mail queue?
Thanks (2 Replies)
sorry for the trouble......
i have this file that contains the following:
00:00:21 Queue key, Queue Name=
00:00:21 Sending Message :<EXGC-EXGU xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<trans_id>EXGC</trans_id>
<sys_prefix>GSYS</sys_prefix>
... (3 Replies)
Hello,
i was wondering if you could assist me in the following situation:
i am trying to queue a group execution commands (same command but different parameters) submited from an openVMS system to a Unix system (HP UX). The commands should run in sequence; the next starts after prev finish... (5 Replies)
Hi,
Here is the output of lpstat. I would like to read value of Queue which is(abxxxxb1)and status that is DOWN in first line. i dont care what is in second line. any one can help me.thanks
Queue Dev Status Job Files User PP % Blks Cp Rnk
------- ----- ---------... (5 Replies)
Qspace ABC
Queue doCol: true
Queue order: fifo
Queue setCol: red
Queue order: fifo
Qspace XYZ
Queue getCol: true
Queue order: fifo
I need to append every line in this file with Qspace & Queue, so that final o/p shall look like this,
Qspace: ABC Queue: doCol
Qspace: ABC Queue: doCol... (2 Replies)
I have a file with following data :
Qspace: COLOR: Queue: doColor
Qspace: COLOR: Queue order: fifo
Qspace: COLOR: Out of order: none
Qspace: COLOR: Retries: 5
Qspace: COLOR: Queue: setColor
Qspace: COLOR: Queue order: fifo
Qspace: COLOR: Out of order: none
Qspace: COLOR: Retries: 5... (4 Replies)
Hello,
I have input file with queue names
No.esprd.Queue|No.esdev.Queue|||n|120|No_User||No_User|
No.esdev.Queue|No.esdev.Queue|||n|120|No_User||No_User|
I have to check if the input file contains word "esprd" and the number of times it occurs. I will have to do further... (22 Replies)
Queue on node in domain
description :
type : local
max message len : 104857600
max queue depth : 5000
queue depth max event : enabled
persistent msgs : yes
backout threshold : 0
msg delivery seq :... (4 Replies)
dear friends ,
in my work i have to monitor some system performance in hourly basis by runing some commands , for example (lpstat) to know that all the queue is ready
how can i create webpage and connect it with the server (AIX operating system) and make this page refreshed every 10 second and... (12 Replies)
I am trying to print from Aix 6.1 using a remote queue to a Brother 7360N
All in one, I can see the printer, but only output is blank pages. My smit setup is:
Name of queue: testprt
Hostname if Remote Printer: testprt (I added name to etc/hosts)
Name of queue on remote printer: testprt (I... (4 Replies)
I have queue.txt with the following contents:
Queue on node ...
description :
type : local
max message len : 104857600
max queue depth : 5000
queue depth max event : enabled
persistent msgs : yes
backout... (5 Replies)
It seems that multi queue virtio functionality is enabled in the Redhat System being used, but I need to confirm if this functionality is working appropriately:
cat /usr/include/linux/virtio_net.hstruct virtio_net_config
{ /* The config defining mac address (if VIRTIO_NET_F_MAC) */ __u8 mac;... (2 Replies)