An interactive Procfile
runner, meant as a replacement for foreman
when ran locally.
Main differences from foreman
:
stdout
andstderr
are written off-screen, and can be viewed interactively when you want to observe the log output.stdout
andstderr
viewing will use whatever is defined inPAGER
, ormore
by default.- Processes by default are launched, and then kept running. If a process dies, it is restarted. If you want to stop a process, you tell
fiveman
that you want it stopped.
Example:
Install:
git clone https://github.com/netshade/fiveman.git
cd fiveman
make install
Notes:
- Screen refresh slowness is a known issue
- Creates a
setuid root
binary currently. Processes created drop privilege, but still. ( Done to allow dtrace to inspect created processes on Mac OS X ) - If Dtrace fails, creates orphaned processes.
- Values reported by Dtrace inspection are not currently exact, should be marshalled into correct time windows or discarded
- Does not handle small screen sizes very well, values should compact better
- Works on Yosemite and El Capitan. El Capitan requires disabling system integrity protection.