runproclike-0.1.2 is not a library.
runproclike
runproclike is a lightweight command-line utility that analyzes a running process by its PID and prints the command and its environment in a reproducible form. It's especially useful for debugging, replicating process states, or migrating workloads.
Features
- Generates a detailed output of the process's environment, command line, and execution context.
- Inspired by the runlike tool, which focuses on reconstructing Docker commands.
runproclikeextends this concept to Linux processes.
Installation
Building from source
- Clone the repository:
- Build
Usage
runproclike [OPTIONS] --pid <PID>
Options:
Examples
Reproduce a Process:
How it Works
runproclike inspects a process's details by reading procfs files and outputs the information needed to recreate the process in a shell.
Contributing
Contributions are welcome! Please follow these steps:
- Fork the repository.
- Create a new branch for your feature/fix.
- Write tests ;)
- Submit a pull request.