pcp
[Top] [All Lists]

kernel.all.uptime units

To: <pcp@xxxxxxxxxxx>
Subject: kernel.all.uptime units
From: "Mike Mason" <mmlnx@xxxxxxxxxx>
Date: Fri, 4 Jan 2002 10:08:13 -0800
Sender: owner-pcp@xxxxxxxxxxx
Why is the kernel.all.uptime metric provided in hour units rather than
minutes or seconds?  I'm looking into converting "top" to use PCP.  Top
displays uptime in days, hours and minutes, but I can't get an accurate
minute count out of PCP.  Can kernel.all.uptime be changed to minute units
or do I need to add another uptime metric for that?

It seems that, as a general rule, metrics should be provided at the smallest
reasonable units, then let the client programs convert to larger units if
desired.  Is there a general rule like this that PCP developers follow?

Regards,
Mike

---
Mike Mason
Software Engineer
IBM Linux Technology Center, RAS Group
Beaverton, Oregon, USA
phone: (503) 578-4123    tie line: 775-4123
mmlnx@xxxxxxxxxx         fax: (503) 578-4700


<Prev in Thread] Current Thread [Next in Thread>