0.4.0 • Published 11 years ago
node-arcgisserver v0.4.0
node-arcgisserver
node.js tools to administer an ESRI ArcGIS for Server site
Installation
$ npm install node-arcgisserver -gUsage
Service Statistics
Report statistics on services for an ArcGIS for Server site
$ ags servicestatistics -h servername:6080 -u username -p passwordOutput
servername:6080
---
Folders: 25
Services: 66
Public Services: 59
Cached Map Services: 8
---
Service Types
GPServer: 9
MapServer: 46
GeocodeServer: 9
GeometryServer: 1
SearchServer: 1
---
Statuses
Started: 63
Stopped: 3
---
Instances
Maximum Possible Instances: 178
Current Instances Busy: 0
Current Instances Free: 59Service List
List services configured on an ArcGIS for Server site
$ ags servicelist -h servername:6080 -u username -p passwordAdditional Options
- --cached: list only cached map services
- --public: list only public services
- --private: list only private services
- --started: list only started services
- --stopped: list only stopped services
- --service-type type: list only services matching the specified service type (GPServer, MapServer, GeocodeServer, SearchServer)
- --verbose: include service descriptions in addition to folder and service names
Output
servername:6080
---
/service1
/service2
folder1/service1
folder2/service1
folder2/service2Config
List, add, and delete user configured default command arguments. Arguments for other commands will still be used if included, but if omitted, default configurations set through this command will be used.
Supported configurations:
-h, --host
-u, --username
-p, --passwordList all configurations
$ ags configAdd configuration for host. After, the value 'myserver:6080' will be used for commands if no -h or --host argument is provided
$ ags config host myserver:6080Delete configuration for host
$ags config host -d