linux search by pid code example
Example: linux processes and display process name
#Only processes that are started from the current shell
ps
#To get information about all processes running on the system
ps -A
#This displays all processes running for all users on your system
ps aux