Defensive
Intermediate
Free
Show logged-in user sessions.
Show logged-in user sessions.
Osquery / Endpoint Security
Command
osqueryi "select * from logged_in_users;"
Syntax
osqueryi "select * from logged_in_users;"
Use case
Use during authorized defensive operations, lab simulations, or audit preparation to understand expected telemetry and command structure.
Explanation
Show logged-in user sessions. This reference is stored in the database and rendered dynamically for safe education, audit, and simulation workflows.
Example output
SIMULATED OUTPUT
status=ok
records=12
note="Database seeded command reference."
More examples
Expanded library example
osqueryi "select * from logged_in_users;"
Show logged-in user sessions.
windows
linux
macos
osquery
endpoint-security
expanded-library
Related
Defensive
Advanced
Premium
Run a local Velociraptor information query.
Run a local Velociraptor information query.
velociraptor query "SELECT * FROM info()"
velociraptor
endpoint-security
expanded-library
Velociraptor / Endpoint Security
Open
Defensive
Advanced
Premium
List Windows-focused artifacts.
List Windows-focused artifacts.
velociraptor artifacts list | grep Windows
velociraptor
endpoint-security
expanded-library
Velociraptor / Endpoint Security
Open
Defensive
Advanced
Premium
Inspect running process telemetry.
Inspect running process telemetry.
velociraptor query "SELECT Name, CommandLine FROM pslist()"
velociraptor
endpoint-security
expanded-library
Velociraptor / Endpoint Security
Open