You are not logged in. Login Now
 0-4          
 
Author Message
styles
SIGINFO for Solaris? Mark Unseen   Oct 1 15:27 UTC 2007

I want a program running on Solaris to handle the equivalent of the SIGINFO
signal available on BSD systems.  What is this magic equivalent?  SIGPROF has
the same integer constant, but from what I see online it's used for profiling
user vs. kernel time spent in the Solaris threading system, and I'd rather
not mess with that.

Thank for any ideas.
4 responses total.
mcnally
response 1 of 4: Mark Unseen   Oct 1 16:13 UTC 2007

 Well, there's always SIGUSR1 and SIGUSR2 if you have a need to define 
 signals that have a special meaning to your program.
styles
response 2 of 4: Mark Unseen   Oct 4 22:06 UTC 2007

Unfortunately, the problem is that this is for a native program with a JVM
embedded in it and java depends on SIGUSR1 and SIGUSR2, so I can't mess with
those without breaking everything.
mcnally
response 3 of 4: Mark Unseen   Oct 4 22:13 UTC 2007

 That *is* unfortunate.  And, arguably, bad design on the part of the 
 Java designers.
styles
response 4 of 4: Mark Unseen   Oct 24 23:06 UTC 2007

Well, it's possible that SIGUSR2 is unused by the JVM.  I can confirm for sure
SIGUSR1 *is* used by the JVM.  I can double-check, but I'd still prefer to
do something SIGINFOesque.  Thanks.
 0-4          
Response Not Possible: You are Not Logged In
 

- Backtalk version 1.3.30 - Copyright 1996-2006, Jan Wolter and Steve Weiss