#8 How to find which process is behind a linux windows
How to find which process is running behind a windows ?
painting made by Legowelt
First get PID of the window with xprop - property displayer for X
`xprop _NET_WM_PID | sed 's/_NET_WM_PID(CARDINAL) = //'`
Then use this command as parameter of "ps -q" :
# ps eaux -q `xprop _NET_WM_PID | sed 's/_NET_WM_PID(CARDINAL) = //'` USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND nafofella 4100 0.0 0.1 640560 61180 ? Sl 09:17 0:07 xfce4-terminal LANGUAGE=en_US USER=nafofella LC_TIME=en_US.UTF-8