R
R
Roman2015-06-02 22:07:40
JavaScript
Roman, 2015-06-02 22:07:40

How to track which php script is loading the server?

You need to track which file creates a heavy load on the server. Is there a script?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
H
hell, 2018-08-01
@Shimpanze

if(e.parentNode.tagName.toLowerCase()==='p'&&(e.nextSibling||e.previousSibling)){}
or alternative
if(e.parentNode.tagName.toLowerCase()==='p' &&e.parentNode.childNodes.length>1){}
and to ignore text nodes
if(e.parentNode.tagName.toLowerCase()==='p'&&e.parentNode.children.length>1){} (in older will not include comments)

L
LittleFatNinja, 2015-06-02
@LittleFatNinja

if it is related to the database, you can look at the logs of slow queries

A
Alexander Kleoshin, 2015-06-03
@mxSandr

Install any IDE with xdebug support (I have Netbeans), install xdebug xdebug.org/wizard.php , run your project in it, view the file received in xdebug in the wincachegrid program sourceforge.net/projects/wincachegrind

A
Alexey Rytikov, 2015-06-03
@chlp

mod_status to help you. Usage example

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question