TalkPHP

TalkPHP (http://www.talkphp.com/forums.php)
-   General (http://www.talkphp.com/general/)
-   -   Sys_getloadavg (http://www.talkphp.com/general/2976-sys_getloadavg.html)

Orc 06-18-2008 03:37 AM

Sys_getloadavg
 
Why is this function NOT for windows platform?

delayedinsanity 06-18-2008 04:34 AM

I would assume because Linux is much smarter about reporting it's load and processes than Windows and has built in ability to do so, whereas the Task Manager in Windows is just as proprietary as the rest of Windows (and probably as much of a mess) and is harder to tap. Just a guess though.
-m

Orc 06-18-2008 05:59 AM

Quote:

Originally Posted by delayedinsanity (Post 15760)
I would assume because Linux is much smarter about reporting it's load and processes than Windows and has built in ability to do so, whereas the Task Manager in Windows is just as proprietary as the rest of Windows (and probably as much of a mess) and is harder to tap. Just a guess though.
-m

Eh? Linux promotion post. :P

delayedinsanity 06-18-2008 06:02 AM

Well, yes and no. The function works on Linux, but not Windows, so you started the promotion. checkdnsrr and a few others could finish it up I'm sure. ;-)
-m

Orc 06-18-2008 06:03 AM

Quote:

Originally Posted by delayedinsanity (Post 15762)
Well, yes and no. The function works on Linux, but not Windows, so you started the promotion. checkdnsrr and a few others could finish it up I'm sure. ;-)
-m

checkdnsrr checks the dns. :P

SpYkE112 06-18-2008 06:38 AM

Well, you can find the load value through a COM class, but it's not easy.. And it "hangs" for a moment while probing the load percentage.. So if you wan't to play around with load values, i would make some sort of program which works the same way as linux...

delayedinsanity 06-18-2008 08:03 AM

Quote:

checkdnsrr checks the dns.
I know what it does, I was adding it to the list of php functions that don't work on Windows.
-m

Kalle 06-18-2008 12:59 PM

Because it referes to the averange load file on a POSIX system =), however its on our list to see if an alternative can be implemented

Rainman 02-19-2013 05:24 AM

Welcome to mmoggg website to buy RS Gold, offer a lot, of course, Diablo 3 Gold and Cheap RS Gold, to be purchased at any time, at any time shipment, and Diablo 3 Gold Kaufen look forward to your visit!

Tellez 02-21-2013 10:13 AM

I don't understand your question!


Pertenezco al equipo de profesionales de electricistas madrid


All times are GMT. The time now is 01:48 PM.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0