Use the help options to see the syntax:

[EMAIL PROTECTED] bin]$ twiddle.sh --help
A JMX client to 'twiddle' with a remote JBoss server.

usage: twiddle.sh [options] <command> [command_arguments]

options:
    -h, --help                Show this help message
        --help-commands       Show a list of commands
    -H=<command>              Show command specific help
    -c=command.properties     Specify the command.properties file to use
    -D<name>[=<value>]        Set a system property
    --                        Stop processing options
    -s, --server=<url>        The JNDI URL of the remote server
    -a, --adapter=<name>      The JNDI name of the RMI adapter to use
[EMAIL PROTECTED] bin]$ twiddle.sh --help-commands
twiddle.sh commands:
    get           Get the values of one or more MBean attributes
    invoke        Invoke an operation on an MBean
    unregister    Unregister one or more MBeans
    create        Create an MBean
    serverinfo    Get information about the MBean server
    query         Query the server for a list of matching MBeans
    info          Get the metadata for an MBean
[EMAIL PROTECTED] bin]$ twiddle.sh -H get
Get the values of one or more MBean attributes

usage: get [options] <name> [<attr>+]
  If no attribute names are given all readable attributes are gotten
options:
    --noprefix    Do not display attribute name prefixes
    --            Stop processing options

xxxxxxxxxxxxxxxxxxxxxxxx
Scott Stark
Chief Technology Officer
JBoss Group, LLC
xxxxxxxxxxxxxxxxxxxxxxxx


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mike
Lindsey
Sent: Tuesday, December 23, 2003 9:31 AM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] twiddle

Can someone give a couple useful examples of twiddle?

Everything I can find online, if it mentions twiddle, it mentions it in
a vauge sort of way.

So far I'm not getting the syntax quite right for anything other than
querys.




-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to