05-13-2003
start the accounting proccesses.
for a howto for aix look for the following red book on ibm website.
SG24-6020-00
the title is "Auditing and Accounting on AIX"
7 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi!! Experts,
I have a typical scenario here in which several users have access to a particular login .. say "build".
None of the users know the passwd for this login.
The name of some of the user have been to .rhosts file.
The users can connect only by doing a rlogin to this id and then... (4 Replies)
Discussion started by: jyotipg
4 Replies
2. Shell Programming and Scripting
hi,
i need help writing shell scripts to define patterns of user activities on our apache.
i thought about going through logfiles and other places where user activities are stored and use that data to define patterns of action. i want these patterns to be visualized then.
now my... (3 Replies)
Discussion started by: rocketkids
3 Replies
3. Shell Programming and Scripting
I need my for loop to do 2 things at a time. I have a script where I move the old files into archive directory and then i want to compress them. Presently I am using 2 for loops for it. How can i do it in 1 for loop.
Code:
after this i am compresing them in another for loop: (3 Replies)
Discussion started by: dsravan
3 Replies
4. Red Hat
Hi All,
I have a RPM for an Java based application. Currently it works fine.
But recently I want to implement that when newer packages gets installed over the older one, the rpm should only update the older files with the newer one (I know this could be done by rpm -Uvh xxx.rpm), but it... (0 Replies)
Discussion started by: jw_amp
0 Replies
5. Solaris
Greetings to all.
I need help from the experts. I have been given a FTP server script that runs all day, looking for files that are FTP'd to our machines. Its hoaky I know, but there are times that files are sent but somehow get lost. Is there a logfile I can view to see when files are received?
... (1 Reply)
Discussion started by: Harleyrci
1 Replies
6. SuSE
SUSE Linux 11 and 10 SP3.
I am trying to capture some of my activities in SYSLOG file, /var/log/messages.
To do this I created and dropped some test files and directories and users. But these activities are not captured in /var/log/messages. What should I do to make these activities... (7 Replies)
Discussion started by: JDBA
7 Replies
7. AIX
Hello,
could someone tell me if there's a function as on SOLARIS : EYE, to identify the function of server.
Thank you, (4 Replies)
Discussion started by: rimob
4 Replies
PAC(8) BSD System Manager's Manual PAC(8)
NAME
pac -- printer/plotter accounting information
SYNOPSIS
pac [-cmrs] [-Pprinter] [-pprice] [user ...]
DESCRIPTION
pac reads the printer/plotter accounting files, accumulating the number of pages (the usual case) or feet (for raster devices) of paper con-
sumed by each named user, and prints out how much each user consumed in pages or feet and dollars.
When no user arguments are given, statistics are printed for every user who has used any paper.
The options are as follows:
-Pprinter
Accounting is done for the named printer. Normally, accounting is done for the default printer (site dependent) or the value of the
environment variable PRINTER is used.
-c Causes the output to be sorted by cost; usually the output is sorted alphabetically by name.
-m Causes the host name to be ignored in the accounting file. This allows for a user on multiple machines to have all of his printing
charges grouped together.
-pprice
The value price is used for the cost in dollars instead of the default value of 0.02 or the price specified in /etc/printcap.
-r Reverse the sorting order.
-s Accounting information is summarized on the summary accounting file; this summarization is necessary since on a busy system, the
accounting file can grow by several lines per day.
OUTPUT FORMAT
pac formats the output into a simple table, using four columns:
1. The host name followed by the user's login name (column "Login"). If the -m option was specified, the host name will be omitted.
2. The number of pages or feet printed (column "pages/feet").
3. The number of copies made (column "runs").
4. The total price for the user (column "price").
If no user argument was specified, pac will print a summary line with print totals.
FILES
/var/account/?acct raw accounting files
/var/account/?_sum summary accounting files
/etc/printcap printer capability database
SEE ALSO
printcap(5)
HISTORY
The pac command appeared in 4.0BSD.
BUGS
The relationship between the computed price and reality is as yet unknown.
BSD
May 31, 2007 BSD