[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-115151":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":15,"stars7d":16,"stars30d":16,"stars90d":15,"forks30d":15,"starsTrendScore":15,"compositeScore":17,"rankGlobal":10,"rankLanguage":10,"license":18,"archived":19,"fork":19,"defaultBranch":20,"hasWiki":21,"hasPages":19,"topics":22,"createdAt":10,"pushedAt":23,"updatedAt":24,"readmeContent":25,"aiSummary":26,"trendingCount":15,"starSnapshotCount":15,"syncStatus":27,"lastSyncTime":28,"discoverSource":29},115151,"my","agenticode\u002Fmy","agenticode","MemorY: read-only memory error analysis. Turns RAS logs into DIMM-level findings with slot maps, address heatmaps and timelines.","https:\u002F\u002Fmy.sh",null,"Go",72,19,3,0,5,46.9,"Apache License 2.0",false,"main",true,[],"2026-11-17 19:31:20","2026-11-19 13:36:07","# MemorY\n\n[English](README.md) | [한국어](README.ko.md)\n\nMemorY reads the memory error records a Linux server already keeps and shows which DIMM is failing, where inside the DIMM the fault sits, how it developed across reboots and repairs, and what the finding rests on.\n\nIt is for anyone who has to read memory errors and decide what to do: platform and datacenter engineers, SREs, field and support engineers of hardware vendors, system integrators, kernel and RAS developers.\n\nThe command is `my`: one static binary that needs no configuration. It only reads, with one exception that has to be asked for: `my harvest install` puts a systemd unit file on the host (two with `--timer`) and enables it, and `my harvest uninstall` removes them. It never takes a page offline, starts a repair or resets a counter.\n\n![Slot map of the example host: CPU0_C1 is marked replace now, CPU1_D1 observe](examples\u002Ffigures\u002Fslotmap.svg)\n\n![Address map of CPU0_C1: a horizontal line of cells with errors in row 0x1a2f, one of them an uncorrected error](examples\u002Ffigures\u002FCPU0_C1-map.svg)\n\n## Why\n\nA server records memory errors in several places: the rasdaemon database, the kernel log, the EDAC counters, the event log of the BMC. Each has its own form. The counters start at zero with every boot and the logs rotate. A record names the place of one error; no record shows the fault that the errors of a DIMM add up to.\n\nWhat a person has to decide stays open: which DIMM it is, whether one cell, a row or the whole device fails, whether the DIMM is at fault or its slot, whether it is getting worse, whether a repair helped.\n\nMemorY puts the records of every source into one ledger keyed by DIMM serial number, so the history of a DIMM survives reboots and follows the DIMM to another slot. It draws that history, and it states a finding per DIMM with the rule that made it, the records behind it, the checks against other explanations and the data it did not have.\n\n## What it shows\n\nThe screens below are those of the example case in this repository: a synthetic host with a row fault that grew for seven weeks ([examples\u002F](examples\u002FREADME.md)). On a server, `my` without arguments scans the host and draws the same overview.\n\n```\n$ my open examples\u002Fdemo.mycase\ncase bundle of 2026-11-13 09:30 UTC, written by my dev; subject CPU0_C1 S\u002FN 3B9C56\nhost r12-n034  Example Systems R760  2026-07-31 to 2026-11-13  CE 1,284, UE 1  observation grade A\nhost finding: replace now\n\n        A1   B1   C1   D1   E1   F1   G1   H1\n CPU0   ░░   ░░   ██   ░░   ░░   ░░   ░░   ░░\n CPU1   ░░   ░░   ░░   ▒▒   ░░   ░░   ░░   ░░\n\n ██ replace now   ▒▒ observe   ░░ ok    32 slots, 16 DIMMs (16 empty slots not drawn)\n\n #  SLOT     SERIAL     CE  UE  MODE        TREND 30D     FINDING      RULES\n 1  CPU0_C1  3B9C56  1,231   1  row         ▃▄▄▄▅▅▆▆▇█ ↑  replace now  R-UE-01 R-ROW-03 R-REP-02\n 2  CPU1_D1  2AEB41     53   0  single-bit  ▆▁▄█▃▄▃▄▄▁ ↓  observe      R-SOFT-01\n\n 14 DIMMs without errors\n sources  synth\n\n my open examples\u002Fdemo.mycase dimm CPU0_C1: examination of this DIMM\n```\n\nOne DIMM, examined: the finding, the branch of the DIMM the errors sit on, the address map of the bank with the most errors, and the timeline across reboots.\n\n```\n$ my open examples\u002Fdemo.mycase dimm CPU0_C1\ncase bundle of 2026-11-13 09:30 UTC, written by my dev; subject CPU0_C1 S\u002FN 3B9C56\nCPU0_C1  replace now  R-UE-01  1 uncorrected error, the latest on 2026-11-12 03:14 UTC at rank0 dev7\n                               bg0 bank3 row 0x1a2f col 0x238\n         DDR5 RDIMM 64 GB 2Rx4  Example Memory EXM64G48R2X4-A  S\u002FN 3B9C56\n\n evidence  [R-ROW-03] row fault at rank0 dev7 bg0 bank3 row 0x1a2f: 421 errors in the last 7 days,\n           2.3 times the daily rate of the 30 days before\n           [R-REP-02] 764 errors at rank0 dev7 bg0 bank3 row 0x1a2f after the hard PPR of 2026-10-28\n           supports: the other 15 DIMMs of this host have no unconfined errors: a cause in the board\n           is unlikely\n repair    hard PPR at rank0 dev7 bg0 bank3 row 0x1a2f on 2026-10-28 01:30 UTC: 442 errors before,\n           764 after\n next      Replace the DIMM. Attach a case bundle of this DIMM to the return.\n confidence high, 3 more statements, 2 checks not made, 2 kinds of data missing: --detail\n\n where the errors sit in rank0 dev7 bg0 bank3 (width = share of the errors of this DIMM)      boots\n row  |0x1a2f ███████████████████████████████████████████████████████████████████████ 98%|█|  3 of 4\n\n rank0 dev7 bg0 bank3  row by column  one cell = 32 columns\n · 0   ░ 1-2   ▒ 3-9   ▓ 10-99   █ 100+   X uncorrected error\n row       0x000                                                      0x7ff  (column)\n 0x1a2e    ································································\n 0x1a2f    ··············▓··X·····█·▓··█····▓························▒···▒·  ← row fault\n 0x1a30    ··············░··▒·····▒·░··▒···································  ← same fault\n 0x1a31    ································································\n\n boots of this DIMM\n boot             1  2  3  4   boots   errors\n ended            -  -  -  -\n rank0 dev7 bg0 bank3 row 0x1a2f\n   col 0x238      ·  ░  ▓  U   3 of 4  CE 567, UE 1\n   col 0x388      ·  ·  ▒  ▓   2 of 4  CE 294\n   col 0x2f8      ·  ·  ▒  ▓   2 of 4  CE 158\n   col 0x390      ·  ·  ░  ▒   2 of 4  CE 94\n   col 0x420      ·  ·  ·  ▒   1 of 4  CE 49\n 10 other places  ·  ·  ·  ▒   1 of 4  CE 69\n\n · none, corrected ░ 1-9, ▒ 10-99, ▓ 100+, U uncorrected; ended: - not on record\n\n errors per day and events\n           07-31     09-01     10-01     11-12\n CPU0_C1   ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▂▂▂▂▃▃▃▃▄▄▄▅▅▆▆▇█  peak 73\u002Fday\n events            B           B        BP   OU\n                   │           │        ││   │└ 2026-11-12 UE (demand read)\n                   │           │        ││   └─ 7 pages offline, 2026-11-11 to 2026-11-12\n                   │           │        │└───── 2026-10-28 hard PPR\n                   └───────────┴────────┴────── 3 reboots\n```\n\nIn the address map a horizontal line is a row fault, a vertical line a column fault, one cell that repeats a single-bit fault, and a cloud over the bank a bank fault. [docs\u002Freading-guide.md](docs\u002Freading-guide.md) explains every figure, and `my help reading` prints the same on a terminal.\n\n`my board` draws the slots by CPU and channel, read from the SMBIOS slot names, with the grade and the errors of each DIMM. Where a public document of the board's maker gives the population for the number of modules, the board marks the empty slots that table fills and the modules that stand elsewhere, and names the rule and the page of the document; such a finding has no grade and changes no exit code ([docs\u002Frules.md](docs\u002Frules.md#population-rules)).\n\n`my report` writes a case as one HTML file with the figures as SVG, the finding of every DIMM, the checks against a wrong diagnosis and the original records. The file loads nothing from elsewhere, opens without network access and prints to PDF. The report of the example is [examples\u002Fdemo-report.html](examples\u002Fdemo-report.html); this is its timeline of `CPU0_C1`:\n\n![Timeline of CPU0_C1: corrected errors per day rising from late September, with reboots, a hard PPR, page offlines and an uncorrected error marked below](examples\u002Ffigures\u002FCPU0_C1-timeline.svg)\n\n## Quick start\n\nEach [release](https:\u002F\u002Fgithub.com\u002Fagenticode\u002Fmy\u002Freleases) has an archive for linux\u002Famd64, linux\u002Farm64 and darwin\u002Farm64, and their checksums. For version 1.1.0 on an x86-64 server:\n\n```\ncurl -LO https:\u002F\u002Fgithub.com\u002Fagenticode\u002Fmy\u002Freleases\u002Fdownload\u002Fv1.1.0\u002Fmy_v1.1.0_linux_amd64.tar.gz\ncurl -LO https:\u002F\u002Fgithub.com\u002Fagenticode\u002Fmy\u002Freleases\u002Fdownload\u002Fv1.1.0\u002FSHA256SUMS\nsha256sum -c --ignore-missing SHA256SUMS\ntar -xzf my_v1.1.0_linux_amd64.tar.gz\nsudo cp my_v1.1.0_linux_amd64\u002Fmy \u002Fusr\u002Flocal\u002Fbin\u002F\n```\n\nThe binary is statically linked: the one file is all a server needs. The `sudo` of Red Hat Enterprise Linux and its rebuilds leaves `\u002Fusr\u002Flocal\u002Fbin` out of its search path; there, run it as `sudo \u002Fusr\u002Flocal\u002Fbin\u002Fmy`. With Go 1.26 or newer, `go install github.com\u002Fagenticode\u002Fmy\u002Fcmd\u002Fmy@v1.1.0` builds it from source; in a checkout, `make build` writes `bin\u002Fmy`.\n\nOn the server:\n\n```\nsudo my                          # slot map and DIMMs ranked by risk; the exit code is the grade\nsudo my dimm CPU0_C1             # one DIMM: finding, topology bars, address map, timeline\nsudo my why CPU0_C1 --oneline    # the finding as one line for a ticket\nsudo my bundle -o case.mycase    # everything the scan read, as one file\n```\n\nRoot is not required. Without it the scan reads what the host leaves open and names what it could not read: on most hosts the SMBIOS tables, which hold the DIMM serial numbers, and on some the kernel log or the rasdaemon database.\n\nOn any machine, Linux or macOS:\n\n```\nmy open case.mycase                     # the screens the sender saw\nmy report case.mycase -o report.html    # the same case as a document\n```\n\nWithout a server at hand, `my open examples\u002Fdemo.mycase` in a checkout shows the example above.\n\n## How it relates to collectors and repair agents\n\nMemorY collects no errors and acts on none. It reads what the tools that do have left behind.\n\n| Tool | Its part | What MemorY does with it |\n| --- | --- | --- |\n| rasdaemon, mcelog | record error events and counts | reads the database of rasdaemon, its store on a MySQL or PostgreSQL server, and the counts of the mcelog daemon |\n| The kernel: EDAC drivers, firmware error records, machine checks | detects, decodes and logs errors | reads the kernel log and the EDAC counters |\n| Page offlining by the kernel, post package repair and sparing by firmware, repair services of a BMC | take pages away, repair rows, spare devices | shows on the timeline what was done and when, and whether errors came back; it does none of it |\n| A BMC | keeps an event log outside the operating system | reads `ipmitool sel` listings and Redfish dumps, or asks the Redfish service itself and changes nothing on it (`--bmc`, `my collect redfish`) |\n| A fault analyzer of a memory vendor (OCP FMFM) | classifies faults with knowledge of the device | hands it the records in FMFM field names and shows its answer (`--plugin`) |\n| Prometheus | stores series and alerts | `my serve --metrics` exports the finding per DIMM |\n\n## Inputs and observation grades\n\n| Input | Read from | Gives |\n| --- | --- | --- |\n| rasdaemon | `\u002Fvar\u002Flib\u002Frasdaemon\u002Fras-mc_event.db`; with `--fleet`, its store on MySQL, MariaDB or PostgreSQL | error records with the place the EDAC driver decoded, machine checks, page offlines, CXL events |\n| Kernel log | the journal and `\u002Fdev\u002Fkmsg` on a host; `dmesg` output, syslog files and `journalctl -o json` as files | EDAC lines, firmware error records, machine checks, page offlines, boots, Xid lines of the NVIDIA driver |\n| Crash logs | `\u002Fsys\u002Ffs\u002Fpstore`, `\u002Fvar\u002Flib\u002Fsystemd\u002Fpstore`, `\u002Fvar\u002Fcrash` | the kernel log of a boot that ended in a panic: the records it printed before the reset |\n| Boot error region | `\u002Fsys\u002Ffirmware\u002Facpi\u002Ftables\u002Fdata\u002FBERT` | the record firmware kept of the error that reset the host |\n| EDAC counters | `\u002Fsys\u002Fdevices\u002Fsystem\u002Fedac\u002Fmc` | counts per DIMM since boot |\n| mcelog daemon | `mcelog --client` | counts per DIMM |\n| SMBIOS | `\u002Fsys\u002Ffirmware\u002Fdmi\u002Ftables`, or `dmidecode` output | slots, DIMM serial and part numbers |\n| Module SPD | the `eeprom` files of the kernel drivers `ee1004` (DDR4) and `spd5118` (DDR5) in `\u002Fsys\u002Fbus\u002Fi2c\u002Fdevices`; a dump as raw bytes, hex text or `decode-dimms` output | per module the manufacturing week, location code, ranks and device width, die capacity; the reason when Linux gives no SPD |\n| Memory readings | `\u002Fproc\u002Fmeminfo`, `\u002Fproc\u002Fvmstat`, `\u002Fproc\u002Fslabinfo`, memory pressure, the CPU caches in sysfs, `numactl --hardware`, `numastat`, `sar -B`, the state of MGLRU; `lshw` from `my collect host` | the Memory Explorer section of the report and the caches of the board; no error records |\n| BMC | `ipmitool sel` listings, Redfish dumps, the Redfish service, or saved `racadm getsel` and `racadm lclog view` output | memory events, modules that firmware disabled, sparing, repairs |\n| GPU memory | `nvidia-smi -q` and its queries | row remapping state and ECC counters per GPU |\n| FMFM logs | JSON files | runtime, boot and crash records, ECS readings |\n| Copy of a host's files | a directory with `proc`, `sys` and `var` below it (`--root`, `my import`) | the inputs above, as files |\n| Any other directory | an unpacked archive of a vendor tool, a folder of logs (`my import`) | each file below it that a reader recognises |\n\nA file is recognised by its content, so `my import` takes them in any mix. Platforms report different amounts of detail about the place of an error. Every record therefore has an observation grade, and a finding says only what the grade of its records allows:\n\n| Grade | Place known | What it allows |\n| --- | --- | --- |\n| A | bank, row and column | fault modes: single-bit, row, multi-row, column, bank, device, DIMM |\n| B | physical address or rank | repetition per page and trends; a row fault is an estimate |\n| C | the module, or a count only | trends and thresholds |\n\n[docs\u002Fcompatibility.md](docs\u002Fcompatibility.md) has a section per input and says which grade each platform gives.\n\n## Commands\n\n| Command | What it does |\n| --- | --- |\n| `my` or `my scan` | scan this host: slot map and DIMMs ranked by risk |\n| `my board` | the board: slots by CPU and channel, with the grade and errors of each DIMM; `--detail` adds a line per slot ([docs\u002Freading-guide.md](docs\u002Freading-guide.md#board)) |\n| `my dimm \u003Cslot\\|serial>` | examine one DIMM: finding, topology bars, address map, timeline |\n| `my why [slot\\|serial]` | the decision and at most three statements that bear on it; `--detail` adds the records, checks and confidence behind it, `--oneline` gives one line for a ticket |\n| `my map \u003Cslot\\|serial>` | the address map of one bank; `--bank`, `--rank`, `--device` choose it, `--rows A-B` zooms |\n| `my timeline [slot\\|serial]` | errors per day with boots, repairs, page offlines, slot changes and uncorrected errors |\n| `my boots [slot\\|serial]` | the latest boots: how each ended, and which DIMM, or which place of one DIMM, had errors in it ([docs\u002Freading-guide.md](docs\u002Freading-guide.md#boots)) |\n| `my gpu [gpu]` | GPU memory as a repair budget: rows remapped, a remapping pending or failed, spare rows left per bank |\n| `my bundle [slot\\|serial] -o case.mycase` | write the records of this host as one file to send or attach |\n| `my open FILE [command ...]` | run the commands above on a bundle or a ledger file |\n| `my report [FILE] -o report.html` | write a case, or this host, as one HTML file; `--audience fa` adds the detail failure analysis needs |\n| `my diff BEFORE AFTER` | two cases of one host, before and after a reseat, a slot swap, a replacement or a firmware update: did the errors move with the DIMM or stay with the slot |\n| `my import \u003Cfile\\|directory>...` | build a case from files, without the host they came from |\n| `my collect host -o DIR` | copy what a scan reads of this host, and the memory readings, into a directory to import elsewhere |\n| `my collect redfish --bmc ADDRESS -o OUT` | ask a BMC over Redfish for memory, BIOS settings and logs |\n| `my inventory` | the DIMMs one per line: maker, part number, size, organisation, speed, the RAS settings in effect, and the corrected errors the operating system and the BMC each recorded |\n| `my spd` | what each module says in its SPD EEPROM: manufacturing week, location code, ranks and device width, die capacity, maker, part and serial number, tied to its slot by serial number, and why when it could not be read; `my spd FILE...` decodes dump files ([docs\u002Fcompatibility.md](docs\u002Fcompatibility.md#module-spd)) |\n| `my lots` | the DIMMs by maker, part number and manufacturing week, those with a finding beside those without one, over one host or every host of a ledger |\n| `my bios` | check the memory RAS settings of the BIOS against a profile ([docs\u002Fredfish.md](docs\u002Fredfish.md#bios-memory-ras-settings)) |\n| `my vendors` | the tables that read the memory messages of each BMC and BIOS vendor, how far each was checked, and the messages of a case no table classes ([docs\u002Fvendors.md](docs\u002Fvendors.md)) |\n| `my export fmfm` | write the findings as an analysis log in the form of the OCP FMFM framework ([docs\u002Ffmfm-mapping.md](docs\u002Ffmfm-mapping.md)) |\n| `my export events` | write every record of the host as one line of JSON in the schema `my-events\u002F1`, for a log pipeline or a database ([docs\u002Fdata-model.md](docs\u002Fdata-model.md#the-event-stream)) |\n| `my export labels` | write the slot names as a DIMM label file for rasdaemon |\n| `my verify --expect plan.yaml` | compare an error injection plan with what the host recorded ([docs\u002Fverify.md](docs\u002Fverify.md)) |\n| `my harvest` | at every boot, read what the boot before left (pstore, the boot error region, kdump logs, records left in the machine check banks) into the kept ledger `\u002Fvar\u002Flib\u002Fmy\u002Fledger.db`; `install`, `uninstall`, `status` ([docs\u002Fcrash-loop.md](docs\u002Fcrash-loop.md)) |\n| `my preflight` | what a reset right after a fatal memory error would leave on this host, and the settings that change it ([docs\u002Fcrash-loop.md](docs\u002Fcrash-loop.md)) |\n| `my serve --metrics` | run as a Prometheus exporter ([docs\u002Fexporter.md](docs\u002Fexporter.md)) |\n| `my help [command]` | flags of a command and how to read what it prints |\n\n`--lang en|ko` chooses the language; the default follows the locale. `--json` prints the data behind a figure. `--ascii` draws with ASCII characters. A grade is told by the density of a glyph as well as by its colour, and colour is used on a terminal only, and not when `NO_COLOR` is set.\n\n```\n$ my open examples\u002Fdemo.mycase why CPU0_C1 --oneline\ncase bundle of 2026-11-13 09:30 UTC, written by my dev; subject CPU0_C1 S\u002FN 3B9C56\nr12-n034 CPU0_C1 S\u002FN 3B9C56: replace now (finding, confidence high; R-UE-01, R-ROW-03, R-REP-02). 1 uncorrected error, the latest on 2026-11-12 03:14 UTC at rank0 dev7 bg0 bank3 row 0x1a2f col 0x238. Replace the DIMM. Attach a case bundle of this DIMM to the return.\n```\n\n## Findings and exit codes\n\nA command that shows findings exits with the grade of what it showed, the host or the DIMM it was asked about:\n\n| Code | Grade | When |\n| --- | --- | --- |\n| 0 | ok | no errors on record |\n| 1 | observe | corrected errors without a growing fault, or pages taken offline that name no DIMM |\n| 2 | consider replacement | a row or column fault is rising or spreading, a fault covers a bank or more, pages keep being taken offline, the patrol scrubber found an uncorrected error, errors came back after a repair, or firmware predicts a failure of the DIMM |\n| 3 | replace now | an uncorrected error, a DIMM that firmware marks as failed, or repair resources that are used up |\n| 4 | hold replacement | a cause outside the DIMM is suspected (the channel, the slot, the contact, slot names that disagree, uncorrected errors of several boots spread over DIMMs, a memory training that failed), or uncorrected errors name no DIMM |\n\nExit code 64 is a wrong command line and 70 a command that failed. A scan that could read no source of error records ends with 70 and names what it looked for: it does not answer \"no errors on record\".\n\nThe grade of a host is the worst grade among its DIMMs, its GPUs and the host finding, which speaks about errors and page offlines that the records tie to no DIMM. On a virtual machine every finding notes that a guest is shown little of the errors of the machine it runs on.\n\nA grade is a finding. The thresholds behind it are defaults. They have been compared with the failure tickets of one public fleet dataset, with the results in [docs\u002Fevaluation.md](docs\u002Fevaluation.md): there a server with \"consider replacement\" got a failure ticket within 30 days about ten times as often as a server with \"observe\", in 2.5% of the cases. They have not been compared with failure analysis results. [docs\u002Frules.md](docs\u002Frules.md) lists every rule with its conditions and thresholds, and `--set key=value` or `--config FILE` changes a threshold.\n\n## Case bundles\n\nA case travels as one file, from the person at the server to the person who reads it.\n\n1. On the server: `sudo my bundle CPU0_C1 -o case.mycase --anonymize`. Naming a DIMM makes it the subject of the case; the bundle holds the whole host, because a finding about one DIMM rests on its neighbours.\n2. The file is sent, or attached to the return of the DIMM. `ssh HOST sudo my bundle -o - > case.mycase` fetches it without leaving a file on the host.\n3. The receiver runs `my open case.mycase` and sees the screens the sender saw, or `my report case.mycase -o report.html` for a document.\n\nA bundle is a ZIP archive with the ledger, a manifest, the source inventory and a `README.txt` that says what is inside. `my open` never changes it, and it computes the findings again from the records: a receiver with a newer version reads an older case. `my diff before.mycase after.mycase` compares two cases of one host ([docs\u002Fdiff.md](docs\u002Fdiff.md)), and [docs\u002Fbundle-format.md](docs\u002Fbundle-format.md) describes the format.\n\n## The BMC\n\nWith `--bmc ADDRESS` a command also asks the BMC of the host over Redfish, with GET requests only (`--session` adds its login and logout), for its memory modules and their error counts, the BIOS memory settings and its event logs. `my inventory` lists the DIMMs one per line and sets the corrected errors the operating system and the BMC each recorded side by side. `my bios` checks the memory RAS settings against a profile whose attribute names all come from public documents of the server vendors. `my export labels` writes the slot names, or with `--names bmc` the service labels of the BMC, as a DIMM label file for rasdaemon. When the host cannot be reached, `my collect redfish` reads the BMC alone.\n\n[docs\u002Fredfish.md](docs\u002Fredfish.md) lists every request, how certificates and passwords are handled, and what has not been tried: no BMC of a real server has been read yet.\n\nEvery vendor writes memory events in its own messages. MemorY reads each through a table of that vendor or standard (the DMTF registries, OpenBMC, the IPMI memory sensor, iDRAC) as one of 27 common events, so a repair, a prediction or an uncorrected error reads the same whichever BMC reported it. The tables rest on public registries and documents and none has been checked against a log of a real machine; `my vendors` says so per table, and [docs\u002Fvendors.md](docs\u002Fvendors.md) lists what each reads and how to add one.\n\n## Privacy\n\nMemorY has no telemetry and contacts no server of the project. It uses the network in three cases, each asked for on the command line: `--fleet` reads the database server that the rasdaemons of a fleet write to, `--bmc` and `my collect redfish` ask a BMC, and `my serve` listens for Prometheus. What leaves a host is a bundle, when a person sends it.\n\n| A bundle holds | A bundle never holds |\n| --- | --- |\n| memory error records: time, severity, place, and the log line or database row each was read from | contents of memory, of files or of processes |\n| repairs and page offlines the host recorded | user accounts, credentials or keys |\n| DIMM identities: manufacturer, part number, serial number, size | network configuration |\n| the slots of the board, and which DIMM sat where and when | kernel log lines that are not about memory errors, page offlining, machine checks or the boot banner |\n| boots: time, kernel release, BIOS version, kernel command line, and how a boot ended when a record shows it | |\n| what `my preflight` found a reset would lose on the host, with the files it read | |\n| the host name, its architecture and system product | |\n| readings of the error counters per DIMM, GPU memory records, ECS readings, what a BMC reported | |\n| the SPD of the DIMMs as read, 512 or 1,024 bytes per module, with manufacturing week, serial and part number, and what the scan saw of the path to it | |\n| what the kernel counted about the memory of the host at the time of the scan (memory use, slab cache sizes, page counters, NUMA node sizes), and the cache sizes of the CPUs | |\n| every source that was looked for, with the path it was read from, and what it yielded | |\n| the findings of the sender's run | |\n\n`--anonymize` replaces host names, IP addresses, MAC addresses, the disk identifiers of the kernel command line and the names of home directories in file paths with words made from a keyed hash, and prints the replaced host names for the sender to keep. DIMM serial numbers stay, because a return is about them. Two things stay as well: the other directory names of a path given to `my import`, and the name of another machine that a log line mentions ([docs\u002Fbundle-format.md](docs\u002Fbundle-format.md#anonymizing)). `unzip -p case.mycase manifest.json` shows what a given file holds before it is sent.\n\n## Vendor analyzers\n\nThe engine classifies faults with public knowledge: the Level 1 fault modes of the OCP FMFM framework. What only the maker of a DRAM device knows (which rows are neighbours inside the device, what error rate is usual for a part number, what a pattern of failing data lines means) comes from a vendor analyzer: a separate program, in any language and under its own license.\n\n```\nmy dimm CPU0_C1 --plugin \u002Fopt\u002Fvendor\u002Fanalyzer\nmy report case.mycase -o fa.html --audience fa --plugin \u002Fopt\u002Fvendor\u002Fanalyzer\n```\n\nThe program gets the error records of each DIMM in FMFM field names on its standard input and writes its analysis to its standard output. It keeps no state. Its answer about neighbouring rows goes into the fault classification, its percentile into the baseline of a finding, and its Level 2 output into the report for failure analysis and nowhere else. [docs\u002Fplugin-contract.md](docs\u002Fplugin-contract.md) is the reference, and [examples\u002Fplugin](examples\u002Fplugin) holds a small analyzer with a request and its response.\n\n## Monitoring\n\n`my serve --metrics` runs the same scan on a schedule and serves the finding and the error counts per DIMM to Prometheus, with the finding of one DIMM as JSON at `\u002Fapi\u002Fdimm\u002F\u003Cslot|serial>`. With `--fleet` one exporter reads the store that the rasdaemons of a fleet write to. No metric has an address, a row or a column as a label. [contrib\u002F](contrib\u002FREADME.md) holds systemd units, alert rules that fire when the finding of a DIMM gets worse or a row remapping of a GPU fails, Alertmanager routes and a Grafana dashboard.\n\n## Status\n\nVersion 1.1.0, released on 2026-11-17. [CHANGELOG.md](CHANGELOG.md) lists what it holds.\n\n- Tested with synthetic hosts and fixtures: every fault mode, every rule and every input has tests.\n- Run on five real hosts, x86_64 and aarch64, as an unprivileged user and as root: [docs\u002Fvalidation.md](docs\u002Fvalidation.md). All five are virtual machines.\n- Checked against captures of a lab host with injected page offlines, machine checks, firmware error records and CXL event records, each compared with the plan of its injection: [docs\u002Fvalidation-lab.md](docs\u002Fvalidation-lab.md).\n- Crash loops, `my harvest` and `my boots` were run in emulated guests only, not on bare metal: whether a real board keeps a machine check record over the reset is not known to the tool ([docs\u002Fcrash-loop.md](docs\u002Fcrash-loop.md#what-the-lab-shows-and-what-it-does-not)).\n- Findings compared with the failure tickets of a public fleet dataset: [docs\u002Fevaluation.md](docs\u002Fevaluation.md).\n- Not validated yet: hosts with the EDAC driver of a real memory controller. The decoding of their records rests on fixtures written from kernel and rasdaemon sources.\n- No analyzer of a memory vendor has been run against the plugin contract.\n- The board places every slot of 1,934 of the 2,044 server dumps of a public SMBIOS collection on a processor, a channel and a position, from the slot names or from the tables of 361 board families written from 385 public documents of the makers; the other 110 dumps are listed with the reason their own records do not tell the place. No board was compared with a real server ([docs\u002Fcompatibility.md](docs\u002Fcompatibility.md#slot-names-of-server-vendors)).\n- The population check holds the modules of a board to the tables and rules of 276 board families, written from the public documents of their makers with the page of each fact. No rule was checked on a real server; over the public collection 1,682 of the 2,044 dumps reach a rule set ([docs\u002Frules.md](docs\u002Frules.md#population-rules)).\n- No SPD has been read on a real server. The decoder was checked against 8 public DDR4 and DDR5 dumps, the reader against made sysfs trees and in two emulated guests whose EEPROMs hold no SPD ([docs\u002Fvalidation-lab.md](docs\u002Fvalidation-lab.md#spd)). On most server boards Linux has no path to the SPD, and `my spd` then names the reason ([docs\u002Fcompatibility.md](docs\u002Fcompatibility.md#module-spd)).\n- No BMC of a real server has been read. The Redfish client has run against the stand-in BMCs of the tests and against the DMTF mockup server ([docs\u002Fredfish.md](docs\u002Fredfish.md#lab-check)).\n\n## Roadmap\n\n- Error injection on bare metal with the EDAC drivers of Intel, AMD and ARM servers, compared with `my verify`.\n- Thresholds compared with failure analysis results.\n- ECS readings of DDR5 and the repair budget of a DIMM as figures.\n- A run of the analyzer of a memory vendor against the plugin contract.\n\n## Documentation\n\n| Page | Content |\n| --- | --- |\n| [docs\u002Freading-guide.md](docs\u002Freading-guide.md) | how to read each figure |\n| [docs\u002Frules.md](docs\u002Frules.md) | every rule with its condition, its thresholds and what the finding says |\n| [docs\u002Fcompatibility.md](docs\u002Fcompatibility.md) | every input: what is read, which observation grade, what is missing |\n| [docs\u002Fredfish.md](docs\u002Fredfish.md) | reading a BMC: the requests, certificates and passwords, the BIOS settings check, OS and BMC side by side, DIMM labels |\n| [docs\u002Fdata-model.md](docs\u002Fdata-model.md) | the ledger: tables, identities, how records of several sources become one history |\n| [docs\u002Fbundle-format.md](docs\u002Fbundle-format.md) | the case bundle: members, manifest, what a reader checks, anonymizing |\n| [docs\u002Fdiff.md](docs\u002Fdiff.md) | comparing two cases of one host |\n| [docs\u002Fplugin-contract.md](docs\u002Fplugin-contract.md) | the vendor analyzer contract |\n| [docs\u002Ffmfm-mapping.md](docs\u002Ffmfm-mapping.md) | how records and findings map to the FMFM field names |\n| [docs\u002Fexporter.md](docs\u002Fexporter.md) | the metrics and the HTTP API |\n| [docs\u002Fcrash-loop.md](docs\u002Fcrash-loop.md) | what a reset after a fatal memory error loses, and the settings that keep it |\n| [docs\u002Fverify.md](docs\u002Fverify.md) | comparing an injection plan with the records |\n| [docs\u002Fevaluation.md](docs\u002Fevaluation.md) | the comparison with a field dataset |\n| [docs\u002Fvalidation.md](docs\u002Fvalidation.md), [docs\u002Fvalidation-lab.md](docs\u002Fvalidation-lab.md) | runs on real hosts, and injected errors in a lab |\n| [docs\u002Frelease.md](docs\u002Frelease.md) | how a release is built and verified |\n| [docs\u002Fperformance.md](docs\u002Fperformance.md) | time and peak memory of the commands on large inputs, and what fits on a host with little memory |\n\n## Contributing\n\n[CONTRIBUTING.md](CONTRIBUTING.md) says how to build, test and send a change, and how the source tree is laid out. Security reports go the way [SECURITY.md](SECURITY.md) describes.\n\n## License\n\nApache-2.0. See [LICENSE](LICENSE).\n","MemorY 是一个面向服务器硬件运维的只读内存错误分析工具，用于从 Linux 系统的 RAS 日志（如 rasdaemon、EDAC、BMC 事件日志）中提取、归并和可视化 DIMM 级故障信息。它支持 DIMM 序列号跨重启追踪、插槽位置映射、物理地址热力图、错误时间线趋势分析，并基于规则引擎生成可操作结论（如‘立即更换’或‘持续观察’）。工具以单二进制 `my` 形式分发，无需配置、不修改系统状态，仅读取日志与计数器。适用于数据中心 SRE、平台工程师、硬件厂商现场支持及 RAS 开发者对内存可靠性进行根因诊断与维护决策。",2,"2026-11-24 04:50:30","CREATED_QUERY"]