Gettraffic(); Getuseractivesessions(); Getuseractivesessioncount(); Getusercumulativeusage() - Dell Powerconnect W-ClearPass Hardware Appliances Deployment Manual

W-clearpass guest 6.0 deployment guide
Hide thumbs Also See for Powerconnect W-ClearPass Hardware Appliances:
Table of Contents

Advertisement

As well as the criteria specified, the time interval specified by $from_time and optionally $to_time is also used
to narrow the search.
If $to_time is not specified, $from_time is a "look back" time, that is, the time interval in seconds before the
current time.
If $to_time is specified, the interval considered is between $from_time and $to_time.
Returns the total session time for all matching accounting records in the time interval specified.

GetTraffic()

GetTraffic($criteria, $from_time, $to_time = null, $in_out = null)
Calculate the sum of traffic counters for accounting records in the database.
NOTE: This is a multi-purpose function that has a very flexible query interface; for ease of use, consider using one of the related
functions GetCallingStationTraffic(), GetIpAddressTraffic(), or GetUserTraffic().
$criteria is the criteria on which to search for matching accounting records. The time interval specified by
$from_time and optionally $to_time is used with the criteria to narrow the search.
If $to_time is not specified, $from_time is a "look back" time, that is, the time interval in seconds before the
current time. If $to_time is specified, the interval considered is between $from_time and $to_time.
$in_out may be "in" to count only input octets, "out" to count only output octets, or any other value to count
both input and output octets towards the traffic total. This argument returns the computed total of traffic for all
matching accounting records.

GetUserActiveSessions()

GetUserActiveSessions($username, $callingstationid = null)
Looks up the list of all sessions for the specified username.
The username attribute is looked up automatically from the RADIUS Access-Request (User-Name attribute). If a
$callingstationid argument is supplied, sessions that match that Calling-Station-Id are excluded from the
count of active sessions.

GetUserActiveSessionCount()

GetUserActiveSessionCount($username)
Counts the number of currently active sessions for the current username.
The username attribute is looked up automatically from the RADIUS Access-Request (User-Name attribute).

GetUserCumulativeUsage()

GetUserCumulativeUsage($username)
Looks up the total cumulative time for the username.
The username attribute is looked up automatically from the RADIUS Access-Request (User-Name attribute).

GetUserCurrentSession()

GetUserCurrentSession($username)
Looks up the current (most recent) active session for the specified username.
See
"GetCurrentSession() " on page 271

GetUserFirstLoginTime()

GetUserFirstLoginTime($username)
274 | GetTraffic()
for details of the return value.
Dell Networking W-ClearPass Guest 6.0 | Deployment Guide

Advertisement

Table of Contents
loading

This manual is also suitable for:

Networking w-clearpass guest 6.0

Table of Contents