You are viewing a single comment's thread from:

RE: Introducing Tmux

in #linux5 years ago

Tmux is just another terminal no? No autorestart for crashed software like pm2? I use tmux only for a python bot that never crashes, but all my nodejs bots go on pm2 because every time someone does something weird with my bots, there is a high chance that it will die, and I need it up 24/7. Maybe if I implemented some kind of safety never-die measure I could use tmux for nodejs, but so far pm2 has been more than enough.

Also, does tmux have an api accessible from scripts like pm2? pm2's api is a bit bad so i've always been looking for a good process manager that has an api.

Sort:  

Tmux is just another terminal that persists when you quit SSH and allows you to use multiple panes/windows to split it up and have multiple terminals in one.

I only use tmux when something is interactive, under testing, or not a script

You can look at Monit for an alternative to PM2 that has more api functionality.

Coin Marketplace

STEEM 0.27
TRX 0.11
JST 0.030
BTC 67808.48
ETH 3831.14
USDT 1.00
SBD 3.55