Hello,
I need to get if a process is running or not on some Linux systems.
The issue is that this process has a special name that always starts with Puppy but it turns out to be Puppy3741 where 3741 is random. So I would like to match the name of the process whose starts with Puppy and the return “Running”. If no process starts with Puppy, it returns “Not Running”.
This for an analysis.