1. How to run a background process in a VM

How to run a background process in a VM

Home Forums FABRIC General Questions and Discussion How to run a background process in a VM

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #9548
    Nirmala Shenoy
    Participant

      we wrote a utility ( used in our Jupyter notebook) to execute commands in remote VM – see below

      manager.executeCommandsParallel(“sudo python3 Basic-Traffic-Generator/TrafficGenerator.py -r &”, “C-4-1-1”, returnOutput=True)

      This utility runs a Trafficgenerator python script and waits to receive packets at node C-4-1-1.

      I would like to execute this in multiple VMs. So I tried to run it in background, so I can start this utility in multiple nodes. But the cell hangs. Is there a way to resolve this

      thanks

       

       

      #9549

      I spawn a detatched screen session and execute command inside it. It works for me.

      1 user thanked author for this post.
    Viewing 2 posts - 1 through 2 (of 2 total)
    • You must be logged in to reply to this topic.