Score:0

monit: check specific python script running

jp flag

i'm trying to run a few different python scripts, each in its own screen. if I run something like:

SCREEN -dm -S script1screen python3 script1.py

how do I check with Monit if this exact script is running and not just python3?

something similar to

pgrep -af script1screen
djdomi avatar
za flag
Maybe with `ps auxwww|grep script1.py`
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.