[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#2282: Badly sorted report /var/log/wtmp.report



Package: acct
Version: 

I have a script that posts the contents of /var/log/wtmp.report to a
local newsgroup after it is created by /etc/cron.monthly/acct.

As you can see below, the sorting has been confused by the long
numbers.

Ian.

------- start of forwarded message (RFC 934 encapsulation) -------
Subject: monthly login accounting statistics
Date: 01 Feb 1996 06:53:03 +0000 (GMT)

Login accounting for the month ended Thu Feb  1 06:52:04 GMT 1996:

       total  5476.73
       ftp     1384.46
       pjb1008 1086.04
       richard 680.64
       matthew 486.82
       mjh22   479.74
       ian     192.57
       sam1007 176.81
       timc    141.71
       osd1000  89.71
       ajm46    88.49
       pbm1001  75.89
       dr10009  54.78
       sde1000  53.23
       aldabra  46.84
       Szenda   42.98
       dave     34.83
       dmm20    28.66
       and1000  28.45
       kat      25.80
       marisa   22.59
       tim      21.60
       afrb2    15.85
       eci1000  13.83
       mark     11.35
       dps1001   9.58
       root      7.23
       sa        7.07
       djsd100   6.47
       mdm1004   6.20
       jkr1003   4.90
       pad1003   4.35
       moomin    4.26
       john      3.92
       nn201     3.72
       dt-mon    3.17
       diana     2.65
       iwj10     2.43
       ibh11     1.90
       njh27     1.72
       testac    1.13
       slip1     1.03
       Stacitus  0.50
       secnet    0.42
       abishag   0.29
       Ssfere    0.22
       sam       0.18
       dl10010   0.11
       chc1001   0.07
       hemmel    0.01
       sltacitu  0.00
       jab24     0.00
       ijackson119.55
------- end -------


Reply to: