On Tue, Aug 12, 2008 at 05:51:15PM -0700, Bernard Li wrote:
> 
> On Tue, Aug 5, 2008 at 10:11 AM, Buccaneer for Hire.
> <[EMAIL PROTECTED]> wrote:
> 
> > I am trying to get my head around how part_max_used is determined. Is there 
> > a   document location where I can find this information???  THX
> 
> As far as I know, it searches your system for the most full disk
> partition, and report back the % used by that partition.

the implementation is platform specific and is implemented inside the
libmetrics library generally as part of a function called part_max_used_func,
and in some platforms applies extra filters to include or exclude some mount
points.

for linux the file libmetrics/linux/metrics.c and the find_disk_space function
implement this metric, and filter out any volumes that are mounted read only
or that are considered to be remote.

Carlo

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to