How to trim Progress Application Server agents ?

Ishan

New Member
Before when I was using Classic Appserver, running the command
asbman -i <appserver> -trim
would simply trim the agents, but after switching to PAS, I can't seem to trim the PAS agents.
Is there a simpler way or a command to trim PAS server?
 

Stefan

Well-Known Member
If you have the oemanager deployed you can call the REST API, for example using curl:

Code:
curl http://localhost:8080/oemanager/applications/<appserver>/agents/all/sessions --insecure --request DELETE --user tomcat:tomcat
 
Top