Subject: vmstat, iostat etc no longer work?
To: Ian Dall <Ian.Dall@dsto.defence.gov.au>
From: Wiker, Raymond <firstname.lastname@example.org>
Date: 11/11/1996 11:19:42
Ian Dall writes:
> With NetBSD 1.2B, vmstat, iostat etc all fail with
> vmstat: can't reference kptr 0xf8f141a
> vmstat: kvm_read: Bad address
> Well for iostat it says "iostat: ...." rather than "vmstat: ..." :-) !
> The utilities are from the 1.2 binary distribution (pc532) and work with
> the kernel from that binary distribution. The 1.2B kernel has been built
> from sources ftp'd from the NetBSD-current/tar_files/src directory
> a few days ago.
> Also with the new kernel, ps doesn't show process arguments.
> Has the interface changed? Do I need to recompile the utilities?
I've seen the same behaviour a few times... turned out I had
to remove /var/db/kvm_netbsd.db (or something like that...)