Encerrado

Create a python script so that it will run locally and call other scripts in a remote server after user make selection.

we have several program running in a remote server, and this is how we run the program on the remote server

program-run --config-file simnow-xx or

program-run --config-file prod-xx

$ src/[login to view URL] send-signal

this will query the remote instance and return the following info:

Running instances:

1. simnow-a1

2. simnow-a2

3. prod-b1

Available signals:

a: SIGUSR1 reload config

b: SIGUSR2 gracefully stop

c: XXXX hedge position

d: XXXX clear position

e: etc, etc

Choose an instane and signal pair (e.g., "1 b"):

Then if user enters 1 b (and hit ENTER), it continues to print:

"Will send SIGUSR1 (reload config) to "simnow-a1". Confirm [y/N]?""

Then if user enters y, it does this operation (for example reload config, it will call the [login to view URL] in remote server). If user enters anything else, it goes back to the initial state (printing the instances and signals)

in the script, we can define the Available signals.

Habilidades: Python, Linux, Shell Script

Veja mais: linux create batch script run, create perl script log remote server, mysql script run multiple scripts, create python script backup, run multiple python scripts from one python script, shell script to connect to remote server with password, how to run python script on apache server ubuntu, python script run daily, run local python script on remote server, run python script on remote windows machine, create python script, python script to connect to remote linux machine, make a python script run faster, run python script on remote server, python script run command, shell script to connect to remote server with password and execute commands, python script to connect to ftp server, ssh run command on remote server, python script to connect to remote windows machine, python script to login to windows server

Acerca do Empregador:
( 28 comentários ) Jersey City, United States

ID do Projeto: #30959335

4 freelancers estão ofertando em média $24 nesse trabalho

artsiom1liaver

Greetings, I have read the project description. As a Full-Stack python Expert, I am experienced in and I can start right now. my GitHub URL: [login to view URL] I am interested in the work to open a cha Mais

$20 USD in 7 dias
(3 Comentários)
4.3
taskforme01

dear employer, I do have experience with Linux core and python. please ping me I will do this task for you

$30 USD em 1 dia
(6 Comentários)
2.5
kaijr10

Hi, It is simple task to me. I create the script for you less than 25 minutes. Contact me to done it now. Thank you

$25 USD em 1 dia
(3 Comentários)
2.6
egor759ch

helllo how are you? I am linux expert. I can do your project succesfully. I have many skill with python, linux. In linux , I work with server management, client management, security, [login to view URL] contact with me. Thanks Mais

$20 USD in 7 dias
(0 Comentários)
0.0