$theload = load() $x1 = structlookup($theload, "x1") $x5 = structlookup($theload, "x5") $x15 = structlookup($theload, "x15") print "print1" { msg => printf("load average: %f, %f, %f", $x1, $x5, $x15), }