RASDAEMON(8)

πŸ’– RASDAEMON(8) β€” the RAS memory controller admin utility πŸ’–

okay bestie, sit down, hydrate, and let me tell you about rasdaemon, a page from the RAS memory controller admin utility corner of your friendly neighborhood section 8. this is the one that lives on your system and just... watches. πŸ‘€


✨ NAME ✨

rasdaemon β€” the RAS daemon whose whole job is logging the RAS events. that's it, that's the name, she's iconic and she knows it. πŸŽ€


🌸 SYNOPSIS 🌸

rasdaemon [OPTION]...

literally just run her with whatever options your heart desires. πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

so rasdaemon is a daemon, which is the fancy unix word for "a program that hangs out in the background doing main character things while you live your life." and what she does is monitor the platform Reliablity, Availability and Serviceability (RAS) reports coming from the Linux kernel trace events. yes, the original page spells it "Reliablity" and i am keeping it exactly as it is, no cap, we do not touch the facts in this house. 🫢

those trace events get logged in /sys/kernel/debug/tracing, and she reports them via syslog/journald. and here's the lil plot twist: if syslog-ng is installed, the events will be logged at /var/log/rasdaemon. so cute, so organized. 🌈


πŸ’… OPTIONS πŸ’…

  • --usage β€” shows you a brief usage message and then dips. exit stage left. ⭐
  • --help β€” shows you a help message and exits. your bestie when you forget what anything means (me too girl). πŸ’œ
  • --disable β€” disables the RAS tracing events and exits. turning the lights off, periodt. πŸŒ™
  • --enable β€” enables the RAS tracing events and exits. lights ON, we're back. ✨
  • --foreground β€” runs in the foreground, printing the events straight at your console. super useful for testing her out, and it's also the mode used by systemd or Unix System V respan. if you don't pass this, she just runs in daemon mode like the mysterious queen she is. πŸ‘‘
  • --record β€” records RAS events via Sqlite3. the Sqlite3 database has the benefit of keeping a persistent record of the RAS events β€” she remembers, bestie, she keeps receipts πŸ“ β€” and this feature is used together with the ras-mc-ctl utility. heads up though: rasdaemon may be compiled without this feature. 😭 so if it's not there, it's not you, it's the build.
  • --version β€” prints the program version and exits. short, sweet, slays. πŸ’–

πŸŽ€ CONFIG FILE πŸŽ€

the rasdaemon program supports a config file to set rasdaemon systemd service environment variables. by default the config file is read from:

/etc/sysconfig/rasdaemon

and the general format is literally just:

environmentname=value

that's the whole vibe. name equals value. done. 🌸


πŸ”₯ LOG LEVEL πŸ”₯

every log entry has a level prefix that describes the severity of the log, so you can figure out which logs are actually more valuable and which ones are just being dramatic. currently, three levels are used: πŸ’€

  • ALERT β€” the uncorrected hardware error has been fixed, but it caused side effects. she's fine but she's changed. 😭
  • CRIT β€” the uncorrected hardware error has been detected. not fixed. big yikes. 🚨
  • ERROR β€” the corrected hardware error has been detected. it got handled, but we're still logging it for the record, because we log everything here. πŸ™ˆ

πŸ’œ SEE ALSO πŸ’œ


and that's the whole page, bestie β€” signed off at the bottom as plain old RASDAEMON(8), no extra version or date line, just her name sitting there like a little signature. 🧚 go forth and read your logs, you're doing amazing, mwah πŸ’‹πŸ“

πŸ“¦ where this page comes from