Rename unusually-long-uptime

This commit is contained in:
Thomas Stromberg 2022-11-23 07:10:41 -05:00
parent 39e9aee6eb
commit 546d1367eb
Failed to extract signature
1 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,12 @@
-- Indicative of a machine that probably needs a reboot for operating-system patches
SELECT
os_version.name AS os_name,
os_version.version AS os_version,
kernel_info.version AS kernel,
days AS uptime_days
FROM
kernel_info,
os_version,
uptime
WHERE
uptime.days > 60;