Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jun 1998 17:09:11 +0400
From:      "Vladimir Shirokov" <volodya@ieeu.udm.ru>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   Accounting
Message-ID:  <01bda35f$1bc11060$050aa8c0@ieeu-nt.ieeu.udm.ru>

next in thread | raw e-mail | index | archive | help
Hi.
I use 3.0-SNAP of FreeBSD (for information) and have a little question:
how I can start acoounting for my print server. I must count a number
of pages, printed from network (samba server) from Microsoft word text
editor for any user.
I have /var/accounting directory, but all files are zero length.
My /etc/printcap looks:

lp|local line printer:\
        :pc=500:af=/var/log/printlog:mx#0:sf:sh:rg=print
        :lp=/dev/lpt0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs:

May be I must use filter, but I don't know how to do it.
Command "pac -Plp" shows:
> pac alex
  Login               pages/feet   runs    price
alex                        0.00    0   $  0.00
I will be very happy if anyone can help me with this problem.

Regards, V. Shirokov



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01bda35f$1bc11060$050aa8c0>