I've tried with htop
and strace
, but I can't recognize which files the instruction came from. The only thing that htop
shows me is php-cgi -c /var/etc/php.ini
.
Asked
Active
Viewed 500 times
1

ChrisGPT was on strike
- 127,765
- 105
- 273
- 257

Delayer
- 409
- 1
- 5
- 17
-
Did you try the package sysstat? – J-C FOREST Sep 08 '17 at 08:51
1 Answers
0
I suggest to get the PID of the php process from htop and then use
ps -p <pid> -o %cpu,%mem,cmd

Simonluca Landi
- 931
- 8
- 21
-
Same result %CPU %MEM CMD 78.9 0.0 /opt/bin/php-cgi -c /var/www/etc/php.ini – Delayer Sep 08 '17 at 09:40