linux
Linux j4k3 Now 92%

How can I launch a program from a bash XTerm and run a while loop at the same time?

I want to launch Oobabooga Textgen WebUI from the command line with its serial output. I also want to run a while loop that retrieves the Nvidia GPU memory available and temperature for display on the header bar with a 5 second sleep delay. How do I run both of those at the same time?

22
18
Comments 18