View this post on Hive: Introducing Tmux
Introducing Tmux
5 years ago by themarkymark (78)
$37.77
- Past Payouts $37.77
- - Author $20.07
- - Curators $17.70
291 votes
- + smartsteem: $9.787 (25%)
- + themarkymark: $6.833 (100%)
- + theycallmedan: $5.221 (28%)
- + tipu: $3.158 (9%)
- + upmyvote: $2.084 (71.22%)
- + yabapmatt: $1.710 (100%)
- + jphamer1: $1.240 (100%)
- + busy.pay: $1.129 (13.76%)
- + steemflagrewards: $0.862 (58.7%)
- + ezzy: $0.713 (50%)
- + steemyoda: $0.699 (6.25%)
- + slobberchops: $0.604 (100%)
- + msp-waves: $0.474 (100%)
- + mangos: $0.441 (28%)
- + upboater: $0.402 (100%)
- + kuri12: $0.341 (100%)
- + asgarth: $0.197 (50%)
- - honusurf: $-0.129 (-100%)
- + eonwarped: $0.128 (27%)
- + jkramer: $0.114 (50%)
- … and 271 more
If what you're doing is command line, the standalone
script
utility can also be used for logging. Sometimes I use this outside of a session manager too,Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
If you like PM2 for nodejs, a good solution for non-nodejs apps like steemd is Monit:
https://steemit.com/steem/@inertia/using-monit-to-manage-steemd
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Pm2 supports python and ruby as well. Only problem I ever had is python buffers the output and you need to specify -u arg with python if you want real time output which can be handled in an eco file.
Otherwise works great.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
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.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
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.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
I’m dreaming one day to start being able to use bots for various purposes as well.
I keep seeing for example how people have big success with them in the mining gambling dApps....
Posted using Partiko iOS
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
As a still learning programmer loved the tutorial, it's really well explained and I'll use PM2 and tmux when I start building scripts. I do wonder why you didn't use the stem tag? This is the sort of stuff I would love to see on stemgeeks
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
#technology is also picked up by STEMGeeks.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Did not know, thanks!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
The tribe listens for
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
👍
~Smartsteem Curation Team
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit