linux running few scripts launch from a central script

ErezN

I have several bash script which contain in them infinite while loop. I would like to run all of them from a single script:

#!/bin/bash
# rsync using variables

./agent_monitor.sh
./engine_monitor.sh
./kafka_monitor.sh
./zk_monitor.sh

what I get is that it stuck on the first script and it does not proceed to the next one to run them simultaneous.

Ayman Nedjmeddine
#!/bin/bash
# rsync using variables

./agent_monitor.sh &
./engine_monitor.sh &
./kafka_monitor.sh &
./zk_monitor.sh &

echo "All scripts launched in background"

Notice the & symble at the end of each line, that tells it to run that task in background.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Running remote scripts on Linux Servers from Windows

From Dev

Running bash scripts from bash script in other folder

From Dev

Running Python Script to LocalHost from Linux Terminal

From Dev

Running python script from Linux Terminal

From Dev

Running terminal commands from python script (Linux)

From Dev

Start script to launch repeating child scripts?

From Dev

How to launch a couple of python scripts from a first python script and then terminate them all at once?

From Dev

Set an environment variable on Linux when running Spring Boot using the launch script

From Dev

Launch openvpn from a sell script

From Dev

launch powershell script from registry

From Dev

Running Photoshop scripts from PHP?

From Dev

Running scripts from another directory

From Dev

Running Photoshop scripts from PHP?

From Dev

Linux umount a device from a script running in the device itself

From Dev

Running a bash script stored on a windows share from linux

From Dev

Running a shell script to a remote linux server from the local window?

From Dev

Trying to add a directory with various scripts to my PATH, but it is not running the script when called from outside the directory

From Dev

Launch Linux terminal from Matlab

From Dev

Launch Linux terminal from Matlab

From Dev

Running two scripts (Java Script) on HTML

From Dev

Bash script not sleeping when running scripts in parallel

From Dev

How to launch a shell script make with Linux on Windows

From Dev

Running a script from execl()

From Dev

Running a script from a keybinding

From Dev

Running a script from a keybinding

From Dev

Running shell script with java on linux

From Dev

linux script running c program

From Dev

Running a blender script on linux hosting

From Dev

Running shell script with java on linux

Related Related

  1. 1

    Running remote scripts on Linux Servers from Windows

  2. 2

    Running bash scripts from bash script in other folder

  3. 3

    Running Python Script to LocalHost from Linux Terminal

  4. 4

    Running python script from Linux Terminal

  5. 5

    Running terminal commands from python script (Linux)

  6. 6

    Start script to launch repeating child scripts?

  7. 7

    How to launch a couple of python scripts from a first python script and then terminate them all at once?

  8. 8

    Set an environment variable on Linux when running Spring Boot using the launch script

  9. 9

    Launch openvpn from a sell script

  10. 10

    launch powershell script from registry

  11. 11

    Running Photoshop scripts from PHP?

  12. 12

    Running scripts from another directory

  13. 13

    Running Photoshop scripts from PHP?

  14. 14

    Linux umount a device from a script running in the device itself

  15. 15

    Running a bash script stored on a windows share from linux

  16. 16

    Running a shell script to a remote linux server from the local window?

  17. 17

    Trying to add a directory with various scripts to my PATH, but it is not running the script when called from outside the directory

  18. 18

    Launch Linux terminal from Matlab

  19. 19

    Launch Linux terminal from Matlab

  20. 20

    Running two scripts (Java Script) on HTML

  21. 21

    Bash script not sleeping when running scripts in parallel

  22. 22

    How to launch a shell script make with Linux on Windows

  23. 23

    Running a script from execl()

  24. 24

    Running a script from a keybinding

  25. 25

    Running a script from a keybinding

  26. 26

    Running shell script with java on linux

  27. 27

    linux script running c program

  28. 28

    Running a blender script on linux hosting

  29. 29

    Running shell script with java on linux

HotTag

Archive