It doesn't work because of -this- line in the cfstat script:

# Call coldfusion.tools.CfstatMain with the found settings
${_JAVACMD} -cp ../lib/cfusion.jar coldfusion.tools.CfstatMain \
        $1 \
        $2 \
        $3

Specifically the:  ../lib/cfusion.jar

Some mindnumbingly brilliant shell scripter at Macromedia didn't fathom
that you might NOT always be in $CFUSION_HOME when you run this script. 
.../lib/cfusion.jar is only going to exist if you're in some directory
under $CFUSION_HOME

Betcha if you change the ../lib/cfusion.jar to $CFUSION_HOME/lib/jar
that it might work better

*edits*

test:/opt/coldfusionmx7/bin # cp cfstat cfstat.orig
test:/opt/coldfusionmx7/bin # vi cfstat
test:/opt/coldfusionmx7/bin # cd
test:~ # /opt/coldfusionmx7/bin/cfstat

Pg/Sec  DB/Sec  CP/Sec  Reqs  Reqs  Reqs  AvgQ   AvgReq AvgDB  Bytes 
Bytes
Now Hi  Now Hi  Now Hi  Q'ed  Run'g TO'ed Time   Time   Time   In/Sec
Out/Sec
0   0   0   0   -1  -1  0     0     0     0      524    0      0      0
test:~ #


Well whaddayaknow.....

=)



--
Jeff Schoby
Unix/Network Admin
City of Columbia, Missouri
573.874.6320


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:14:3936
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/14
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:14
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.14
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to