...
There are a couple of steps to go through before you can retrieve the uPortal MBean attributes. First, open a connection to the JVM.
Example:
$> open localhost:7777
#Connection to localhost:7777 is opened
MBeans are grouped by domains. We start by getting a list of all of the available domains, then selecting the uPortal domain.
...
$> get -b name=Statistics,section=Framework -d uPortal ChannelRendererActiveThreads
#mbean = uPortal:name=Statistics,section=Framework:
ChannelRendererActiveThreads = 0;
$> get -b name=Statistics,section=Framework -d uPortal -s ChannelRendererActiveThreads
#mbean = uPortal:name=Statistics,section=Framework:
0
The "-s" option stands for "silent", so you get a little less output.
...