Metadata-Version: 2.4
Name: codex-proc
Version: 0.4.0
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: MacOS
Classifier: Operating System :: Microsoft :: Windows
Summary: Sample new processes in local Codex process trees on Linux, macOS, and Windows
Requires-Python: >=3.9
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM

# codex-proc

Run `uvx codex-proc` to summarize the last seven days of recorded Codex tool activity on this machine. Use `--days 1` for a rolling 24-hour window. History reports Code Mode requests, direct shell-tool requests, and how many Code Mode inputs mention tools.exec_command. It scans active rollout files under CODEX_HOME (default ~/.codex), skips files over 64 MiB, and reads up to 512 MiB. The output reports skipped files. Requests can launch zero or many processes.

Use `uvx codex-proc --live` to sample newly observed descendants of local Codex processes on Linux, macOS, and Windows. The default observation window is ten seconds. Set `--seconds 60` for a minute or `--pid PID` for one process tree. Processes can exit between polls, so the count is a lower bound.

