delphi123 Posted December 4, 2007 Share Posted December 4, 2007 Hi there, Just need a general pointer - I've seen a few scripts that'll tell you how much load your server is currently under. Can anyone give me an idea how they work and how I could write a similar script? I don't know if there's just some php command that'll tell you how many server requests or whatever you've had in the last minute or something! Cheers! Quote Link to comment Share on other sites More sharing options...
trq Posted December 4, 2007 Share Posted December 4, 2007 Most of the information you'll need can be found in the Apache logs. Assuming that is, that your using Apache. Quote Link to comment Share on other sites More sharing options...
delphi123 Posted December 5, 2007 Author Share Posted December 5, 2007 yep I'm using apache - so how can I extract the values in these logs to the webpage? (I'm wanting to display these values dynamically) Quote Link to comment Share on other sites More sharing options...
trq Posted December 5, 2007 Share Posted December 5, 2007 Take a look at fopen and fread. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.