jcoview (Windows only)
- Organization of this page
Function
This command opens a JP1/IM - View window.
The window to be opened depends on the option specifications, as shown below:
-
Starting the Login window for JP1/IM - View
When any option other than -p or -e is specified or no option is specified, the Login window opens.
-c option is specified: The Central Console check box is selected in the Login window.
-s option is specified: The Central Scope check box is selected in the Login window.
-h option is specified: A value is entered in Host to connect in the Login window.
-u option is specified: A value is entered in User name in the Login window.
-
Opening the Event Console window and the Monitoring Tree window of JP1/IM - View
When the -h, -u, or -p option is specified, the Event Console window and the Monitoring Tree window open. To open the Event Console window and the Monitoring Tree window, you must specify the -h, -u, or -p option.
-c option is specified: The Event Console window opens.
-s option is specified: The Monitoring Tree window opens.
Neither the -c nor the -s option is specified: The Event Console window opens.
-
Opening the Monitoring Tree (Editing) window of JP1/IM - View
When the -e option is specified, the Monitoring Tree (Editing) window opens.
Format
jcoview [[[-c] [-s]] [-h connection-target-host-name] [-u user-name] [-p password] | -e ]
Execution permission
None
Storage directory
View-path\bin\
Arguments
- -c
-
Specifies that the Event Console window is to open.
If the password (-p option) is omitted, the Login window opens with the Central Console check box selected. This option cannot be specified together with the -e option.
This option is optional.
If the -h, -u, and -p options are specified and none of the -c, -s, and -e options is specified, the command assumes that the -c option is specified.
- -s
-
Specifies that the Monitoring Tree window is to open.
If the password (-p option) is omitted, the Login window opens with the Central Scope check box selected. This option cannot be specified together with the -e option.
This option is optional.
- -h connection-target-host-name
-
Specifies the name of the connection-target host. For the host name, from 1 to 255 bytes of characters are permitted. You can specify only a host where JP1/IM - Manager is running.
For the connection-target host name, you can specify the following:
-
Host name defined on the host where the command is used
-
Host name whose address can be resolved on the host where the command is used
-
IP address
Only addresses in IPv4 address format can be specified. Addresses in IPv6 address format cannot be specified.
This option is optional, but if you specify the -p option, you must also specify this option.
-
- -u user-name
-
Specifies the name of a JP1 user that has been registered in the authentication server. For the JP1 user name, from 1 to 31 alphanumeric characters are permitted (for alphabetic characters, only lower-case letters are permitted).
This option is optional, but if you specify the -p option, you must also specify this option.
- -p password
-
Specifies the specified user's password. For the password, from 6 to 32 alphanumeric characters are permitted. Alphabetic characters are case sensitive.
If you specify this option, you must also specify the -h and -u options.
This option is optional.
- -e
-
Specifies that the Monitoring Tree (Editing) window is to open.
When you specify this option, you must not specify any other options.
This option is optional.
Return values
0 |
Normal termination |
1 |
Argument error |
2 |
Insufficient memory |
3 |
Resource acquisition failed |
4 |
Error message creation failed |
255 |
System error |
Example 1
Start JP1/IM - View and open the Login window:
jcoview
Example 2
Start JP1/IM - View and display the Login window with host set in Host to connect and jp1admin set in User name:
jcoview -h host -u jp1admin
Example 3
Start JP1/IM - View, log in by specifying jp1admin as the user name, jp1admin as the password, and host as the connection-target host, and then open the Event Console window:
jcoview -h host -u jp1admin -p jp1admin
Example 4
Start JP1/IM - View, log in by specifying jp1admin as the user name, jp1admin as the password, and host as the connection-target host, and then open the Monitoring Tree window:
jcoview -s -h host -u jp1admin -p jp1admin
Example 5
Start JP1/IM - View, log in by specifying jp1admin as the user name, jp1admin as the password, and host as the connection-target host, and then open the Event Console window and the Monitoring Tree window:
jcoview -c -s -h host -u jp1admin -p jp1admin
Example 6
Start JP1/IM - View and open the Monitoring Tree (Editing) window:
jcoview -e
Example 7
You can create a command shortcut, such as for Examples 2 and 3, for each host and each user.