jssnodecount (counts the number of managed nodes)
- Organization of this page
Description
The jssnodecount command counts and outputs the number of managed nodes that are registered in JP1/Service Support.
Note that a "managed node" means a user or role member that has access permission other than the "View Items" permission for a process work board. A user with access permission other than the "View Items" permission for multiple process work boards is counted as a single user.
Format
jssnodecount
Required execution permission
Administrator permissions
Storage folder
JP1/SS-path\bin\
Return values
Return value |
Meaning |
---|---|
0 |
Normal end |
42 |
Failed to obtain the number of managed nodes |
43 |
Same command is being executed |
85 |
OS user does not have necessary permission |
86 |
Connection to JP1/SS failed |
127 |
Command execution failed |
Prerequisites for executing the command
-
For details about which services need to be active or inactive when this command is executed, see Status of services when commands are executed in Chapter 12. Commands.
-
Two or more instances of the jssnodecount command cannot be executed concurrently.
-
In a cluster environment, execute the jssnodecount command on the active node.
Remarks
-
The jssnodecount command cannot be executed concurrently with the jssaclexport command (exports access-permission information) or jssmemberlist command (outputs a list of members). An attempt to execute the jssnodecount command during execution of the jssaclexport or jssmemberlist command will fail. Also, an attempt to execute the jssaclexport or jssmemberlist command during execution of the jssnodecount command will fail.
-
If you use Ctrl+C to cancel the jssnodecount command while it is being executed, the number of managed nodes is not output.
-
The operations listed below might affect the number of managed nodes counted by the jssnodecount command. However, if these operations are performed during execution of the jssnodecount command, the command execution results might not reflect the results of the operations.
-
Deleting users
-
Adding members to a role
-
Deleting members from a role
-
Changing the access permission of a user
-
Example
The following example shows the command to use when you want to count the number of managed nodes registered in the JP1/Service Support database.
jssnodecount