On 12/19/14 18:12, Ted Unangst wrote:
On Fri, Dec 19, 2014 at 13:04, Stuart Cassoff wrote:
On 12/19/14 07:18, Stuart Cassoff wrote:
$ pstat -T
221/7030 open files
Segmentation fault
I suppose more info from me is desired.
I think that was sufficient. It should be fixed now.
Hi Ted,
It's fixed, but if I run pstat as an ordinary user I get:
port:fred /usr/src/usr.sbin/pstat> ./pstat -T
pstat: kvm_openfiles: /dev/mem: Permission denied
rather than:
port:fred /usr/src/usr.sbin/pstat> sudo ./pstat -T
Password:
1477/7030 open files
34681 vnodes
0M/8311M swap space
But pstat -f works as expected as an ordinary user.
Cheers
Fred
PS This with pstat.c patched to 1.96