22
submitted 9 months ago by j4k3@lemmy.world to c/linux@lemmy.ml

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?

you are viewing a single comment's thread
view the rest of the comments
[-] experbia@lemmy.world 19 points 9 months ago

as already mentioned, ampersand allows you to "background" a task. but if you'd like the output from your program alongside the loop monitoring system info, consider using a terminal multiplexer like tmux.

on the terminal, this will let you open a "split screen" pane with another shell. you can use hotkeys to create, destroy, or move between views.

[-] SzethFriendOfNimi@lemmy.world 1 points 9 months ago

Or something like tee

this post was submitted on 03 Feb 2024
22 points (92.3% liked)

Linux

48152 readers
758 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS