13 lines
193 B
Plaintext
13 lines
193 B
Plaintext
import "fmt"
|
|
import "sys"
|
|
|
|
$theload = sys.load()
|
|
|
|
$x1 = $theload->x1
|
|
$x5 = $theload->x5
|
|
$x15 = $theload->x15
|
|
|
|
print "print1" {
|
|
msg => fmt.printf("load average: %f, %f, %f", $x1, $x5, $x15),
|
|
}
|