Does anyone know the asadmin command line equivalent to display the Resource data as shown in the image below (ie the Resource __TimerPool)?
I'm using Payara 4.1.1.171.1.
I typed asadmin monitor --help and it provided this as
monitor [--help] --type type [--filename filename] [--interval interval] [--filter filter] instance-name
The type field only accepts "httplistener", "jvm" and "webmodule" as inputs. So I can't use a "resource" or "jdbcpool" as a type.
Oddly enough in the old glassfish 2.1 https://docs.oracle.com/cd/E19879-01/821-0185/gelol/index.html you can select "jdbcpool" as the type
Any help is appreciated.

I couldn't really find the answer on the payara documentation https://docs.payara.fish/documentation/payara-server/monitoring-service/monitoring-service.html
But using part of the glassfish documentation https://docs.oracle.com/cd/E18930_01/html/821-2416/ghmct.html#gipzv I was able to get what I needed.
The command is
asadmin get --monitor server.resources.__TimerPool.*This then returns (this is a partial output):
It's important to add the .* at the end of the asadmin command in
asadmin get --monitor server.resources.__TimerPool.*If you neglect that and just enter
asadmin get --monitor server.resources.__TimerPoolit'll returnTo see thelist of resources you have available to you to monitor type
/asadmin list --monitor server.resources.*