acua pp <login> <inFile> <outFile>
Using <login>'s ACUA user record, acua pp performs
processing on <inFile> and places the output in <outFile>.
Be warned that <outFile> will be over-written.
The processing is very simple -- it expands the following:
$$ - $
$bTx - Bytes uploaded
$bRx - Bytes downloaded
$bXfer - Bytes transferred
$bTxLimit - Limit on bytes uploaded
$bRxLimit - Limit on bytes downloaded
$bLimit - Limit on bytes transferred
$bStx - Bytes uploaded during session
$bSrx - Bytes downloaded during session
$bSxfer - Bytes transferred during session
$bStxLimit - Session limit on bytes uploaded
$bSrxLimit - Session limit on bytes downloaded
$bSlimit - Session limit on bytes transferred
$cLeft<n> - Time remaining in time class n
$cLimit<n> - Time limit in time class n
$creationDate - The account's creation date
$credit - Maximum time credit
$expireAction - Expiry action ("N/A", "DELETE", "UNSUBSCRIBE")
$expireDate - Date of expiry
$expireDays - Number of days until the expiry date
$expireType - Type of expiry ("N/A", "account", "subscription")
$flags - Account flags
$gecos - The user's gecos information. This should expand to
the user's real name.
$gecos<n> - The nth word of the user's gecos information.
$idleLimit - Idle limit for TTY connections
$lastLogin - Date the user last logged in
$lastOnline - Date the user was last online
$lastOnDays - Number of days since the user was last online
$lockInfo - Lock date info (when the account was last locked
or unlocked)
$login - Login name
$maxLogins - Maximum allowed simultaneous logins
$maxDeduct - Maximum deduction per minute (< maxLogins);
$online - If the user is currently online, shows hosts which
he/she has sessions to, otherwise it expands to "NO"
$PPPIdleBytes - PPP idle bytes
$PPPIdleMinutes - PPP idle minutes
$phNo - Phone number
$priority - Priority
$sLeft - Session time left
$sLimit - Session time limit
$subscriptionInfo - Subscription date info (when subscription
was given or expired)
$tLeft - Time left
$tLimit - Time limit
$uflags - User-defined account flags
Example:
If you had a inFile similar to this one:
Login: $login
Phone: $phNo
Online: $online
Then the result of running acua pp inFile outFile
would be something similar to:
Login: foo
Phone: N/A
Online: YES [your.host.name:number_of_logins]
Important Note:
The search order for inFile is a little out of the usual. First,
the acua pp program will examine the first
charactor of <inFile> to see if it is a
/ (slash) or a . (dot). If it is either of those, then the acua
pp program will assume you have supplied the full or relevant path
from the directory you ran acua pp in.
If acua pp does not find a / (slash) or a
. (dot) as the first letter of the filename <inFIle>
it will then look in /usr/lib/acua for the <inFile>
mentioned. If it doesn't find it there, it will then look in the
current directory.
Robert Davidson