X-Git-Url: https://git.xandkar.net/?p=khatus.git;a=blobdiff_plain;f=bin%2Fkhatus_parse_ps;h=a0f41c504d4402b1990017c9c8c4f5f72c5a398e;hp=3b8417eea337542bcf50e805983102560245f54f;hb=0c45b7a3326f8359eedcf265f40f9a160df82f97;hpb=b9d5cfd40bfd794a8f66ed443f13259934b43cbc diff --git a/bin/khatus_parse_ps b/bin/khatus_parse_ps index 3b8417e..a0f41c5 100755 --- a/bin/khatus_parse_ps +++ b/bin/khatus_parse_ps @@ -8,15 +8,8 @@ BEGIN { { pid = $1 state = $2 - rss = $3 - command_i = index($0, $4) - command = substr($0, command_i, length($0) - (command_i - 1)) - Pids[pid] = 1 Total_Per_State[state]++ - print("state" Kfs pid, state) - print("rss" Kfs pid, rss) - print("command" Kfs pid, command) } END {