APIs in Category: rsh
API version 1.9

 
rsh-get-stats
rsh-kill

NetApp Manage ONTAP
 
rsh-get-stats [top]

Obtain rsh statistics.
Output Name Range Type Description
active-high-sessions 0..2^32-1 integer
Active session high water mark.
current-active-sessions 0..2^32-1 integer
Current number of active sessions.
max-available-sessions 0..2^32-1 integer
Maximum available sessions.
rsh-sessions rsh-session-info[]
optional
List of active rsh sessions.
session-invocations 0..2^32-1 integer
Total number of rsh invocations since last reboot.

 
rsh-kill [top]
Kill a rsh session.
Input Name Range Type Description
session-number integer
validate
rsh session to be killed. This can be obtained from session-id in rsh-session-info by running the 'rsh-get-stats' API. Range : [0..191]
 Errno  Description
 ERSHSESSIONERROR
 ERSHKILLERROR

 
Element definition: rsh-session-info [top]
Name Range Type Description
audit-log string
optional
The current auditlog buffer for the command.
audit-shell string
optional
Protocol name in the auditlog. Possible values are: "rsh shell", "ssh1 shell" and "ssh2 shell".
command string
ONTAP command the rsh session is executing.
command-time 0..2^32-1 integer
How long in milliseconds the rsh session is actively executing the command.
connection-time 0..2^32-1 integer
How long in milliseconds it is taking the rsh session to do the protocol connection.
get-host-time 0..2^32-1 integer
How long in milliseconds it is taking for the rsh session to obtain client information.
ip-addr string
IP address of the client invoking the command.
session-id 0..2^32-1 integer
rsh session identifier.
vfiler string
Name of the vfiler on which the rsh session is active