Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Aug 2002 10:50:29 -0400
From:      "Patrick" <patrick@godloveya.com>
To:        sparc@FreeBSD.ORG
Subject:   vmstat
Message-ID:  <20020809145030.20772.qmail@vpop.dmv.com>

next in thread | raw e-mail | index | archive | help

I've been looking into the issue with vmstat not working properly,and I've 
narrowed it down to the getuptime() routine. 

       if (boottime == 0)
               kread(X_BOOTTIME, &boottime, sizeof(boottime)); 


After the kread function, boottime is equal to 0, which fails. 

I modified a copy of vmstat to use sysctl, but that isn't the right thing to 
use (was able to run the program though). 


Thanks, 

Patrick 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-sparc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020809145030.20772.qmail>