blob: 74332ddbc8c0ec2e0398ef0c184867c369f9d55f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
{
"$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]+))?)$"
}
}
}
}
|