-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. |
-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 last session
to retrieve 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. |
-dd Directory | An alternate directory name containing
the session files, instead of the default directory. If no -dd option
is given, diamsesstab will look for the default /var/opt/aaa/diameter/data
location. An error will be displayed if the session files cannot
be found. |
-f {short|long} | Outputs information in short or long
format. In the long format each user session consists of several
lines of output with one session value per line. The short format
provides a subset of session values, all listed on one line per
user session. |
-fd "String" | Specifies the string that should be used
to delimit session 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. |
-h | Displays the help syntax. |
-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. |
-out Filename | Sends the output to the specified file,
rather than to stdout. |
-x {nn|+|-}{on|off} | {on|off} enables or disables
debugging for diamsesstab. 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=value | Only search for sessions that contain
the specified attribute-value pair(s). 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. |
-*attribute=regexp | Only search for sessions that contain
the attribute-value pair(s) 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. |