hs_list

Description

Lists information about past and present recording sessions.

Syntax

hs_list level[,restriction]

Parameters

level

specifies the level of detail returned for each recording session. Its value can be sessions, views, data_items, alarms, filters, or summarization_data_items.

restriction

Selects a subset of the data available about recording sessions for a given level.

If level is

Then restriction is

sessions

  • One of the following:

    • active – limits the returned data to currently active recording sessions of this Historical Server instance

    • inactive – selects only completed recording sessions

    • latest – selects only the recording session (if any) most recently initiated on the current client connection

  • If restriction is omitted, all active and inactive recording sessions that you have permission to access are listed

views

  • A session ID whose views you want to list.

  • If restriction is omitted, the views of all recording sessions that you have permission to access are listed.

data_items, alarms, filters, or summarization_   data_items

  • A session ID and, optionally, a view name whose data items you want to list. The syntax is:

    session_id[,view_name]
    

    session_id limits the listing to data items that participated 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.

Examples

Example 1

  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
    

Usage


Description of returned data

The data returned by hs_list depends on the value of level: