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