Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
HIFIS
Overall
KPI
DESY Syncnshare
Commits
5028bc3f
Commit
5028bc3f
authored
Jan 11, 2022
by
Uwe Jandt (DESY, HIFIS)
Browse files
initial commit
parent
35ee177b
Changes
3
Hide whitespace changes
Inline
Side-by-side
.gitignore
0 → 100644
View file @
5028bc3f
*.pdf
users_*.csv
stats/eval.sh
0 → 100755
View file @
5028bc3f
#!/bin/bash
# extract registered aai users
cat
data-raw.csv |
awk
'BEGIN{FS=","}{
if ($5=="Database" && $1=="owncloud")
print $0
}'
|
sort
-t
','
-k
3 |
awk
'BEGIN{FS=","}{
count++;
print $3","$4","count;
}'
>
users_aai.csv
gnuplot plot.plt
stats/plot.plt
0 → 100644
View file @
5028bc3f
#!/bin/gnuplot
set datafile separator ","
set terminal pdf color enhanced size 7,5 dashed
set output 'plot.pdf'
set xdata time
set format x "%Y-%m-%d"
set timefmt "%Y-%m-%d"
set yrange [0:*]
set xrange ["2020-07-01":"2022-03-01"]
set ylabel 'Registered AAI users'
# set some coordinates for diagram formatting. Can also be used to draw multiple aligned diagrams in one canvas, if wanted (multiplot)
MP_LEFT = .1
MP_RIGHT = .95
MP_BOTTOM = .14
MP_TOP = .95
MP_xGAP = 0.1
MP_yGAP = 0.02
set xtics rotate by 45
set xtics textcolor rgbcolor "black" offset -4,-3
set key top left
set linetype 2 dashtype 2
set multiplot layout 1,1 columnsfirst margins screen MP_LEFT, MP_RIGHT, MP_BOTTOM, MP_TOP spacing screen MP_xGAP, MP_yGAP
plot 'users_aai.csv' u 1:3 w l lc black notitle
unset multiplot
set multiplot layout 1,1 columnsfirst margins screen MP_LEFT, MP_RIGHT, MP_BOTTOM, MP_TOP spacing screen MP_xGAP, MP_yGAP
plot 'users_aai.csv' u 2:3 w l lc black notitle
unset multiplot
set multiplot layout 1,1 columnsfirst margins screen MP_LEFT, MP_RIGHT, MP_BOTTOM, MP_TOP spacing screen MP_xGAP, MP_yGAP
set title 'Creation time vs last seen for AAI users'
set xlabel 'Creation time'
set ylabel 'Last seen'
set ydata time
set format y "%Y-%m-%d"
set yrange ["2020-07-01":"2022-03-01"]
plot 'users_aai.csv' u 1:2 notitle
unset multiplot
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment