versions.
while (DATA) {
my $human_readable = qx!/usr/local/bin/tai64nlocal $_!
}
Any suggestions as to how this could be done?
Avoid the external program generally and incorporate the (simple)
conversion into your Perl program.
I you really wan the external program do something like
I would like to begin using multilog instead of splogger. I've
installed daemontools and run the tests for tai64nlocal successfully:
[root:/usr/local/src/daemontools-0.70]$ date | ./tai64n | ./tai64nlocal
2001-06-15 16:11:06.389339500 Fri Jun 15 16:11:06 GMT 2001
The docs say that tai64nlocal
On Fri, Jun 15, 2001 at 06:29:10PM +0200, Lou Hevly wrote:
I would like to begin using multilog instead of splogger. I've
installed daemontools and run the tests for tai64nlocal successfully:
[root:/usr/local/src/daemontools-0.70]$ date | ./tai64n | ./tai64nlocal
2001-06-15 16:11
Lou Hevly [EMAIL PROTECTED] wrote:
The docs say that tai64nlocal reads lines from stdin. But for me
it just hangs until I hit Ctrl+C:
This is normal, expected behaviour. tai64nlocal reads stdin and writes to
stdout. tai64nlocal doesn't exit until stdin is closed or the process is
killed
At 17:46 15/06/01, Greg White wrote:
On Fri, Jun 15, 2001 at 06:29:10PM +0200, Lou Hevly wrote:
The docs say that tai64nlocal reads lines from stdin. But for me
it just hangs until I hit Ctrl+C:
[root:/usr/local/src/daemontools-0.70]$ ./tai64nlocal
@400037c219bf2ef02e94
^C
List,
I don't know how well know this is but I couldn't find anything about it
in the archives.
tai64nlocal.c doesn't compile under GNU libc6 2.2.2 due to
#include sys/time.h
It's included since tai64nlocal wants localtime but there's some libc
changes (bug or feature?) since 2.2.1 which
I am using multilog as logger tool for my qmail instalation. As usual, the
time stamp is in tain format. I know that you can use tai64nlocal to convert
the timestamp to human readable format, but there is not much documentation
on how to do it.
Can anyone help me?
Hi,
is possible to do that automatically (i.e. getting current file always in local
time format),
without taping eeach time tail64nlocal .. ?
Peter Green a crit :
Just pipe the log output through tai64nlocal, like:
tai64nlocal /var/log/qmail/current
It will convert the tai64n
Hi,
I'm wondering what
is the correct use of this command (TAI64NLOCAL) inside the supervise
scripts.
I havethree
run scriptsin /var/qmail/supervise... and they look like:
exec setuidgid
qmaill multilog t s200 /var/log/qmail/qmail-pop3d
The other two are
similar.
I don't want the TAI
Hi there,
How can I add additional date info to multilog file ?
For example,
I use
#!/bin/sh
exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t s500 n20
/var/log/qmail/qmail-smtpd
for logging of qmail-smtpd.
I would like to turn @4000397536de9f8c
experience, it shouldn't be too hard to do...
Brett
Manager
InterPlanetary Solutions
http://ipsware.com/
-Original Message-
From: Edward Tsang [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 27, 2000 7:29 PM
To: Qmail
Subject: tai64nlocal and multilog
Hi there,
How can I add
: local 0/10 remote
0/100
to become
@4000397536de9f8c [Date Time in human readable format] status:
local 0/10 remote 0/100
Use tai64n and tai64nlocal.
tai64n is for the timestamps, and tai64nlocal is for converting
timestamps to human-readable format.
/tcp.smtp.cdb \
-u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd \
21 |/usr/local/bin/tai64n | /usr/local/bin/tai64nlocal
[root@top qmail-smtpd]#
[root@top log]# cat run
#!/bin/sh
exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog
/var/log/qmail/qmail.smtpd
[root@top
arg...
it looks like the "|" are stuffing up my svc -dx..
supervise is loosing its grip on the scripts.. it wont shut them down
please refer to my previous 2 messages for the scripts
Cameron Arnott [EMAIL PROTECTED] wrote:
it looks like the "|" are stuffing up my svc -dx..
supervise is loosing its grip on the scripts.. it wont shut them down
Pipes are no-no's in supervise run files.
-Dave
try: cat qmaillog | tai64nlocal qmaillog.tmp
This should convert the timestamps into a human format ;-).
Holger
-Ursprüngliche Nachricht-
Von: Ismal Hisham Mohd Darus [mailto:[EMAIL PROTECTED]]
Gesendet am: Freitag, 3. Dezember 1999 08:39
An: [EMAIL PROTECTED]
Betreff
On Fri, Dec 03, 1999 at 09:28:46AM +0100, Häffelin Holger wrote:
try: cat qmaillog | tai64nlocal qmaillog.tmp
This one should get a prize for useless invocation of cat. The
following would save a process and a pipe:
tai64nlocal qmaillog qmaillog.tmp
--
See complete headers for more info
hi,
can somebody tell me how to use the tai64nlocal program ? from my log
file now i see
@64007563578c end msg 45673
can i convert @64007563578c into more decent time dat format .. let
say 1991203 10:32.747474 end msg 45673
thanksss :)
18 matches
Mail list logo