When I enter this command,

ps -aef | grep python3

I get the following message

pi         828     1  0 12:06 ?        00:00:08 /usr/bin/python3 /home/pi/hs110-data-collect.py
pi        5079   863  1 13:39 ?        00:01:10 /usr/bin/python3 /usr/bin/idle3 /home/pi/hs110-data-collect.py
pi        8244  1000  0 15:11 pts/0    00:00:00 grep --color=auto python3

It's clear that there is a python script running. I would just like for someone to break down the message so that I can understand the info that is being provided in any case (so that I can also recognize when something is wrong or what this message means). Thanks

  • 2
    there are 3 matches to your search. The last one is the search itself the other two are scripts running via Python 3 the last field tells you what script is running. The first column gives you the user running the script the second column is the process id or pid for the process; this can be used to kill the script or find more information on the process, You should also run man ps to get a complete list of features and flags for this command. – Steve Robillard Mar 21 at 15:58
  • 1
    Hello. As well as the man 1 ps command already suggested by @SteveRobillard you can also access the majority of manual pages for various commands on the internet. Two main sites that usually turn up on a search are man7.org/linux/man-pages/index.html and linux.die.net. – Roger Jones Mar 21 at 19:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.