On Thu, 11 Feb 2010, Craig Small wrote:
> On Wed, Feb 10, 2010 at 02:33:52PM +0100, Peter Palfrader wrote:
> > I upgraded procps on field.debian.org in the hope of appeasing ps (and
> > this nagios) but no such luck:
> kfreebsd has unbelievably broken procfs so it could be a symptom of
> that. Unforuntately the bugs about procfs are several years old.
>
> Can you send me the output of
> cat /proc/uptime ; grep 'cpu ' /proc/stat ; cat /proc/uptime
>
> also
> getconf CLK_TCK
Sure:
| wea...@field:~$ cat /proc/uptime ; grep 'cpu ' /proc/stat ; cat /proc/uptime
| 188847.15 673325.21
| cpu 119994 4473784 3539322 2746621
| 188847.16 673325.21
| wea...@field:~$ getconf CLK_TCK
| 60
> That will at least tell me if we're getting sensible numbers first.
> Jiffies is calculated by adding the 7 numbers of the cpu line and
> dividing it by the average of the two first number of the uptime.
> On my amd64 it was 102 which is close enough to 100, which is what
> CLK_TCK gives me.
[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.]
--
| .''`. ** Debian GNU/Linux **
Peter Palfrader | : :' : The universal
http://www.palfrader.org/ | `. `' Operating System
| `- http://www.debian.org/
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]