users@glassfish.java.net

Re: how to make asadmin --monitor to work ?

From: <glassfish_at_javadesktop.org>
Date: Wed, 17 Dec 2008 15:12:23 PST

The cmd "list" lists the node that are capable of having some attributes.

The cmd "get" gives you one or more attributes of a particular node. So, one you have reached
a node, you should do "*" to get its attributes. Thus, in my case, I get the following:

[code]
dhcp-usca14-133-188:bin kedar$ asadmin get -m "server.orb.connection-managers.orb_S1AS-ORB_1\.Connections\.Inbound\.AcceptedConnections.*"
server.orb.connection-managers.orb_S1AS-ORB_1\.Connections\.Inbound\.AcceptedConnections.connectionsidle-count = 0
server.orb.connection-managers.orb_S1AS-ORB_1\.Connections\.Inbound\.AcceptedConnections.connectionsidle-description = Provides the total number of idle connections to the ORB.
server.orb.connection-managers.orb_S1AS-ORB_1\.Connections\.Inbound\.AcceptedConnections.connectionsidle-lastsampletime = 1229555500511
server.orb.connection-managers.orb_S1AS-ORB_1\.Connections\.Inbound\.AcceptedConnections.connectionsidle-name = ConnectionsIdle
server.orb.connection-managers.orb_S1AS-ORB_1\.Connections\.Inbound\.AcceptedConnections.connectionsidle-starttime = 1229555398273
server.orb.connection-managers.orb_S1AS-ORB_1\.Connections\.Inbound\.AcceptedConnections.connectionsidle-unit = count
server.orb.connection-managers.orb_S1AS-ORB_1\.Connections\.Inbound\.AcceptedConnections.connectionsinuse-count = 0
server.orb.connection-managers.orb_S1AS-ORB_1\.Connections\.Inbound\.AcceptedConnections.connectionsinuse-description = Provides the total number of in-use connections to the ORB.
server.orb.connection-managers.orb_S1AS-ORB_1\.Connections\.Inbound\.AcceptedConnections.connectionsinuse-lastsampletime = 1229555500511
server.orb.connection-managers.orb_S1AS-ORB_1\.Connections\.Inbound\.AcceptedConnections.connectionsinuse-name = ConnectionsInUse
server.orb.connection-managers.orb_S1AS-ORB_1\.Connections\.Inbound\.AcceptedConnections.connectionsinuse-starttime = 1229555398273
server.orb.connection-managers.orb_S1AS-ORB_1\.Connections\.Inbound\.AcceptedConnections.connectionsinuse-unit = count
server.orb.connection-managers.orb_S1AS-ORB_1\.Connections\.Inbound\.AcceptedConnections.dotted-name = server.orb.connection-managers.orb_S1AS-ORB_1\.Connections\.Inbound\.AcceptedConnections
server.orb.connection-managers.orb_S1AS-ORB_1\.Connections\.Inbound\.AcceptedConnections.totalconnections-current = 0
server.orb.connection-managers.orb_S1AS-ORB_1\.Connections\.Inbound\.AcceptedConnections.totalconnections-description = Provides the total number of connections to the ORB.
server.orb.connection-managers.orb_S1AS-ORB_1\.Connections\.Inbound\.AcceptedConnections.totalconnections-highwatermark = 0
server.orb.connection-managers.orb_S1AS-ORB_1\.Connections\.Inbound\.AcceptedConnections.totalconnections-lastsampletime = 1229555500511
server.orb.connection-managers.orb_S1AS-ORB_1\.Connections\.Inbound\.AcceptedConnections.totalconnections-lowerbound = 0
server.orb.connection-managers.orb_S1AS-ORB_1\.Connections\.Inbound\.AcceptedConnections.totalconnections-lowwatermark = 0
server.orb.connection-managers.orb_S1AS-ORB_1\.Connections\.Inbound\.AcceptedConnections.totalconnections-name = TotalConnections
server.orb.connection-managers.orb_S1AS-ORB_1\.Connections\.Inbound\.AcceptedConnections.totalconnections-starttime = 1229555398273
server.orb.connection-managers.orb_S1AS-ORB_1\.Connections\.Inbound\.AcceptedConnections.totalconnections-unit = count
server.orb.connection-managers.orb_S1AS-ORB_1\.Connections\.Inbound\.AcceptedConnections.totalconnections-upperbound = 9223372036854775807

[/code]

-Kedar
[Message sent by forum member 'km' (km)]

http://forums.java.net/jive/thread.jspa?messageID=322251