What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Calculating PHP script resource usage

Calculating PHP script resource usage
Author: Message:
Mike
Elite Member
*****

Avatar
Meet the Spam Family!

Posts: 2795
Reputation: 48
32 / Male / Flag
Joined: Mar 2003
Status: Online
O.P. Calculating PHP script resource usage
Hey, is there a way to calculate how many resources a PHP scripts uses (especially CPU usage) other than checking how long it takes for the script to execute?

Thanks :)
YouTube closed-captions ripper (also allows you to download videos!)
05-16-2009 04:27 PM
Profile E-Mail PM Web Find Quote Report
Dr4g0n
Full Member
***

Avatar

Posts: 376
Reputation: 15
34 / Male / Flag
Joined: Nov 2003
RE: Calculating PHP script resource usage
Run a resource monitor at the same time?

Presumably you're running it on a webserver, do you have shell access aswell? If so, you could run 'top' while executing the PHP script to monitor resource changes.
05-16-2009 08:35 PM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On