Closes #1142 (closed)
Note: this code is in the monitor directory, but it is only used in autosubmit stats <EXPID>
monitor
autosubmit stats <EXPID>