summaryrefslogtreecommitdiffstats
path: root/src/formats/cloudvm_ram_log.json
blob: e1293442fd34b40a7851b74d163f941f3b1c39cb (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",
    "cloudvm_ram_log": {
        "title": "CloudVM Ram Log",
        "description": "Periodic dumps of ram sizes",
        "regex": {
            "std": {
                "pattern": "========== Start of cloudvm ram size dump at (?<timestamp>[^=]+) ==========(?<body>.*)"
            }
        },
        "sample": [
            {
                "line": "========== Start of cloudvm ram size dump at Thu Jun 2 08:00:01 UTC 2022 =========="
            }
        ],
        "search-table": {
            "cloudvm_ram_sizes": {
                "pattern": "^(?!TOTAL)(?<ServiceName>\\S+)\\s+(?<AllocatedMB>-?\\d+)\\s+(?<MaxMB>-?\\d+)\\s+(?<CurrentMB>-?\\d+)\\s+(?<CurrRSS>-?\\d+)\\s+(?<Cache>-?\\d+)\\s+(?<MapFiles>-?\\d+)\\s+(?<MemoryLimit>-?\\d+)"
            }
        }
    }
}