Thanks Knut.   Actually it turns out that Derby is being started by Glassfish 
and the stdout of "-verbose:gc" is going nowhere.  

I do appreciate your help!

Brett

-----Original Message-----
From: Knut Anders Hatlen [mailto:[email protected]] 
Sent: Wednesday, February 22, 2012 6:03 AM
To: [email protected]
Subject: Re: Trying to start derby network server with properties to monitor 
garbage collection

"Bergquist, Brett" <[email protected]> writes:

> Tried adding “-verbose:gc” to the “startNetworkServer” script, but I 
> cannot find out where the garbage collection statistics output should 
> appear?

It is printed to the console in my environment:

% DERBY_OPTS=-verbose:gc 
/code/derby/releases/db-derby-10.8.2.2-bin/bin/startNetworkServer
Wed Feb 22 11:56:20 CET 2012 : Security manager installed using the Basic 
server security policy.
Wed Feb 22 11:56:21 CET 2012 : Apache Derby Network Server - 10.8.2.2 - 
(1181258) started and ready to accept connections on port 1527 [GC 
16896K->1312K(64768K), 0.0116008 secs] [GC 18208K->2584K(64768K), 0.0106343 
secs] [GC 19480K->3885K(64768K), 0.0133624 secs] [GC 20781K->4147K(64768K), 
0.0076451 secs]

--
Knut Anders

Reply via email to