Zhiui Zhang wrote:
>
> I tried to obtain a list of vnodes in the system. The command pstat -v no
> longer works. Is there any way to achieve this or hack the code a little
> bit to achieve this? Thanks.
pstat -v used to call a sysctl to extract the list. THe problem was that
it could be so big that it could cause a kernel lockup while the process
had all the locked memory.
pstat -v should probably be rewritten to use kvm_read/write() if the sysctl
isn't going to be fixed.
Cheers,
-Peter
--
Peter Wemm - [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
"All of this is for nothing if we don't go to the stars" - JMS/B5
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message