SERVICELOG_MANAGE(8)

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

πŸ’… SERVICELOG_MANAGE(8) β€” the PowerLinux Diagnostic Tools era πŸ’–

okay so bestie, welcome to the servicelog_manage page. it's a section 8 manual (system admin stuff, iykyk), part of the PowerLinux Diagnostic Tools fam, and it's literally your cleanup crew for the system servicelog. let's get into it ✨


🌸 NAME 🌸

servicelog_manage β€” does the management/maintenance operations on the system servicelog. like, the admin-y chores. the glow-up era for your log. 🧹


πŸŽ€ SYNOPSIS πŸŽ€

/usr/sbin/servicelog_manage --status
/usr/sbin/servicelog_manage --truncate {events|notify} [--force]
/usr/sbin/servicelog_manage --clean [--age=days] [--force]
/usr/sbin/servicelog_manage --help

no cap, that's the whole vibe map right there πŸ‘‘


πŸ¦‹ DESCRIPTION πŸ¦‹

so servicelog_manage is the command that performs administrative actions on the system servicelog. think of it as the main character of log hygiene πŸ’…

its whole thing β€” its purpose, its moment β€” is mainly purging events, repair actions, and notifications from the database. that's it. that's the job. iconic, honestly.


✨ OPTIONS ✨

  • --status β€” shows you counts for each type of entry chilling in the servicelog πŸ“Š. it's basically the same info you'd get from the servicelog(8) command when you invoke it with no options at all. same energy, different door.
  • --truncate {events|notify} β€” deletes all the events (repair actions included, bestie, they're coming too) or all the notifications. gone. poof. 🫧
⚠️ WARNING: make sure you really want to do this! like fr fr, be so sure. this is not a drill, this is a --truncate.
  • --clean β€” purges the older entries 🧼. by default, this deletes:
    • all repaired serviceable events
    • all repair actions older than 60 days
    • all informational (non-serviceable) events older than 60 days
    • all events older than one year

and good news: that 60-day period may be modified with the --age option πŸ’œ

  • --age=days β€” changes the 60-day default for --clean to some other value, measured in days. you're the boss of the timeline now ⏳
  • --force β€” doesn't prompt the user for verification when the --truncate option is used. no "are you sure?" moment, it just goes πŸ™ˆ
🚨 use with caution! (the manpage says so, and i'm saying so, and we're both right)
  • --help β€” displays a help message 🫢 the safe, cozy option. love that for you.

πŸ‘‘ AUTHOR πŸ‘‘

written by Michael Strosaker (strosake@austin.ibm.com) and Nathan Fontenot (nfont@austin.ibm.com) β€” legends, both of them, we stan 🩷


🌈 SEE ALSO 🌈

servicelog(8) servicelog_notify(8) log_repair_action(8)

the whole friend group, go say hi πŸ’«


and that's the page, bestie!! this little gem is from Linux, dated February 2012 β€” vintage but still serving πŸ’€βœ¨ go forth and manage that servicelog responsibly, mwah πŸ’‹πŸŽ€

πŸ“¦ where this page comes from