0

i have the following:

netstat -anp | grep ':36084 ' | grep CLOSE_WAIT | awk '{print $7}' | cut -d \/ -f1 | grep -oE "[[:digit:]]{1,}"

this returns a process PID

i want to inspect and find out more about the actual process, where it is being executed from and which is the trigger?

khinester
  • 203
  • 1
  • 9

1 Answers1

1

ok, i got it

netstat -anp | grep ':36084 ' | grep CLOSE_WAIT | awk '{print $7}' | cut -d \/ -f1 | grep -oE "[[:digit:]]{1,}" | ls -l /proc/$(</dev/stdin)/exe
khinester
  • 203
  • 1
  • 9