Update CSS Archive Engine scripts

Signed-off-by: Bernardo Carvalho <bernardo.carvalho@tecnico.ulisboa.pt>
This commit is contained in:
Bernardo Carvalho
2024-10-08 16:05:57 +01:00
parent fd58fab8e9
commit 0ed0ce8a11

View File

@@ -2,7 +2,7 @@
#mysql -u report -p"\$report" -D archive -e 'SELECT `smpl_time`, `severity_id`, `status_id`, `str_val` FROM `sample` WHERE `channel_id` = 12'
#mysql -u report -p"\$report" -D archive <<< 'show tables'
#mysql -u report -p"\$report" -D archive <<< "SELECT `smpl_time`, `severity_id`, `status_id`, `str_val` FROM `sample` WHERE `channel_id` = 13"
mysql -u report -p"\$report" -D isttok_archiveDB <<< 'SELECT `smpl_time`, `str_val` , `severity_id`, `status_id` FROM sample WHERE channel_id = 12 ORDER by `smpl_time` DESC LIMIT 20'
mysql -u report -h 193.136.136.88 -p"\$report" -D isttok_archiveDB <<< 'SELECT `smpl_time`, `str_val` , `severity_id`, `status_id` FROM sample WHERE channel_id = 12 ORDER by `smpl_time` DESC LIMIT 20'
#"SELECT `smpl_time`, `severity_id`, `status_id`, `str_val` FROM `sample` WHERE `channel_id` = 13"