# ps -e -o pid,user,project,rss,vsz,zone,comm >/tmp/3-9309294501_ps.out
# ipcs -mAZ >/tmp/3-9309294501_ipcs.out
# echo "::walk proc p| ::print -t proc_t p_cred |::print struct cred cr_projid|::grep ".==0t101" |::eval '<p=K'" |mdb -k > /tmp/3-9309294501_mdb_ora_procs.out
# echo "::walk proc p| ::print
-t proc_t p_cred |::print struct cred cr_projid|::grep ".==0t101"
|::eval '<p=K' |::pmap" | mdb -k
# echo "::cat /tmp/3-9309294501_mdb_ora_procs.out|::pmap; ::cat /tmp/3-9309294501_mdb_ora_procs.out |::ps" | mdb -k >/tmp/3-9309294501_pmap.out
# cat 3-9309294501_pmap.out |egrep -v '(^S|^R|^Z)'| awk '{print $3}' | grep -v SIZE | sed -e 's/k//g' | awk '$1 < 1500000 {x=x+$1} END {print x/1024/1024}'
# prstat -J -c 1 1
# prstat -a -s rss -c 1 1
No comments:
Post a Comment