Projet

Général

Profil

Révision b0e8dcea

IDb0e8dcea3966275151c94c21c9d30ce1cb9812f1
Parent 4a9b0e47
Enfant 16b017fc

Ajouté par Steve Schnepp il y a plus de 10 ans

multicpu1sec-c: using DERIVE

We just delegate the whole CPU % computing to RRD

Voir les différences:

plugins/system/multicpu1sec/multicpu1sec-c.c
51 51
	for (i = 0; i < ncpu; i++) {
52 52
		printf("cpu%d.label CPU %d\n", i, i);
53 53
		printf("cpu%d.draw %s\n", i, "AREASTACK");
54
		printf("cpu%d.type %s\n", i, "DERIVE");
54 55
		printf("cpu%d.min 0\n", i);
55 56
	}
56 57

  

Formats disponibles : Unified diff