home
/
code
/
khatus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Do not process collect data we do not use
[khatus.git]
/
bin
/
khatus_parse_ps
diff --git
a/bin/khatus_parse_ps
b/bin/khatus_parse_ps
index
3b8417e
..
a0f41c5
100755
(executable)
--- a/
bin/khatus_parse_ps
+++ b/
bin/khatus_parse_ps
@@
-8,15
+8,8
@@
BEGIN {
{
pid = $1
state = $2
{
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]++
Pids[pid] = 1
Total_Per_State[state]++
- print("state" Kfs pid, state)
- print("rss" Kfs pid, rss)
- print("command" Kfs pid, command)
}
END {
}
END {
This page took
0.031352 seconds
and
4
git commands to generate.