PROCESS(nged)

List and manage currently running subprocesses.

πŸ“… published 7.44.0, from nixpkgs unstable

πŸ’… PROCESS(nged) β€” the subprocess wrangler ✨

okay so this is process, a command from the BRL-CAD MGED Commands manual, and honestly bestie it's giving "air traffic controller for your runaway ray tracers" πŸ›¬βœ¨


🌸 NAME

process β€” list and manage the subprocesses that are currently running. fr fr it's your little subprocess dashboard πŸ’–


πŸŽ€ SYNOPSIS

process

process list

process pabort {pid}

process gabort {glob}

literally that's it, four little forms, no cap 🫢


πŸ¦‹ DESCRIPTION

so the way that process works is it gives you a program-agnostic way to manage subprocesses that a GED application has launched πŸ‘‘. The most common case of this whole phenomenon is long-running rt commands on big models, but bestie there are other commands too β€” things like rtcheck β€” that also operate in this asynchronous way ⭐.

and like… if one of those processes is running wayyyyy too long or eating too many resources, process lets you identify them and stop them right from the GED command line πŸ’… periodt.


πŸ”₯ EXAMPLES

the examples below walk you through a whole sample process workflow, slay:

✨ Example 1. Process Help

mged>process

    Usage: process [subcommand]

    Subcommands:

      list          - List all currently running subprocesses.
      pabort <pid>  - Abort the specified subprocess.

      gabort <glob> - Abort all subprocesses whose command matches the glob expression.

look at that usage text serving main character energy 🌈

πŸ’œ Example 2. List Currently Running Processes

mged>process list

        PID CMD
    5524692 rt -M -u model /home/user/test.g
    6515118 rtcheck -M /home/user/test.g obj

the way you get a PID column and a CMD column, iconic πŸ˜­πŸ’–

🧚 Example 3. Eliminate a Running Subprocess

mged>process pabort 6515118

using the reported PID from process list, that line right there terminates the rtcheck subprocess πŸŽ€ bye bestie πŸ‘‹


πŸ‘‘ AUTHOR

BRL-CAD Team πŸ’œ


πŸ“ BUG REPORTS

if you find bugs or problems, please submit reports via electronic mail to devs@brlcad.org πŸ“§


⚠️ quick vibe check: those PIDs in the examples are literal β€” copy the real one from your process list output before you pabort it, or you'll be aborting the wrong little guy πŸ™ˆ

and that's the whole page bestie! this one came from the BRL-CAD manual collection, page PROCESS(nged) β€” dated in the footer only as BRL-CAD, no version number or date beyond that, so don't come for me about timestamps 🫢✨

πŸ“¦ where this page comes from