How can I get CPU Usage with PHP on Windows IIS 8.5? (2012 R2) -


what i'm looking easy way either individual core usage or total cpu usage system php script running on.

however i'm unable so. i've looked on manner of solutions using perf (with , without passthru) using winmgmts through com.

the issue is, of these work on windows if use apache, iis security restrictions stop php being able use example winmgmts through com null object.

how can solve this? - i've tried every solution can find on internet , while there lots of information how raise permissions guides point iis 7 or earlier , no longer applicable iis 8.5 literally suggested option changes being non-existent.

if me i'd appreciative, workaround using third party application provide data acceptable if can query data through php either file or network etc asp.net script query? (i don't know asp.net use single thing if it'd work?)

thank you.

i managed solve , hope helps else.

what must convert folder php (or asp) execute application. structure this:

    website name     -> application name 

then want select parent folder, website name folder , go "basic settings" in far right actions pane , select "connect as..." , connect administrator account.

once you've done application inherent credentials specified on parent website folder , you'll have full access perf, wmi , on.

if give credentials directly application doesn't work , doesn't work if don't convert folder scripts execute application. being tripped , documentation online sparse.

i'd thank people @ phpsysinfo github iis documentation pointed me on right track on needing convert site application part of puzzle missing.


Comments

Popular posts from this blog

html - Styling progress bar with inline style -

java - Oracle Sql developer error: could not install some modules -

How to use autoclose brackets in Jupyter notebook? -