> > I tried dtrace to capture the difference as following: > > #!/usr/sbin/dtrace -qs > > proc:::signal-send > > /args[2] == SIGPIPE/ > > { > > printf ( "SIGPIPE was sent by %s pid = %d \n", > > args[1]->pr_fname,args[1]->pr_pid); > > } > > > > This doesn't work as SIGPIPE is not a signal. Could anyone suggest the right > > approach? > > > > Thanks in advance, > >
Not sure what you mean by "SIGPIPE is not a signal", but you might want to investigate "proc::psig:signal-handle". Rennie _______________________________________________ dtrace-discuss mailing list dtrace-discuss@opensolaris.org