osquery-1/specs/posix/process_open_files.table
artemdinaburg d4a3fe2452 Windows Daemon/Shell: Initial support for Windows tables (#2182)
Preparation for Windows Tables. We need a Windows process table so that the daemon will run
2016-06-23 16:04:11 -07:00

12 lines
411 B
Plaintext

table_name("process_open_files")
description("File descriptors for each process.")
schema([
Column("pid", BIGINT, "Process (or thread) ID", index=True),
Column("fd", BIGINT, "Process-specific file descriptor number"),
Column("path", TEXT, "Filesystem path of descriptor"),
])
implementation("system/process_open_files@genOpenFiles")
examples([
"select * from process_open_files where pid = 1",
])