База знаний: Linux Server
Как определить сайты, создающие нагрузку на Plesk Linux
Автор Алексей | HiTex.BY на 30 апреля 2011 21:02
|
|
Для определения сайтов с которыми сейчас
работают процессы Apache, можно воспользоваться следующей командой: ls
-l /proc/*/cwd | grep /var/www/vhosts | sed -e
"s#.*/var/www/vhosts\(.*\)#/var/www/vhosts\1#" | sort Также
рекомендуется активировать /server-status в httpd.con.
# Allow
server status reports, with the URL of http://servername/server-status and it will show what CGI script produces a high load. Also, you can get more information here: http://httpd.apache.org/docs-2.0/mod/mod_status.html You can make it password protected: ExtendedStatus on Then restart apache. | |
|
Комментарии (0)