Created
January 14, 2013 11:37
-
-
Save abbaspour/4529501 to your computer and use it in GitHub Desktop.
failed to grab pid
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ppriv $$ | |
29763: -bash | |
flags = <none> | |
E: basic,dtrace_proc,dtrace_user,proc_owner | |
I: basic,dtrace_proc,dtrace_user,proc_owner | |
P: basic,dtrace_proc,dtrace_user,proc_owner | |
L: basic,contract_event,contract_observer,dtrace_proc,dtrace_user,file_chown,file_chown_self, | |
file_dac_execute,file_dac_read,file_dac_search,file_dac_write,file_owner,file_setid,ipc_dac_read, | |
ipc_dac_write,ipc_owner,net_bindmlp,net_icmpaccess,net_mac_aware,net_privaddr,net_rawaccess, | |
proc_audit,proc_chroot,proc_lock_memory,proc_owner,proc_setid,proc_taskid,sys_acct,sys_admin, | |
sys_audit,sys_mount,sys_nfs,sys_resource | |
$ /usr/ucb/ps auxwww | grep java | fgrep "XX:+ExtendedDTraceProbes" | awk '{print $1,$2}' | |
weblogic 1745 | |
weblogic 27317 | |
$ pfexec dtrace -n 'hotspot$target:::object-alloc{ @ = quantize(arg1) }' -p 1745 | |
dtrace: failed to grab pid 1745: permission denied | |
$ pstack 1745 | |
pstack: cannot examine 1745: permission denied |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment