Use process name and username as key instead of pid and uid

Names are more reliable across multiple machines
This commit is contained in:
emanuele-f 2019-05-30 18:04:38 +02:00
parent b691f4c5f5
commit 793dcab32c
12 changed files with 66 additions and 49 deletions

View file

@ -12,14 +12,14 @@ sendHTTPContentTypeHeader('text/html')
local mode = _GET["ebpf_data"] or "applications"
local host = _GET["host"]
local pid = _GET["pid"]
local pid_name = _GET["pid_name"]
local pageinfo = {
["sortColumn"] = "column_bytes",
["maxHits"] = 15,
["a2zSortOrder"] = false,
["hostFilter"] = host,
["pidFilter"] = tonumber(pid),
["pidnameFilter"] = pid_name,
["detailsLevel"] = "high", -- to obtain processes information
}