Syntax:
lc [<context>]
Lists the content of the given context or, if not specified, the content of the current context.
Example:
router1/sys$jms/listeners> lc
Entity List: Listeners
Description: Listener definitions
Entities in this List:
----------------------
plainsocket
router1/sys$jms/listeners> lc /sys$queuemanager/queues/testqueue
Entity: Queue Properties
Description: Properties for each Queue
Properties for this Entity:
Name Current Value
--------------------------------------------------------------
cache.size 100
cleanup.interval -1
Entity contains no Sub-Entities.
router1/sys$jms/listeners>_
Note that you can abbreviate the context name, i. e. in the above example you can also type "lc /sys$q/q/t" to list context /sys$queuemanager/queues/testqueue.
Each Router has a special entity ".env" which contains data about the environment the router is running in. Use the lc command to display this data.
Example:
router1> lc .env
Entity: Router Environment
Description: Environment of this Router
Properties for this Entity:
Name Current Value
--------------------------------------------------------------
hostname (R/O) dev199.iit.de
jre (R/O) 1.4.2
memory-collect-interval 1000
os (R/O) Windows XP 5.1 x86
release (R/O) 5.0.1 Production
routername router1
startuptime (R/O) Fri May 21 11:27:01 CEST 2004
use-smart-tree false
Sub-Entities of this Entity:
----------------------------
router-memory-list
router1> cc .env
router1/.env> cc router-memory-list
router1/.env/router-memory-list> cc router1
router1/.env/router-memory-list/router1> lc
Entity: Router Memory
Description: Router Memory
Properties for this Entity:
Name Current Value
--------------------------------------------------------------
free-memory (R/O) 3474
total-memory (R/O) 7280
Entity contains no Sub-Entities.
router1/.env/router-memory-list/router1>_
Each Swiftlet has a special entity ".meta" which contains meta data about the Swiftlet as vendor, version etc. Use the lc command to display this data.
Example:
router1/sys$jms> lc .meta
Entity: Swiftlet Meta Data
Description: Describes this Swiftlet
Properties for this Entity:
Name Current Value
--------------------------------------------------------------
class (R/O) com.swiftmq.impl.jms.standard.JMSSwiftletImpl
description (R/O) JMS Swiftlet
displayname (R/O) JMS Swiftlet
name (R/O) sys$jms
vendor (R/O) IIT GmbH, Bremen/Germany
version (R/O) 3.0.0
Entity contains no Sub-Entities.
router1/sys$jms>_