Tools List¶
| Guide | Description |
|---|---|
| PyPNM MIB Compiler | A utility to compile MIB files for use with PyPNM. |
| PNM File MacAddress Updater | A utility to update MAC addresses in PNM files. |
| Clean | Clean utility |
| Release | A tool to manage and automate software versioning. |
| Git Save | Local save helper with pre-commit build bump rules. |
| Local Container Build | Local Docker build + optional health check preflight. |
| System Config Apply | Apply JSON config updates without prompts. |
| Local Kubernetes Smoke | Build/load kind and validate the /health endpoint. |
| Version Check | Verifies version consistency between version files. |
| Aliases | Optional shell aliases for common tools. |
Tools layout¶
New tools should live in a category subdirectory under tools/ (for example, tools/pnm/, tools/snmp/, tools/build/, tools/local/, tools/maintenance/, tools/release/, tools/security/). Avoid placing new scripts at the tools root.
Maintenance¶
tools/maintenance/kill-pypnm.py¶
Lists active pypnm processes in a numbered table and supports terminating by table line number.
This includes detached pypnm serve --run-background processes discovered from the runtime pidfile.
./tools/maintenance/kill-pypnm.py
./tools/maintenance/kill-pypnm.py --line 1 3
./tools/maintenance/kill-pypnm.py --all
Key options:
- --line <n ...> kill specific rows from the displayed table
- --all kill all active pypnm processes
- --signal <TERM|KILL|INT|...> choose signal (default TERM)
Display notes:
- If tabulate is installed, the script uses markdown-style table rendering
- If tabulate is not installed, the script falls back to plain fixed-width formatting
- The SOURCE column shows whether a row came from a live process scan or the detached serve pidfile