Commit | Line | Data |
---|---|---|
1 | { | |
2 | pid = $1 | |
3 | state = $2 | |
4 | Pids[pid] = 1 | |
5 | Total_Per_State[state]++ | |
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 | } |