The following is a demonstration of the pgpginbyproc.d script,
# pgpginbyproc.d
dtrace: description 'vminfo:::pgpgin ' matched 1 probe
^C
ttymon 1
bash 1
mozilla-bin 36
tar 6661
In the above output, tar processes have paged in 6661 pages from the filesystem.