使用命令
pgrep -u USERABC | xargs ps -f -p
或
top -c -u USERABC
我们可以通过USERABC看到所有进程启动。
我们如何看待启动此流程的IP?
通过示例我们发现:
USERABC 28465 25010 0 17:01 ? S 0:00 /usr/bin/php /home/USERABC/public_html/forum/index.php
200次。
然后我们想知道这个过程是从相同的IP开始,还是195来自同一个IP (当然是黑客,我们可以阻止这个方向!) 和其他人5来自其他IP(用户"法律和#34;当然)。
感谢。
答案 0 :(得分:1)
grep您的Web服务器访问日志文件中的URL。
示例:
grep 'forum\/index.php' /var/log/apache2/access_log