1# @(#)vdump 8.1 (Berkeley) 06/10/93 2# 3# dump the vnode list 4 5define dumpvnodes 6 7 set $vp = (struct vnode *)$arg0 8 while ($vp) 9 printf "vnode=0x%x freef=0x%x mountf=0x%x usecount=%d\n", $vp, $vp->v_freef, $vp->v_mountf, $vp->v_usecount 10 set $vp = (struct vnode *)$vp->v_freef 11 end 12end 13