-a After | The date and time of the session to begin
retrieving data from. Must be string in format of %Y-%m-%d/%H:%M:%S,
for example, 1997-12-01/15:01:30 means 3:01:30pm, December 1, 1997.
Hour, minute, and second may be omitted, and each default to 0. Day
and month may be omitted, and each default to 1. |
-b Before | The date and time of the session to begin
retrieving data from. Must be string in format of %Y-%m-%d/%H:%M:%S,
for example, 1997-12-01/15:01:30 means 3:01:30pm, December 1, 1997.
Hour, minute, and second may be omitted, and each default to 0. Day
and month may be omitted, and each default to 1. |
-o Time | Selects sessions that were active at
the specified date and time. Must be string in format of %Y-%m-%d/%H:%M:%S,
as described for the -a and -b options. |
-d Config-directory | An alternate directory name containing
the Mobile AAA configuration files, instead of the default /etc/opt/aaa/diameter/acct
directory. If no -d option is given, diamrecord will look for the default location. An error will be
displayed if the configuration files cannot be found. |
-h | Displays the help syntax |
-1 Filename | Only outputs the first session record
for each user listed in the specified text file. Filename must be
created and lists each user, one per line. The users in this file
must have a realm, because Diameter users must include their realm in
the User-Name attribute. |
-dm Acct-directory | An alternate directory name where the
Mobile AAA accounting files are generated, instead of the default
/var/opt/aaa/diameter directory. If no -d option is given, diamrecord will look for the default location. An error will be displayed
if the configuration files cannot be found. |
-f {short|long} | Outputs information in short or long
format. In the long format each accounting record consists of several
lines of output with one value per line. The short format provides
a subset of accounting record values, all listed on one line per
user. |
-fd "String" | Specifies the string that should be used
to delimit the values listed in the short format. You can use the \n
escape character to have the session values listed one per line,
indented after the user name. By default the values are comma-delimited. |
-out Filename | Sends the output to the specified file,
rather than to stdout. |
-x {nn|+|-}{on|off} | {on|off} enables or disables
debugging for diamrecord. Debug output is written to the same directory as the
output specified by file. {nn|+|-} controls the
debug level (see 21 for description of debug levels). |
-*attribute=regexp | Only search for sessions that contain
the attribute-value pairs that match the specified regular expression. The
Attribute-Value Pairs chapter describes the syntax for specifying
an attribute-value pair and the HP-specific session attributes that
appear in session records. You can find a discussion of regular
expressions in the man pages for sed or awk, which you can access
by typing man sed or man awk at the command line. |
-:attribute=value | Only search for sessions that contain
the specified attribute-value pairs. The Attribute-Value Pairs chapter
describes the syntax for specifying an attribute-value pair and
the HP-specific session attributes that appear in session records. |