Fermé

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.

Compétences : Python, Linux, Script Shell

En voir plus : 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

Concernant l'employeur :
( 28 commentaires ) Jersey City, United States

Nº du projet : #30959335

4 freelances font une offre moyenne de 24 $ pour ce travail

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 Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(3 Commentaires)
4.3
taskforme01

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

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(6 Commentaires)
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

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(3 Commentaires)
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 Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(0 Commentaires)
0.0