OPAL_ERRD(8)

πŸ“¦ version 2.7.10, in opensuse-leap 16.0

πŸ’– OPAL_ERRD(8) πŸ’–

okay bestie, so this page lives in the ppc64-diag manual, section 8, and it's all about the opal_errd girly β€” she's the daemon who reads and parses all the OPAL platform errors and events. she's lowkey the main character of your platform logs, no cap 🫢


✨ SYNOPSIS ✨

opal_errd [-e file] [-m max] [-o dir] [-s sysfs] [-n max] [-a days] [-D
| -w]

that's the whole vibe check up top. the details are below, keep reading πŸ’…


🌸 DESCRIPTION 🌸

So here's the tea: opal_errd reads the OPAL platform logs straight out of sysfs, then writes each one out to its own individual little file under /var/log/opal-elog. like, one log, one file, organized queen energy πŸ‘‘

Then she parses the required fields out of each log and writes a one-line summary to syslog β€” just a cute little recap so you know what's up β€” and she also acknowledges the platform log. yes, she does the whole loop, she ate and left no crumbs πŸ”₯


πŸŽ€ OPTIONS πŸŽ€

  • -e file β€” point her at a custom path for the OPAL dump extractor tool. the default is /usr/sbin/extract_opal_dump, so if you're not using that one, say so here ✨
  • -m max β€” the max number of dumps of one specific type that she'll keep around. that's your retention ceiling for that type, periodt πŸ’€
  • -o dir β€” the directory where error/event logs get saved. default is /var/log/opal-elog πŸ“
  • -s sysfs β€” custom path to sysfs, for when your sysfs isn't where she expects it to be πŸ¦‹
  • -n max β€” the max number of elogs to keep. default is 1000. and heads up β€” if -c is not specified, then 20% of this number gets used for the serviceable elogs πŸ‘‘
  • -c max β€” the max number of serviceable elogs to keep. default is 200 πŸ’œ
  • -a days β€” maximum age, in days, of elogs to keep. > ⚠️ heads up bestie: this option is deprecated. it's still here, but yeah, deprecated πŸ’€
  • -D β€” don't daemonize, just run once. one and done, like a pop-up shop πŸ™ˆ
  • -w β€” watch for new events. this is the default when she's running as a daemon, so she's always keeping an eye out πŸ‘€
  • -h β€” print the usage message and exit. the classic "tell me what you do" option πŸŽ€

🌈 FILES 🌈

  • /sys/firmware/opal/dump β€” the directory where dump files from OPAL are found πŸ¦‹
  • /sys/firmware/opal/elog β€” the directory where error log files from OPAL are found 🌸
  • /var/log/opal-elog β€” the default directory for storing error logs β€” this is where all the individual files land πŸ’–
  • /usr/sbin/extract_opal_dump β€” the default path to the dump extractor tool ✨

πŸ’… SEE ALSO πŸ’…

opal-elog-dump(8) β€” go read that one next, iykyk 🫢


and that's the whole page! this one's from the ppc64-diag fam, dated 2019-07-01, living under Linux 'cause that's where all her sysfs friends are. mwah, go forth and read your logs πŸ’–πŸŽ€βœ¨

πŸ“¦ where this page comes from