WHATMAPS(1)
okay so bestie, welcome to WHATMAPS(1) β it lives in the User Contributed Perl Documentation section, and it's genuinely one of those lil tools that saves your whole entire night πβ¨ pull up a chair, we're doing this together.
π NAME π
whatmaps β find and restart services after library upgrades π
πΈ SYNOPSIS πΈ
=encoding utf8
whatmaps [--restart] [--print-cmds=FILE] pkg1 [pkg2 pkg3 ...]
yeah that =encoding utf8 is just chilling in there, we keep it exactly as-is, no touching, that's the law π«Ά
β¨ DESCRIPTION β¨
so here's the vibe: you upgraded a library and now a bunch of services are still running with the old version mapped into their memory, which is giving stale and chaotic. whatmaps is here to find those services for you, bestie π
it does this by extracting a list of shared objects from the packages you hand it on the command line. then it looks at the list of running processes to find the ones that map those shared objects, and it uses your distribution's package manager to figure out which packages ship them. then β the moment you've been waiting for β it prints out a list of services in those packages that likely need to be restarted. iconic behaviour honestly π
by default it assumes that all services in the found packages need a restart π³ but it also keeps an internal, distribution-specific list of exceptions, so it's not just out here restarting everything willy-nilly, she's got β¨standardsβ¨
now, the flags, and yes there are only two but they're important:
--restartβ the services get restarted without any prompting. no confirmation, no "are you sure", she just goes π₯--prind-cmdsβ with this one the restart commands are written to a file for later execution π (yes, the manpage literally spells it--prind-cmds, we do not edit, we do not correct, we simply report π«‘)
also on Debian systems,whatmapscan be run automatically by apt-get π check/usr/share/doc/whatmaps/READMEfor the details. automation?? we love her.
π SEE ALSO π
the latest version is available at <https://honk.sigxcpu.org/piki/projects/whatmaps/> β go look, she's cute πΈ
π AUTHOR π
Guido GΓΌnther <agx@sigxcpu.org> β the mastermind, the moment, the main character π
and that's a wrap, bestie π this page is perl v5.38.2, dated 2024-07-06, and it is of course WHATMAPS(1) β go restart some services, you've got this π
β¨π¦
π¦ where this page comes from
- debian trixie: whatmaps 0.0.14-2
- ubuntu questing: whatmaps 0.0.14-2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms