Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F102889686
get-avg-jrt
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, Feb 25, 05:59
Size
312 B
Mime Type
text/x-shellscript
Expires
Thu, Feb 27, 05:59 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
24447635
Attached To
R3704 elastic-yarn
get-avg-jrt
View Options
#!/bin/bash
NRJ
=
`
grep c.mem TRACE* | wc -l
`
find | grep jobruntime.csv | xargs -I
{}
cat
{}
> all.csv.files
> avg.jrt
for
job in
`
seq 1
$NRJ
`
;
do
grep
"job_$job[,_]"
all.csv.files | awk -F,
'{print ($6-$5)/1000}'
| ~/stats | grep mean | awk
'{print $2}'
>> avg.jrt
done
~/cdf-gen.py avg.jrt 0 > avg.jrt.cdf
Event Timeline
Log In to Comment