A lightweight Linux command-line utility written in C that inspects running processes through the /proc filesystem.
Instead of running multiple ps -ef commands and manually exploring /proc, simply run TraceIt, enter the process name, and inspect it instantly.
TraceIt allows you to search for a running process and display useful information such as its executable, command line, working directory, memory usage, and more.
- Search a running process by name
- Display the process PID
- Read command line (
/proc/<pid>/cmdline) - Display executable path (
/proc/<pid>/exe) - Display current working directory (
/proc/<pid>/cwd) - Display process root directory (
/proc/<pid>/root) - Read important fields from
/proc/<pid>/status - Simple terminal interface
- Linux
- GCC
- GNU Make
- readline
Arch Linux:
sudo pacman -S gcc make readlineUbuntu/Debian:
sudo apt install build-essential libreadline-devClone the repository:
git clone https://github.com/tracebyte8/traceit.git
cd traceitBuild the project:
makeRun directly from the project directory:
make runor
./traceitIf you want to use TraceIt from any terminal without entering the project directory:
sudo make installThen simply run:
traceitTo remove it:
sudo make uninstallThis project is released under the MIT License.
Made with ❤️ using C
