The SilverKing Client Shell provides a command line shell for performing simple operations. Shell commands may be issued interactively or accepted from the command line.
skc -g GC_TEST -n _ns.1 |
Start skc using grid configuration GC_TEST and a namespace of _ns.1 | |
skc> p k.1 v.1; |
Store a value | |
skc> g k.1; |
Read a value | |
k.1 => v.1 |
| Command | Parameters | Short Form | Example |
|---|---|---|---|
| Get | key | g | g k.1; |
| Put | key value | p | p k.1 v.1; |
| GetMeta | key | gm | gm k.1; |
| WaitFor | key | w | w k.1; |
| ToggleVerbose | none | v | v; |
| Quit | none | q | q; |
| CreateNamespace | namespace [namespaceOptions] | cn | cn ns.1;cn ns.1 storageType=RAM,versionMode=SINGLE_VERSION; |
| SelectNamespace | namespace [namespacePerspectiveOptions] | sn | sn ns.1;sn ns.1 defaultPutOptions={compression=NONE}; |
| ValueMapDisplay | [basic|tabDelimited|csv] | vmd | vmd csv; |
From the system shell, a series of commands may be passed in using the "-c" parameter. For instance:
skc -g GC_TEST -n _ns.1 -c "g k.1 k.2 k.3; sn __Replicas__; g k.1 k.2 k.3;"