3

I have several python Scripts running on a Raspi simultaneously. Depending on the Current time each might start running or stop running. How can I find out which scripts are running using Python?

2
  • You can modify the scripts to save a log to somewhere... Commented Mar 18, 2016 at 5:35
  • you can look here for a way to check it with the pi and check out this for a way to check other programs with python. Commented Mar 18, 2016 at 5:53

1 Answer 1

11

You can use command below in linux to get which script is runing.

ps -aef | grep python

And you will see which python scrip is running.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.