is tsb (Total time since boot) and uptime (time passed since last boot) one and same? but tsb is giving different value when I run below queries in my ubuntu local
osquery> SELECT (SUM(user) + SUM(nice) + SUM(system) + SUM(idle) * 1.0) AS tsb, SUM(COALESCE(idle, 0)) + SUM(COALESCE(iowait, 0)) AS itsb FROM cpu_time; (this query I read it from
https://medium.com/@zercurity/process-monitoring-with-osquery-22c6f38fc239)
+-----------+---------+
| tsb | itsb |
+-----------+---------+
| 2945579.0 | 2807319 |
+-----------+---------+
and osquery> select * from uptime;
+------+-------+---------+---------+---------------+
| days | hours | minutes | seconds | total_seconds |
+------+-------+---------+---------+---------------+
| 0 | 1 | 26 | 34 | 5194 |
+------+-------+---------+---------+---------------+
can anyone explain to me how we can equate tsb to uptime total_seconds;
or please help me to understand how they are different if both are not same.