Display nn usage statistics
nnusage [ -at ]
nnusage will extract the usage entries from the log file and calculate the total usage time for the current user, or for all nn users if -a is specified.
When -t is used with the -a option, nnusage will list the users ordered after the total usage time. Otherwise, the output will be sorted according to user names.
Since it is possible to suspend nn, or leave the terminal while nn is active, nn tries to be intelligent when it calculates the usage time so it will truly report the actual time spent on news reading.
../Log The log file
nn(1), nncheck(1), nngoback(1), nngrep(1), nntidy(1)
nnacct(1m), nnadmin(1M), nnquery(1M), nnmaster(8)
If nn is compiled with ACCOUNTING turned on, then calls to nnusage are converted into equivalent calls to nnacct.
The nn package must have been compiled with the STATISTICS option turned on to produce the usage entries in the log file.
Only nn sessions longer than 5 minutes are registered in the log file.
Kim F. Storm, Texas Instruments A/S, Denmark
E-mail: [email protected]