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?

  • and your question is? – mlp Aug 5 '19 at 19:49
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
| improve this answer | |

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.