accounting man page on SuSE

Man page or keyword search:  
man Server   14857 pages
apropos Keyword Search (all sections)
Output format
SuSE logo
[printable version]

ACCOUNTING(1)			    SMPPPD			 ACCOUNTING(1)

NAME
       accounting - calculates statistics about your internet connections

DESCRIPTION
       accounting  is  a  simple  program  to  calculate statistics about your
       internet dial-up connections that are started  and  stopped  by	either
       ifup  and  ifdown or by a frontend to smpppd like cinternet , qinternet
       or kinternet.

OPTIONS
       These options are recognized by accounting.  If a long option shows  an
       argument	 as  mandatory,	 then it is mandatory for the equivalent short
       option also.

       -l, --last=NUM
	      Only consider the last NUM connections.

       -a, --after=DATE
	      Only consider connections started after DATE.  DATE  is  a  date
	      with   optional  time  in	 ISO  8601  format,  e.g.  `2002-12-24
	      20:15:00'.

	      Note that a date without time is	treated	 as  if	 the  time  is
	      00:00:00.	  Hence	 connections started on the specified date are
	      considered.

       -b, --before=DATE
	      Only consider connections started before DATE.

       -u, --user=USER
	      Only consider connections started by user USER.

       --this-year
	      Only consider connections started this year.

       --last-year
	      Only consider connections started last year.

       --this-month
	      Only consider connections started this month.

       --last-month
	      Only consider connections started last month.

       --this-week
	      Only consider connections started this week.

       --last-week
	      Only consider connections started last week.

       --today
	      Only consider connections started today.

       --yesterday
	      Only consider connections started yesterday.

       --per-year
	      Show summaries on a per year basis.

       --per-month
	      Show summaries on a per month basis.

       --per-week
	      Show summaries on a per week basis.

       --per-day
	      Show summaries on a per day basis.

       -c, --connections
	      Only list the connections but do not show provider statistics.

       -p, --providers
	      Do not list the connections only show the provider statistics.

       --connection-format=FORMAT
	      The names of the columns to print in the connection  list.   The
	      names  must  be  separated  by  a comma.	Known column names are
	      time, type, provider, user,  status,  duration,  rx,  tx,	 rxtx,
	      averx,  avetx and averxtx.  Each name may be appended by a colon
	      and  a  number  indicating  the  width  for  the	column,	  e.g.
	      provider:25.   The  value	 will not be truncated if the width is
	      too small.

       --provider-format=FORMAT
	      The names of the columns to print in the provider	 list  equiva‐
	      lent  to the --connection-format option.	Known column names are
	      provider, number, duration, rx, tx,  rxtx,  aveduration,	averx,
	      avetx and averxtx.

       --local
	      Display  all  dates  in local time.  Also interpret dates on the
	      command line in local time.  This is the default.

       --utc  Display all dates in UTC.	 Also interpret dates on  the  command
	      line in UTC.

       --script[=STYLE]
	      Format output for script.	 Known styles are c and sh.

       -f, --file=NAME
	      Use a different file with accounting information.

       --report-errors
	      Report erros in the accounting file.

       --version
	      Show program version and exit.

       --help Show help information and exit.

NOTES
       All  informations  are only obtained through the accounting log.	 Hence
       the informations, esp. the data volume, of currently active connections
       is  not accurate.  If you want the know the status of a connection, use
       ifstatus or a frontend to smpppd like cinternet , qinternet or  kinter‐
       net instead.

       The user field is empty for connections started by a remote frontend of
       smpppd.

BUGS
       Not yet implemented for ISDN (ippp).

FILES
       /var/log/smpppd/accounting.log
	      File containing accounting information.

SEE ALSO
       kinternet, qinternet, cinternet(1), smpppd(8), smpppd-ifcfg(8).

AUTHOR
       Arvin Schnell <arvin@suse.de>

SuSE				 December 2002			 ACCOUNTING(1)
[top]

List of man pages available for SuSE

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net