mpivars(1)

πŸ’– mpivars β€” bestie edition πŸ’–

okay so this is the mpivars(1) page from the General Commands Manual section, and yes the title situation is a little chaotic (the page is called mpivars but the command is parkill, we love a plot twist) ✨ anyway let's get into it 🫢


✨ NAME ✨

parkill β€” kills all the processes that are running a command you picked, periodt πŸ’…


🌸 SYNOPSIS 🌸

parkill [ -debug ] [ -verbose ] [ -user=name ] program

πŸ¦‹ DESCRIPTION πŸ¦‹

So like, parkill does exactly what it says on the tin: it kills every single process that's running the command you specified. no cap πŸ”₯

Heads up bestie: lots of systems already have a killall command, and if yours has it, please use that instead. it's the better move, fr fr πŸ™ˆ

This script lowkey depends on the ps command. but where it can, it uses the /proc/<pid>/cmdline interface to grab the commandline in a more reliable way β€” specifically so it doesn't end up matching command line parameters as if they were functions. iconic behaviour honestly πŸ‘‘


πŸŽ€ OPTIONS πŸŽ€

  • -debug β€” spills the debug info. show me everything, main character energy πŸ’œ
  • -verbose β€” be verbose. talk your talk ✨
  • --user=name β€” only kill processes that belong to one particular user. root privileges are required for this one, so don't come for it without the power bestie 😭

πŸ’– AUTHOR πŸ’–

This manpage was written by Torquil Macdonald Sørensen <torquil@gmail.com>, by copying from src/env/parkill.in in the MPICH sources. slay, honestly 🫢


🌈 SEE ALSO 🌈


okay that's the whole page bestie, no notes πŸ’…βœ¨

this version is from 2015-11-06 and it lives in the mpivars(1) slot in the manual set β€” love that for it, mwah πŸŽ€πŸ¦‹πŸ’œ

πŸ“¦ where this page comes from