Thursday, April 28, 2011

Is there a realtime apache/php console similar to webrick or mongrel with ruby on rails?

Is there a realtime apache/php console similar to webrick or mongrel with ruby on rails?

I want to be able to monitor what the heck my server is doing.

edit:

but I don't want to grep the log

Thanks!

From stackoverflow
  • I believe FirePHP might be somewhat equivalent to what your looking for.

    Simple Example:

     <?php
     FB::log('Log message');
     FB::info('Info message');
     FB::warn('Warn message');
     FB::error('Error message');
     ?>
    

    alt text

    Read More

    Itay Moav : Will have the same problem as with tail -f, Unless you flush after each FB:: call (which then can be disastrous for your headers)+add the time between request and response.
  • ApacheTop may not quite do what you want, but just in case.. and you might find it useful nonetheless :) It's basically like UNIX top but for Apache.

  • There's always gdb and strace/dtrace. There's also the xdebug module but its not real time.

0 comments:

Post a Comment

Note: Only a member of this blog may post a comment.