Sybase 12.5.1 User Manual page 90

Historical server
Table of Contents

Advertisement

hs_list
Examples
Usage
76
restriction
Selects a subset of the data available about recording sessions for a
given level.
If level is
Then restriction is
• One of the following:
sessions
• If restriction is omitted, all active and inactive recording
sessions that you have permission to access are listed.
A session ID whose views you want to list.
views
• If restriction is omitted, the views of all recording sessions
that you have permission to access are listed.
• A session ID and, optionally, a view name whose data items
data_items,
,
,
you want to list. The syntax is:
alarms
filters
or
summarization
session_id limits the listing to data items that participated
_ data_items
in a single session. If specified, view_name limits the
listing to data items that appeared in a single view defined
for the session.
• If restriction is omitted, the data items that belong to all
views defined for all active and inactive recording sessions
that you have permission to access are listed.
1
This example lists all active sessions for this Historical Server
instance:
hs_list sessions,active
2
This example lists all alarms that have been defined for data items in
the Page I/O view of the session whose ID is 10:
hs_list alarms,10,PageIO
The
command returns the following fields as an integer
hs_list
datatype:
Session ID
Sample interval
Alarm count
– limits the returned data to currently active
active
recording sessions of this Historical Server instance.
– selects only completed recording sessions.
inactive
selects only the recording session (if any) most
latest –
recently initiated on the current client connection.
session_id [,view_name]
Historical Server

Advertisement

Table of Contents
loading

Table of Contents