List All Hosts in the Model (hostList)
The hostList command lists information about hosts in the specified version of the model.
                  
ttGridAdmin hostList [-latest|-current|-version n]Options
The hostList command has the options:
                  
| Option | Description | 
|---|---|
| 
                                  
  | 
                              
                                  Lists hosts in the latest model—the model being modified and not yet applied to the grid. This is the default.  | 
                           
| 
                                  
  | 
                              
                                  Lists hosts in the current model—the model most recently applied to the grid.  | 
                           
| 
                                  
  | 
                              
                                  Lists hosts in the specified version number of the model.  | 
                           
Examples
The following two examples, relating to examples shown in Modify a Host (hostModify) and List Model Versions (modelList), show identical output, indicating that version 4 is the latest version (the version not yet applied to the model).
For each host, the host name, internal address, external address, and associated data space group are listed (optionally with a comment).
% ttGridAdmin hostlist Name IntAddress ExtAddress DSG Comment ----------- ---------------------- ------------------ --- -------------------- mysys1host intmysys1.example.com extmysys1.example.com 1 mysys2host intmysys2.example.com extmysys2.example.com 1 mysys3host intmysys3.example.com extmysys3.example.com 1 Move from location1. mysys4host intmysys4.example.com extmysys4.example.com 2 % ttGridAdmin hostlist -version 4 Name IntAddress ExtAddress DSG Comment ----------- ---------------------- ------------------ --- -------------------- mysys1host intmysys1.example.com extmysys1.example.com 1 mysys2host intmysys2.example.com extmysys2.example.com 1 mysys3host intmysys3.example.com extmysys3.example.com 1 Move from location1. mysys4host intmysys4.example.com extmysys4.example.com 2