Code Review
/
nonrtric.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fetch of authorization token
[nonrtric.git]
/
test
/
common
/
genstat.sh
diff --git
a/test/common/genstat.sh
b/test/common/genstat.sh
index
3c329d9
..
e186f09
100755
(executable)
--- a/
test/common/genstat.sh
+++ b/
test/common/genstat.sh
@@
-31,7
+31,6
@@
print_usage() {
echo "or"
echo "Usage: genstat.sh KUBE <start-time-seconds> <log-file> <app-short-name> <app-name> <namespace> [ <app-short-name> <app-name> <namespace> ]*"
}
echo "or"
echo "Usage: genstat.sh KUBE <start-time-seconds> <log-file> <app-short-name> <app-name> <namespace> [ <app-short-name> <app-name> <namespace> ]*"
}
-
STARTTIME=-1
if [ $# -lt 4 ]; then
STARTTIME=-1
if [ $# -lt 4 ]; then
@@
-66,7
+65,7
@@
else
fi
fi
-echo "
Time;Na
me;PIDS;CPU perc;Mem perc" > $LOGFILE
+echo "
Name;Ti
me;PIDS;CPU perc;Mem perc" > $LOGFILE
if [ "$STARTTIME" -ne -1 ]; then
STARTTIME=$(($SECONDS-$STARTTIME))
if [ "$STARTTIME" -ne -1 ]; then
STARTTIME=$(($SECONDS-$STARTTIME))