Code Block |
---|
Usage: pico -list | -view <pico name> | -add <ec group name> | -delete <ec group name> |
This command is used to:
- list, add, or delete EC groups
- view pico instances
-list
usage: pico -list
Use pico -list
to list available EC groups.
Info | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
The following commands list all EC groups.
Output:
|
-view
usage: pico -view <pico name>
Use pico -view
to view the status of pico instances in the system.
Info | |||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||
The following displays the status for all pico instances in the system.
Output:
The If
OutOfMemoryError is further described in Out of Memory Info in System Log. If The following command displays the status of the pico instance named ec1.
Output:
|
-add
usage: pico -add <ec group name>
Use pico -add
to add an EC group to the system.
Info | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
The following command adds an EC group named ecgroup1.
Output:
|
-delete
usage: pico -delete <ec group name>
Use pico -delete
to delete an EC group from the system.
Info | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
The following command deletes an EC group named ecgroup1.
Output:
|
Return Codes
Listed below are the different return codes for the pico
command:
Code | Description |
---|---|
0 | Will be returned if the command was successful, or if arguments are missing. |
1 | Will be returned if arguments can not be parsed |
2 | Will be returned if the communication with the Platform fails. |
3 | Will be returned if checking of user privileges failed, or if pico already exists when trying to add a new pico. |
4 | Will be returned if the user does not have permission to add or delete picos. |
5 | Will be returned if an unexpected error occurs. |