[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#460331: still have this problem on kfreebsd-i386



On Thu, 11 Feb 2010, Craig Small wrote:

> On Thu, Feb 11, 2010 at 01:48:07AM +0100, Peter Palfrader wrote:
> > | weasel@field:~$ cat /proc/uptime ; grep 'cpu ' /proc/stat ; cat /proc/uptime
> > | 188847.15 673325.21
> > | cpu 119994 4473784 3539322 2746621
> > | 188847.16 673325.21
> > | weasel@field:~$ getconf CLK_TCK
> > | 60
> I calculate 57 which is close enough to 60, though not close enough for
> procps:
>   case   58 ...   61 :  Hertz =   60; break;
> 
> However you were getting 45!

I've also seen other values like 7, 12, 23, 28, 35, 53.

> On  linux, we just use ELF notes and this problem goes away.  If there
> is something equivalent in freeBSD then I could use that as well.

I wouldn't know, I'm just the poor DSA who gets to fight these machines.  :)
Maybe the debian-bsd list would know.


> > [Is this in any way related to ps showing completely broken timestamps
> > in the START column?  If not and there isn't a bug report about that
> > that ought to get filed too.]
> That bug was reported in procps but was moved to kfreebsd-7 package
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=344546
> It boils down to that the freebsd procfs is incomplete.

Hmm.  Thanks.

-- 
                           |  .''`.  ** Debian GNU/Linux **
      Peter Palfrader      | : :' :      The  universal
 http://www.palfrader.org/ | `. `'      Operating System
                           |   `-    http://www.debian.org/


Reply to: