All time consumed by startup and shutdown state will be added and turn to badtime meas bad shutdown time.
usage:
(nn) hmank ~/c/G/tuptime dev » tup -h
usage: tuptime-barchart.py [-h] [-f FILE] [-b BEGIN_DATE] [-e END_DATE]
[-p PAST_DAYS] [--fwidth FIG_WIDTH]
[--fheight FIG_HEIGHT] [-w BAR_WIDTH]
[--lwidth LINE_WIDTH] [-a GRID_ALPHA]
optional arguments:
-h, --help show this help message and exit
-f, --filedb FILE database file
-b, --bdate BEGIN_DATE
begin date to plot, format:Y-m-d.
-e, --edate END_DATE end date to plot, format:Y-m-d. Default edate is
today.
-p, --pastdays PAST_DAYS
past days before edate to plot, will be ignored if set
bdate (default is 7).
--fwidth FIG_WIDTH figure width.
--fheight FIG_HEIGHT figure height.
-w, --bwidth BAR_WIDTH
The width of the bars (default is 0.5).
--lwidth LINE_WIDTH line width of figure grid (default is 1).
-a, --galpha GRID_ALPHA
alpha value of figure grid (default is 0).
Hi @rfrail3 I made an update for the
plot bar chart
script.endst
is BAD.If we got an
tuptime
entry like this:All time consumed by
startup
andshutdown
state will be added and turn tobadtime
meas bad shutdown time.usage: