A
A
Ao2017-12-09 12:02:04
linux
Ao, 2017-12-09 12:02:04

How to find the source of a process on linux?

How can I find out which file/script a process is running? On Windows, just open the location of the file, but on Linux?
Need to know where this cryptonight malware
mysite 224079 3.9 0.0 1883876 46716 is launched from? Sl Sep26 3186:59 ./httpd -a cryptonight -o 178.32.145.31:8005 -u

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
larrabee, 2017-12-09
@darknefrit

View where the process executable file is located:
View who its parent is:
ps -o ppid= -p {PID}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question