hs_terminate_recording

Description

Terminates the definition of a recording session, cancels the scheduled start of a recording session, or terminates a recording session in progress.       

Syntax

hs_terminate_recording session_id [,delete_option]

Parameters

session_id

identifies the session you want to terminate. Historical Server assigns a session ID when a session is defined with hs_create_recording_session. Use the hs_list command to view session IDs.

delete_option

specifies whether to delete the files associated with the recording session, if recording is in progress.

  • delete – deletes the files.

  • retain (the default) – does not delete the files. This parameter is ignored when you are cancelling a recording session that was not initiated.

Examples

Example 1

This example terminates the active recording session with identifier 5 and then deletes all files associated with session 5.

hs_terminate_recording 5,delete

Usage