osquery-1/specs/process_open_files.table
Teddy Reed a105924804 Move specs to a top-level path, add query examples
1. Example queries will run with an (optional) integration test.
2. Fix bad accesses with OS X package BOMs
3. Move spec files from ./osquery/tables/specs to ./specs
4. Remove server parsers (netlib) from client builds.
2015-06-03 10:39:05 -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",
])