Automate Multi Console Logins On Slackware Server
Hi, I want to automate this on startup and display each programs output on a different console on my Slackware Server.
Console nr1 alt f1 login as: root password: LoveLinux #cd /xmrig-nvidia #./xmrig-nvidia -c config.json Console nr2 alt f2 login as: root password: LoveLinux #cd /xmrig-cpu #./xmrig -c config.json Console nr3 ........ Each program occupy the current display with scrolling text containing hash rate and other program output. 1. I have tried starting and running programs in daemon mode with /etc/rc.d/rc.local On Slackware Xmrig-nvidia does not release the console and server stop running files from rc.local 2. I have tried to start each program with nohup with severe performance decrease in hash rate. #nohup /xmr-cpu/xmrig -c /xmr-cpu/config.json.lethean > /dev/null 2>&1 & disown #nohup /xmr-nv/xmrig-nvidia -c /xmr-nv/config.json.lethean > /dev/null 2>&1 & disown 3. Current solution login into each server and start an ssh session for each program. Did I mention ...there are 55 servers :) It would also be nice if I knew how to make it switch between server consoles every 5 min. Anyone? |
I would look into tmux.
|
Hi, it is more or less the same as nohup. I would like to run one service on the local console 1 and another on console 2. The gpu driver does not like to not be in control of the screen. Longtime problem.... I will try tmux and xmrig-nvidia with cuda10.
|
I'm not sure this will working. Did you try to put this commands to /etc/inittab?
|
All times are GMT -5. The time now is 03:48 AM. |