Skip to content
jlagerweij edited this page Feb 3, 2013 · 2 revisions

A command shell into a GigaSpaces grid.

Commands like 'ls', 'cd', 'top', etc can be used to get information from the grid.

Source can be found here: https://github.com/jlagerweij/gash

Available commands when not connected:

exit          Exits the application
help          Shows this help info
mount         Mounts a GigaSpaces grid using lookupgroups and lookuplocators

Available commands when connected:

cd            Changes current working location.
close         Closes the connection to the grid.
exit          Exits the application
help          Shows this help info
ls            Lists spaces.
select        Selects from a space.
services      Show all services from all spaces.
set           Sets or shows settings.
spaces        Lists all Spaces.
top           Provides a dynamic real-time view of a running system.
tree          Show a tree of spaces.
units         Lists all processing units.

Example of the 'top' command output:

Host: dev.machine.nll - Cpu(s): 2, 42.74% usage  Mem: 7887 MB total, 5805 MB used, 2082 MB free, 73.61%  |........  |
1 Hosts  1 GSA    1 GSM    3 GSC    1 LUS    0 Zones
4 Web    4 Statefull,    0 Stateless,    2 Mirrors
GSC-1             2.71% usage  Mem:  910 MB total,  327 MB used,  584 MB free, 35.88 %  |....      |
GSC-2             2.80% usage  Mem:  910 MB total,  304 MB used,  606 MB free, 33.44 %  |....      |
GSC-3             1.87% usage  Mem:  910 MB total,  284 MB used,  627 MB free, 31.17 %  |....      |

Example of the 'ls' command output:

total 8 processing units, 4 spaces.
integration            -                              INTACT               Web       
modules                -                              INTACT               Web       
partymanagement        -                              INTACT               Web       
registration           -                              INTACT               Web       
application-space      applicationSpace               INTACT                         
configurator-space     configuratorSpace              INTACT                         
usermanagement-space   userManagementSpace            INTACT                         
usermanagement-mirror  partyManagementSpaceMirror     INTACT                         

Clone this wiki locally