2022-10-13 13:11:17 +00:00
|
|
|
-- Retrieves the list of all the currently logged in users in the target system.
|
|
|
|
--
|
2022-10-19 20:19:53 +00:00
|
|
|
-- tags: postmortem
|
2022-10-13 13:11:17 +00:00
|
|
|
-- platform: posix
|
2022-10-19 20:19:53 +00:00
|
|
|
SELECT
|
2022-10-17 23:06:17 +00:00
|
|
|
liu.*,
|
|
|
|
p.name,
|
|
|
|
p.cmdline,
|
|
|
|
p.cwd,
|
|
|
|
p.root
|
2022-10-19 20:19:53 +00:00
|
|
|
FROM
|
2022-10-17 23:06:17 +00:00
|
|
|
logged_in_users liu,
|
|
|
|
processes p
|
2022-10-19 20:19:53 +00:00
|
|
|
WHERE
|
2022-10-17 23:06:17 +00:00
|
|
|
liu.pid = p.pid;
|