I would like to understand list of applications with high CPU and memory consumption from the server.
I executed
sudo ps aux | grep rstudio-connect
to get process id and then using that process id ran this
sudo pstree -lpa $(processid)
but I am not getting job id or application.
Would like to understand how can I retrieve job id or application name from process id?