XFERFAXSTATS(8)
β¨ XFERFAXSTATS(8) β¨
ok so bestie, this is a page from the System Manager's Manual and it's all about xferfaxstats, the little script that does your HylaFAX fax math for you π
πΈ NAME πΈ
xferfaxstats β summarize HylaFAX transmission accounting
π SYNOPSIS π
/usr/sbin/xferfaxstats [ options ] [ files ]
π¦ DESCRIPTION π¦
xferfaxstats is a command script that prints out a whole summary of the HylaFAX accounting statistics for jobs that got transmitted. Think of it as the receipts for your faxes, but make it cute π
You can sort those stats by a bunch of different keys:
- the sender's account name (this is the default, the main character)
- the job tag (lowkey perfect when you're doing it for accounting purposes)
- the remote party's CSI
- the called phone number
- the output device used for the call
- the communication speed
- the communication data format
The stats get read from the file /var/spool/hylafax/log/xferfaxlog in the spooling area β unless you pass filenames on the command line, in which case those win, periodt.
Here's what the output looks like, bestie (this example is using the default sort key):
Destination Pages Time Pg/min Errs TypRate TypData
cadsmith@esd.sgi.com 34 24:05 1.4 0 9600 1-D MH
ctb@corp.sgi.com 32 20:43 1.5 2 9600 2-D MR
edmark@esd.sgi.com 42 29:30 1.4 3 9600 1-D MH
fredc@mfg.sgi.com 157 1:37:52 1.6 0 9600 2-D MR
jlw@engr.sgi.com 81 57:29 1.4 1 9600 1-D MH
jlw@wpd.sgi.com 346 3:57:57 1.5 100 9600 1-D MH
karlton@asd.sgi.com 68 36:57 1.8 0 9600 1-D MH
kerrie@mfg.sgi.com 48 32:29 1.5 1 9600 2-D MR
kgraf@mfg.sgi.com 128 1:48:21 1.2 2 9600 1-D MH
kubey@wpd.sgi.com 264 3:22:13 1.3 6 9600 1-D MH
loki@wpd.sgi.com 205 2:56:45 1.2 5 9600 2-D MR
moondog@esd.sgi.com 112 1:23:01 1.3 4 9600 2-D MR
mpolen@mti.sgi.com 122 1:39:32 1.2 1 9600 1-D MH
nancyf@mfg.sgi.com 174 2:08:44 1.4 2 9600 2-D MR
paulh@mfg.sgi.com 56 1:29:24 0.6 0 9600 2-D MR
richardn@mfg.sgi.com 34 24:42 1.4 1 9600 1-D MH
rosa@corp.sgi.com 32 28:00 1.1 2 9600 1-D MH
sam@asd.sgi.com 65 46:25 1.4 5 9600 1-D MH
seth@asd.sgi.com 34 25:04 1.4 0 9600 1-D MH
--------------------------------------------------------------------------
Total 2034 25:49:13 1.3 135
Okay so let's decode this table together π
- The first column shows the sort key value that was used. In this example it's the sender's identity, but otherwise it could be the destination phone number, the remote CSI, etc. etc.
- The Pages column = the total number of good pages transmitted. slay.
- The Time column = the total amount of time spent transmitting.
- The Pg/min column = the average transfer rate.
- The Errs column = how many errors were encountered while transmitting facsimile. (heads up: this stat does not include problems that happened while placing a call β like busy signals, for example. so don't come for it π)
- The TypRate column = the most common communication speed the facsimile were transmitted with.
- The TypData column = the most common data format the facsimile data were transmitted in.
Now, about account names π Account names that aren't root and guest can get automatically mapped to a canonical format β one where the host name is stripped off and identical addresses in the same domain get merged together (this is the NIS environments situation, iykyk). For example, sam@flake.asd.sgi.com and sam@foobar.asd.sgi.com both get mapped to sam@asd.sgi.com, and their associated statistics get accumulated together. But identical account names in different domains throw a warning; e.g. loki@wpd.sgi.com and loki@corp.sgi.com. And bestie, listen: that mapping above only happens if you specify the -map option. By default, account names are not altered. no cap.
π OPTIONS π
-age daysβ only show info for the facsimile transmitted in the last however-many days you specified.-csi*β sort the output by the remote party's CSI.-dest*β sort the output by the phone number that got called.-dev*β sort the output by the output device (i.e. modem) that was used.-formatβ sort the output by the negotiated data format.-job*β sort the output by client-specified job tag identifiers.-nomapβ do not do the account name mapping (the one that merges statistics for therootandguestaccounts and strips the leading hostname part off domain names). This is the default behavior.-mapβ do the account name mapping (the one that merges statistics for therootandguestaccounts and strips the leading hostname part off domain names).-send*β sort the output by the sender's account name (default).-since timeβ only show info for the facsimile transmitted since the specified time; where time is of the formMM/DD/YY HH:MM(that's thedate(1)format string%D %H:%M).-end timeβ only show info for the facsimile transmitted before the specified time; where time is of the same form assince.-speedβ sort the output by the signalling rate.
π DIAGNOSTICS π
Warning, address clash, "%s" and "%s".β during address mapping, two mapped addresses were found for the same account name. awkward πWarning, weird user address/name "%s".β during address mapping, an address was encountered that has multiple@symbols in it.
π NOTES π
The sender field does not necessarily represent the submitter's actual identity. For example, it reflects the value given by thesendfax(8)-foption. So be cautious β do not use this field for auditing if the fax user base isn't trusted. fr fr, that's a real one.
π FILES π
/var/spool/hylafaxβ spooling arealog/xferfaxlogβ default file from which to read statistics
π SEE ALSO π
faxq(8), faxsend(8), recvstats(8), hylafax-log(5)
and that's the whole page, bestie π this little gem dropped on May 12, 1996 and it's still giving XFERFAXSTATS(8) energy β go read your logs and slay β¨π«Ά
π¦ where this page comes from
- debian bookworm: hylafax-server 3:6.0.7-5
- debian trixie: hylafax-server 3:6.0.7-11.1
- ubuntu jammy: hylafax-server 3:6.0.7-3.1
- ubuntu noble: hylafax-server 3:6.0.7-7
- ubuntu questing: hylafax-server 3:6.0.7-13
- ubuntu resolute: hylafax-server 3:6.0.7-13build1
- ubuntu stonking: hylafax-server 3:6.0.7-13build1
- Copyright (c) 1993-1996 Sam Leffler
- Copyright (c) 1993-1996 Silicon Graphics, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms