logo
Manual Pages
Table of Contents

NAME

rshstat - prints the information about active rsh sessions.

SYNOPSIS

rshstat [ -a | -t ]

DESCRIPTION

The rshstat command prints information about the active rsh sessions. Without any options, rshstat, prints a summary line that includes the number of rsh invocations since starting the filer, the number of currently active rsh sessions,the high water mark for the number of active rsh sessions since starting the filer and the maximum available sessions. The -a option adds to the summary line the following individual rsh session information: the session number, the command the rsh session is executing, the remote client IP address, and the last string written into the audit log for the rsh session. The -t option adds the amount of time the command is executing in milliseconds to the -a option. The amount of time is broken up into 3 parts: the total command time, the protocol connection time, and the get host information time.

EXAMPLES

  sohail> rshstat
  Session Invocations:         0
  Current Active Sessions:     0
  Active High Sessions:        0
  Maximum Available Sessions:     24
  sohail>
  sohail> rshstat -a
  Session Invocations:         3
  Current Active Sessions:     2
  Active High Sessions:        2
  Maximum Available Sessions:     24

  0: sysstat [from 10.72.128.58] ( 50%      0      0      0     178   219        0      0       0     0     >60 )
  ----------------------------------------
  1: nfsstat [from 10.72.136.55] (       0        0        0        0        0        0        0             0)
  ----------------------------------------
  sohail> rshstat -t
  Session Invocations:         0
  Current Active Sessions:     1
  Active High Sessions:        1
  Maximum Available Sessions:     24

  0: sysstat [from 10.72.128.58] (  0%      0      0      0       4     1        0      0       0     0     >60 )
          Command Time: 96413ms
          Connection Time: 102ms
          Gethost Time: 2ms
  ----------------------------------------
  sohail>

SEE ALSO

na_rshd(8),
Table of Contents