Commit | Line | Data |
---|---|---|
b9d5cfd4 SK |
1 | { |
2 | pid = $1 | |
3 | state = $2 | |
b9d5cfd4 SK |
4 | Pids[pid] = 1 |
5 | Total_Per_State[state]++ | |
b9d5cfd4 SK |
6 | } |
7 | ||
8 | END { | |
9 | print("total_procs", length(Pids)) | |
10 | for (state in Total_Per_State) { | |
11 | print("total_per_state" Kfs state, Total_Per_State[state]) | |
12 | } | |
13 | } |