Home
History
Products
VIP
|
|
MONITOR LOGIN
Scans for created processes or users that just logged in matching
certain selection creteria.
Format:
$ VIP MONITOR LOGIN
SHORTCUTS:
You can use the following short cut keys:
Ctrl/I (Interval) Forces a monitor scan and shows the next page.
QUALIFIERS:
/ACCESS_PORT_NAME
/ACCESS_PORT_NAME=(name[,...])
Selects only processes that match one of the specified access port
names. The access port name is associated with the terminal name of
a process and indicates the source from which a user is logged in,
eg. MSSDEV::JONES. Wildcards are allowed. When you specify the access
port name as "ANY", all processes that have an access port associated
with the terminal are selected. When you specify the access port name
as "NONE", all processes that have no access port associated with the
terminal are selected.
/ACCOUNT
/ACCOUNT=(account-name[,...])
Selects only those processes that have the same account name as one
of the specified account names. Wildcards are allowed.
/ACTION
/ACTION=keyword
Specifies the action to be taken when a process is created. Choose
one of the following keywords:
DELETE Delete the selected process.
FORCE_EXIT[=status] Forces the $EXIT service call to be excecuted
by the selected process. When status is not
specified, the default value 1 will be used,
which means SUCCESS.
PRIORITY=keyword Modify the base priority of the created
process. Choose one of the following keywords:
DECREMENT=n Decrement base priority of the
process with the specified
value.
INCREMENT=n Increment base priority of the
process with the specified
value.
SET=n Set base priority of the
process to the specified value.
RESUME Resume execution of the created process.
SUSPEND Suspend execution of the created process.
/ALARM
/ALARM=(alarm-keyword[,...])
Allows you to set an alarm when a process is created. Choose one or a
combination of the following alarm keywords:
EVERY=m Specifies after how many interval
periods an alarm message will be
generated. The default value is 1.
IDENTIFICATION=(pid[,...]) Specifies a list of pid values of
which the associated processes receive
the error messages on their terminal.
LOG=file-name Allows you to write the alarm messages
into a log file preceeded by a time
stamp.
MAIL_ADDRESS=(addr[,...]) Specifies a list of mail addresses
(usernames) to receive the error
messages in an OpenVMS mail message.
OPERATOR Allows you to send an alarm message to
the operator console terminal.
POSITION=name Allows you to place the alarm message
at one of the following positions:
BOTTOM
All alarm messages will be placed
at the bottom line of the terminal
device. Each new alarm message will
overwrite the previous message.
BOTTOM_UP
All alarm messages generated in the
same interval period will be places
starting at the bottom line of the
terminal device. Each new alarm
message will be placed at the line
above the previous message.
NONE (Default)
All alarm messages will be placed
at the current cursor position.
TOP
All alarm messages will be placed
at the top line of the terminal
device. Each new alarm message will
overwrite the previous message.
TOP_DOWN
All alarm messages generated in the
same interval period will be placed
starting at the top line of the
terminal device. Each new alarm
message will be placed at the line
below the previous message.
PROCESS_NAME=(name[,...]) Specifies a list of process names to
to receive the error messages on their
terminal.
REPEAT=m Specifies the repeat count of the alarm
messages. Dismounting the disk device
stops the sending of alarm messages,
even if the repeat count has not been
reached.
TERMINAL=(name[,...]) Specifies a list of terminal devices to
receive the error messages.
USERNAME=(name[,...]) Specifies a list of user names to
receive the error messages on their
terminal.
/BATCH
Allows you to select the batch processes in the system. When used
with the /CLUSTER qualifier, the /BATCH qualifier selects all batch
processes in an OpenVMS cluster environment. When used with the
/NODENAME qualifier, the /BATCH qualifier selects all batch processes
of the specified nodes.
Using this qualifier gives the same result as using the qualifier
/MODE=BATCH.
/BEGINNING
/BEGINNING=time
Allows you to specify the time when the actual monitoring starts. You
can specify an absolute time, a delta time or one of the relative date
strings YESTERDAY, TODAY or TOMORROW.
/CLUSTER
Allows you to select processes on all nodes in an OpenVMS cluster
environment for display. This qualifier can not be used when the
/NODENAME qualifier is also specified.
/ENDING
/ENDING=time
Allows you to specify the time the monitoring is to end. You can
specify an absolute time, a delta time or the relative date string
TOMORROW. When the ending time is a delta time and the beginning time
is also specified, the actual ending time is the sum of the specified
beginning and ending time. The ending time must be in the future.
/FORCE_INSWAP
Controls whether outswapped processes are forced to swap-in in order
to retrieve process information.
/INTERVAL
/INTERVAL=seconds
/NOINTERVAL
Allows you to specify the interval time between two monitor scans in
seconds. The default interval time is 60 seconds. When you specify
the /NOINTERVAL qualifier, the first page will be shown and there
will be no monitoring besides the use of the short cut keys.
/JOBTYPE
/JOBTYPE=(keyword[,...])
Allows you to select processes according to the execution mode of the
process at the root of the job tree. Choose one of the following
keywords:
DETACHED
NETWORK
BATCH
LOCAL
DIALUP
REMOTE
/MASTER_PID
/MASTER_PID=pid
Allows you to select processes that have all the same master pid that
has been specified in the /MASTER_PID qualifier.
/MODE
/MODE=(keyword[,...])
Allows you to select processes according to the process execution
mode. Choose one of the following keywords:
BATCH
INTERACTIVE
NETWORK
OTHER
/NETWORK
Allows you to select all network processes in the system. When used
with the /CLUSTER qualifier, the /NETWORK qualifier selects all
network processes in an OpenVMS cluster environment. When used with
the /NODENAME qualifier, the /NETWORK qualifier selects all network
processes of the specified nodes.
Using this qualifier gives the same result as using the qualifier
/MODE=NETWORK.
/NODENAME
/NODENAME[=(name[,...])]
Selects only processes on the specified node or nodes. Wildcards are
allowed. If you enter the /NODENAME qualifier without a value, the
qualifier selects only the processes on the local node. This
qualifier can not be used when the /CLUSTER qualifier is also
specified.
/OWNER
/OWNER=pid
Allows you to select processes that are created by the process with
the specified pid.
/PROCESS_NAME
/PROCESS_NAME=(name[,...])
Allows you to select processes according to the process name.
Wildcards are allowed.
/REPLY
/REPLY=text-string
Allows you to broadcast a message to the terminal of the created
process.
/SELECT
/SELECT=keyword
Allows you to select processes depending on their login time. Choose
one of the following keywords:
ALL_USERS Selects all processes.
NEW_USERS Selects only those processes that are created after the
monitoring has started.
The default value is NEW_USERS.
/SUBPROCESS
Allows you to select all subprocesses in the system. When used with
the /CLUSTER qualifier, the /SUBPROCESS qualifier selects all
subprocesses in an OpenVMS cluster environment. When used with the
/NODENAME qualifier, the /SUBPROCESS qualifier selects all
subprocesses of the specified nodes.
/USERNAME
/USERNAME=(user-name[,...])
Allows you to select processes according to the user name of the
process. Wildcards are allowed.
EXAMPLES:
1. In this example all clusterwide process creations of user FRED and
FIELD are monitored:
$ VIP MONITOR LOGIN /USER=(FRED,FIELD) -
/CLUSTER
Node : MSSDEV VIP - MONITOR LOGIN 26-SEP-1996 14:45:36
Username Pid ProcessName Node Account Login time
---------- -------- ----------- ------ ------- -----------------------
FRED 27E1817C FRED_1 MSSDEV DEVELOP 26-SEP-1996 07:22:28.84
FIELD 27A18185 FIELD_1 MSSTST FIELD 26-SEP-1996 10:01:05.56
FIELD 27A1818E FIELD_2 MSSTST FIELD 26-SEP-1996 10:41:16.31
The header information in this example includes the following:
o Node name
A 1- to 6-character string used to identify the local node.
o Current time
A 23-character string used to show the current time.
The body information in this example includes the following:
o A list of data items displayed when a process is created which
contains:
- User name
A 1- to 12-character string used to identify the user.
- Process identification code
A 32-bit binary value that uniquely identifies a process.
- Process name
A 1- to 15-character string used to identify a process.
- Node name
A 1- to 6-character string used to identify the node where the
process is executing.
- Account name
A 1- to 8-character string used to identify the account of the
process.
- Login time
A 23-character string used to show the time the process was
created.

|