mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Use process name and username as key instead of pid and uid
Names are more reliable across multiple machines
This commit is contained in:
parent
b691f4c5f5
commit
793dcab32c
12 changed files with 66 additions and 49 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue