1. Reference Card (proposed)¶
1.1. Shell¶
| Command | Description |
|---|---|
| cms help | help |
| cms man | manual pages |
| cms script.cm | execute cm commands in script |
1.2. Shell commands that expire after a session¶
| Command | Description |
|---|---|
| cms color on | sets the shell color |
| cms color off | switches off the color |
| cms refresh on | automatic refresh from the clouds |
| cms refresh off | data is only read from the database. Useful for managing thousands of VMs or limit your access to the cloud. |
| var a=xyx | declares a variable |
| var username=cloudmesh.profile.username | reads the variable from the cloudmesh.yaml file |
| var time=now | gets the time and store it in the variable time |
1.3. Clouds¶
| Command | Description |
|---|---|
| cms image list | list images |
| cms flavor list | list flavors |
| cms vm list | list vms |
| cms vm boot | boot vm |
| cms vm boot –cloud=kilo | boot vm on cloud kilo |
| cms default cloud=kilo | set default cloud to kilo |
| cms select image | select interactively the default image (not implemented yet). |
| cms select flavor | select interactively the default flavor (not implemented yet). |
| cms select cloud | select interactively the default cloud (not implemented yet). |
1.4. Comet¶
1.5. HPC¶
| Command | Description |
|---|---|
| cms help | Help |
| cms hpc queue <batch> | info about the queue <batch> |
| cms hpc info | information about the queues on the HPC resource |
| cms hpc run uname -a | runs the command uname |
| cms hpc run list | prints the ids of previously run jobs |
| cms hpc run list | prints the ids of previously run jobs |
| cms hpc run list 11 | prints the information regarding the job with the id 11 |