mirror of https://github.com/tstack/lnav
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
905 B
JSON
22 lines
905 B
JSON
{
|
|
"$schema": "https://lnav.org/schemas/format-v1.schema.json",
|
|
"procstate_log": {
|
|
"title": "Process State",
|
|
"description": "Periodic dumps of process state",
|
|
"regex": {
|
|
"std": {
|
|
"pattern": "========== Start of system state dump at (?<timestamp>[^=]+)==========(?<body>.*)"
|
|
}
|
|
},
|
|
"sample": [
|
|
{
|
|
"line": "========== Start of system state dump at Thu Jun 2 00:01:01 UTC 2022 =========="
|
|
}
|
|
],
|
|
"search-table": {
|
|
"procstate_procs": {
|
|
"pattern": "^(?<user>\\S+)\\s+(?<pid>\\d+)\\s+(?<cpu_pct>\\d+(?:\\.\\d+)?)\\s+(?<mem_pct>\\d+(?:\\.\\d+)?)\\s+(?<vsz>\\d+)\\s+(?<rss>\\d+)\\s(?<tty>\\S+)\\s+(?<stat>\\S+)\\s+(?<start_time>\\S+)\\s+(?<cpu_time>\\S+)\\s+(?<cmd>(?<cmd_name>[^ \\n]+)(?: (?<cmd_args>[^\\n]+))?)$"
|
|
}
|
|
}
|
|
}
|
|
} |