summaryrefslogtreecommitdiffstats
path: root/src/formats/cloudvm_ram_log.json
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/formats/cloudvm_ram_log.json22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/formats/cloudvm_ram_log.json b/src/formats/cloudvm_ram_log.json
new file mode 100644
index 0000000..723cdaa
--- /dev/null
+++ b/src/formats/cloudvm_ram_log.json
@@ -0,0 +1,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+)"
+ }
+ }
+ }
+} \ No newline at end of file