Is there a way to find out which PHP pages are taking more resources in a linux server? -



Is there a way to find out which PHP pages are taking more resources in a linux server? -

my linux server websites maintain going downwards 1 time again , 1 time again ssh, ftp, etc alive. had @ server through ssh , used top command lists processes. shows when php pages executed, mysql cpu usage reaches 100%. there command/log can used find out php pages taking much of mysql usage? give thanks you...

if mysql getting stuck @ 100% you've got badly tuned mysql queries within 1 of php applications. time clock in mysql daemon , won't show in %d value. indexes out of date.

if have access d/b through @ command prompt through ssh seek doing analyze table , optimize table on big tables. @ "the slow query log" in mysql documentation.

unfortunately fixing need application internals.

php linux apache

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -