title: How program can check if it is run under debugger on Solaris x86?
body: <p>On linux I can check if TracerPid != 0:</p>
  
  <pre><code># cat /proc/self/status
  Name:   cat
  State:  R (running)
  Tgid:   12569
  Pid:    12569
  PPid:   24212
  TracerPid:  0
  ....
  </code></pre>
  
  <p>How can I do in on Solaris?</p>