2014-09-09 05:19:59 +00:00
|
|
|
table_name("processes")
|
2015-02-07 03:05:50 +00:00
|
|
|
description("All running processes on the host system.")
|
2014-09-09 05:19:59 +00:00
|
|
|
schema([
|
2015-02-10 02:18:22 +00:00
|
|
|
Column("pid", INTEGER, "Process (or thread) ID"),
|
2014-11-21 01:14:14 +00:00
|
|
|
Column("name", TEXT, "The process path or shorthand argv[0]"),
|
2015-02-13 02:05:10 +00:00
|
|
|
Column("path", TEXT, "Path to executed binary"),
|
2014-11-21 01:14:14 +00:00
|
|
|
Column("cmdline", TEXT, "Complete argv"),
|
2015-02-13 02:05:10 +00:00
|
|
|
Column("cwd", TEXT, "Process current working directory"),
|
|
|
|
Column("root", TEXT, "Process virtual root directory"),
|
|
|
|
Column("uid", BIGINT, "Unsigned user ID"),
|
|
|
|
Column("gid", BIGINT, "Unsgiend groud ID"),
|
|
|
|
Column("euid", BIGINT, "Unsigned effective user ID"),
|
|
|
|
Column("egid", BIGINT, "Unsigned effective group ID"),
|
2014-11-21 01:14:14 +00:00
|
|
|
Column("on_disk", TEXT, "The process path exist yes=1, no=-1"),
|
2015-02-13 02:05:10 +00:00
|
|
|
Column("wired_size", TEXT, "Bytes of unpagable memory used by process"),
|
|
|
|
Column("resident_size", TEXT, "Bytes of private memory used by process"),
|
|
|
|
Column("phys_footprint", TEXT, "Bytes of total physical memory used"),
|
|
|
|
Column("user_time", TEXT, "CPU time spent in user space"),
|
|
|
|
Column("system_time", TEXT, "CPU time spent in kernel space"),
|
|
|
|
Column("start_time", TEXT, "Unix timestamp of process start"),
|
|
|
|
Column("parent", INTEGER, "Process parent's PID"),
|
2014-09-09 05:19:59 +00:00
|
|
|
])
|
2014-10-03 23:24:11 +00:00
|
|
|
implementation("system/processes@genProcesses")
|