Will appcrash catch a crash of a non-global zone app? -- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/dtrace-discuss/attachments/20070710/68532d9a/attachment.html>
I went looking for app_crash, and the one I found has a predicate which matches certain signals, but not restricted by zone ID, so as long as the D script is running with full priv (i.e. root), and in the global zone, it will see all processes in all zones. The only thing is, it doesn''t look like app_crash displays zone ID, so you could theoretically display two apps with the same PID in different zones, PLUS, you''d probably want zone info anyway, so you may need to modify the script to display the zone ID (zonename). Chip Asif Iqbal wrote:> Will appcrash catch a crash of a non-global zone app?
On 7/11/07, Chip Bennett <cbennett at laurustech.com> wrote:> The only thing is, it doesn''t look like app_crash displays zone ID, so > you could theoretically display two apps with the same PID in different > zones, PLUS, you''d probably want zone info anyway, so you may need to > modify the script to display the zone ID (zonename).Chip, The pid space is common for the entire system. You should not be able to get 2 processes with the same pid at any one time. -- Just me, Wire ... Blog: <prstat.blogspot.com>
Wee Yeh Tan wrote:> > Chip, > > The pid space is common for the entire system. You should not be able > to get 2 processes with the same pid at any one time. > >Oops.... dropped a brain cell. Thanks. (Guess I was thinking of LDoms.) ;-) Chip