public
Description: Finger Daemon which Queries JMX
Homepage:
Clone URL: git://github.com/brianm/mxfingerd.git
brianm (author)
Thu Aug 07 10:49:11 -0700 2008
commit  7a9c0431e9689b3a470960017fabe3d8a78f2515
tree    2b60e0bf32ac6588e93ada078a71a6a315c60203
parent  0df2195789e242c6da3c94941224be83688504b0
mxfingerd / README
100644 39 lines (25 sloc) 1.231 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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 @javathing.com@mxfingerdhost.com
 
-- all attributes on the org.skife.wombat:name=FuzzyThing mbean on javathing.com
$ finger org.skife.wombat:name=FuzzyThing@javathing.com@mxfingerdhost.com
 
-- ResponseCacheEnabled attribute on the org.skife.wombat:name=FuzzyThing
-- mbean on javathing.com
$ finger org.skife.wombat:name=FuzzyThing#ResponseCacheEnabled@javathing.com@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:3000@mxfingerdhost.com
 
There is nothing for auth at this point.