Oracle Community Directory
Oracle Community FAQ
My Oracle Support Community (MOSC)
Go Directly To
Oracle Technology Network Community
My Oracle Support Community
OPN Cloud Connection
Oracle Employee Community
Oracle User Group Community
OTN Speaker Bureau
Please enter a title.
You can not post a blank message. Please type your message and try again.
Server & Storage Systems
This discussion is archived
on Mar 15, 2011 11:32 AM by abrante
arg0 of anonpgout probe
Feb 2, 2011 4:23 PM
I need to trace anonymous memory paged out activity. Following is the dscript:
#pragma D option quiet
printf("Tracing... Hit Ctrl-C to end.\n");
@apo[pid, execname] = sum(arg0);
printf("%6s %-16s %16s\n", "PID", "CMD", "PAGES");
printa("%6d %-16s %@16d\n", @apo);
when I ran this script, I got output but the data on PAGES column is zero:
PID CMD PAGES
0 sched 0
25 sshd 0
221 sshd 0
351 ypbind 0
2616 mv 0
2621 ftp 0
2622 update.ksh 0
2680 touch 0
2693 tjb 0
according to the <<SolarisDynamicTracing Guide>>, arg0=1, if the probe fired, PAGES column should always be greater than 1, it should never be 0.
Could anyone explain why I got the above result?
Thanks in advance,
I have the same question
Show 0 Likes
This content has been marked as final.
Show 1 reply
Re: arg0 of anonpgout probe
Mar 15, 2011 11:32 AM
in response to
Well, i know that pgpgin and pgpgout returns the amount of pages in arg0, but i thought that anonpgin and anonpgout only returned 0.
However, don't you get one probe fired everytime there is a pgin or pgout? Can't you just count the amount of times the probe fires to get the amount of pages?
@apo[pid, execname] = count();
should return the amount of pages.. or so i would guess