next message in archive
next message in thread
previous message in archive
Index of Subjects
In bin/login-summary
        agr = gremtime / gremcount / 60
        ar = remtime / remcount / 60
        ag = gloctime / gloccount / 60
        a = loctime / loccount / 60
Any of 'gremcount remcount gloccount loccount'  could be 0.
wwhcn:/var/log$ cat !$
cat test.wtmp-rotate
+++ getdate
++ putdate %Y%m%d 858070825
+ old=wtmp.19970311
+ cd /var/adm
+ mv wtmp wtmp.19970311
+ touch wtmp
+ login-summary wtmp.19970311
+ tee /tmp/ls10768
+ head -1
gawk: cmd. line:42: (FILENAME=- FNR=76) fatal: division by zero attempted
+ sed -n 2,$p /tmp/ls10768
+ rm -f /tmp/ls10768
+ gzip wtmp.19970311
+ exit 0
Gerard MacNeil, P. Eng.
next message in archive
next message in thread
previous message in archive
Index of Subjects