Know the origin of an order
GreG
-
lami20j Posted messages 21506 Registration date Status Modérateur, Contributeur sécurité Last intervention -
lami20j Posted messages 21506 Registration date Status Modérateur, Contributeur sécurité Last intervention -
Hello,
I have a perl script running on my machine and I would like to know where it is located.
When I run a top command, I get this:
4288 www-data 15 0 73012 16m 1908 S 2.0 1.7 21:19.89 perl
But I can't find out what it is. Does anyone know a command to display
its root.
Thank you in advance.
GreG
I have a perl script running on my machine and I would like to know where it is located.
When I run a top command, I get this:
4288 www-data 15 0 73012 16m 1908 S 2.0 1.7 21:19.89 perl
But I can't find out what it is. Does anyone know a command to display
its root.
Thank you in advance.
GreG
6 réponses
the command is 'perl'
just a simple
--
Archlinux ... the linux that is good! on archlinux.fr
just a simple
which perlis enough ;)
--
Archlinux ... the linux that is good! on archlinux.fr
Hi,
the perl interpreter is usually found in /usr/bin, so /usr/bin/perl is the full path
however, I see that it’s running under the identity of www-data, which suggests a cgi script
display
--
lami20j
the perl interpreter is usually found in /usr/bin, so /usr/bin/perl is the full path
however, I see that it’s running under the identity of www-data, which suggests a cgi script
display
ps aux | grep www-datamaybe we'll get more details
--
lami20j
Hello,
a which perl only gives me:
which perl
/usr/bin/perl
It does not provide the location of the launched Perl scripts.
a which perl only gives me:
which perl
/usr/bin/perl
It does not provide the location of the launched Perl scripts.
Hello,
what does a
--
Z'@+...che.
what does a
ps -ef | grep www-datareturn you?
--
Z'@+...che.
JP : Zen, my Nuggets ! ;-) Knowledge is only good if it is shared.