Skip to content
This repository has been archived by the owner on Oct 13, 2020. It is now read-only.

brianm/mxfingerd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Building:
    Install Maven 2 from http://maven.apache.org/

    run
        $ mvn assembly:assembly

    This will create target/mxfingerd-1.0-jar-with-dependencies.jar


Running:
    As root (bad idea, but hey!)
        $ sudo java -jar target/mxfingerd-1.0-jar-with-dependencies.jar

    As non-root
        $ java -jar target/mxfingerd-1.0-jar-with-dependencies.jar

    When run as root it will bind to port 79
    When run as non root it will bind to 7979
        You will need to forward port 7979 to 79 for finger client

Queries, if daemon is running on the server "bang", look like:

-- list all mbeans on javathing.com 
$ finger @[email protected]

-- all attributes on the org.skife.wombat:name=FuzzyThing mbean on javathing.com
$ finger org.skife.wombat:[email protected]@mxfingerdhost.com

-- ResponseCacheEnabled attribute on the org.skife.wombat:name=FuzzyThing
-- mbean on javathing.com
$ finger org.skife.wombat:name=FuzzyThing#[email protected]@mxfingerdhost.com

If no port is specified on javathing.com it will try to connect to 8989, 
alternately you can specify a port, a la

$ finger @javathing.com:[email protected]

There is nothing for auth at this point.

About

Finger Daemon which Queries JMX

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages