Separate v2 and v3 into dedicated directories
[khatus.git] / v2 / src / awk / exe / parse_loadavg_file.awk
diff --git a/v2/src/awk/exe/parse_loadavg_file.awk b/v2/src/awk/exe/parse_loadavg_file.awk
new file mode 100644 (file)
index 0000000..22826ca
--- /dev/null
@@ -0,0 +1,10 @@
+# 0.71 1.04 1.12 1/325 2409
+{
+    split($4, sched, "/")
+    print("load_avg_1min"             , $1)
+    print("load_avg_5min"             , $2)
+    print("load_avg_15min"            , $3)
+    print("kern_sched_queue_runnable" , sched[1])
+    print("kern_sched_queue_total"    , sched[2])
+    print("kern_sched_latest_pid"     , $5)
+}
This page took 0.029068 seconds and 4 git commands to generate.