Commit | Line | Data |
---|---|---|
75b23ff8 SK |
1 | #! /usr/bin/awk -f |
2 | ||
3 | BEGIN { | |
4 | OFS = msg_fs ? msg_fs : "|" | |
5 | Kfs = key_fs ? key_fs : ":" | |
6 | } | |
7 | ||
8 | # 0.71 1.04 1.12 1/325 2409 | |
9 | { | |
10 | split($4, sched, "/") | |
11 | print("load_avg_1min" , $1) | |
12 | print("load_avg_5min" , $2) | |
13 | print("load_avg_15min" , $3) | |
14 | print("kern_sched_queue_runnable" , sched[1]) | |
15 | print("kern_sched_queue_total" , sched[2]) | |
16 | print("kern_sched_latest_pid" , $5) | |
17 | } |