2 lines
208 B
SQL
2 lines
208 B
SQL
select `port_id`, `ignore`, `ifOperStatus`, `ifLastChange`, TIMESTAMPDIFF(SECOND, `ifLastChange`, NOW()) diff from ports where `ifOperStatus`='down' and TIMESTAMPDIFF(SECOND, `ifLastChange`, NOW())>'259200';
|