IBM WebSphere - List Synchronization Services using wsadmin

by
Jeremy Canfield |
Updated: July 14 2022
| IBM WebSphere articles
If you are not familiar with wsadmin.sh (Linux) / wsadmin.bat (Windows), check out our Getting Started article.
The following wsadmin AdminConfig command can be used to list the node agents. This example uses the jython language.
AdminTask.listServers('[-serverType NODE_AGENT]')
Which should return something like this.
nodeagent(cells/myCell01/nodes/myNode01/servers/nodeagent|server.xml)
Then the following wsadmin command can be used to list the node agents Synchronization Service, using the nodeagent returned by the prior command.
AdminConfig.list('ConfigSynchronizationService', 'nodeagent(cells/myCell01/nodes/myNode01/servers/nodeagent|server.xml)')
Which should return something like this.
(cells/myCell01/nodes/myNode01/servers/nodeagent|server.xml#ConfigSynchronizationService_1482438539006)
Did you find this article helpful?
If so, consider buying me a coffee over at