• 10

A PHP Error was encountered

Severity: Notice

Message: Undefined index: userid

Filename: views/question.php

Line Number: 191


File: /home/prodcxja/public_html/questions/application/views/question.php
Line: 191
Function: _error_handler

File: /home/prodcxja/public_html/questions/application/controllers/Questions.php
Line: 433
Function: view

File: /home/prodcxja/public_html/questions/index.php
Line: 315
Function: require_once

In Windows I have Sysinternals Process Explorer but for Mac the built-in "Activity Monitor" is not enough.

I would need to figure out for each process:

  • Files open
  • CPU usage for each thread (in real time... not just a "sample")
  • Network connections open
  • etc...

I'm a bit new in the Mac OS X world, so any other troubleshooting methodologies are welcome.


Are you looking for an all in one application or where you access the information?

It is possible to look at the specific sections using the CLI tools as well for more in depth information:


  1. Open Files: lsof -c "APP_NAME", lsof +d 'DIRECTORY' or for real time file system usage: sudo fs_usage "APP_NAME"
  2. Network Connections: lsof -i | grep "APP_NAME"

As always for more options check out the man page fpr each utility.

  • 1
Reply Report

You may be able to use instruments (part of the developer tools) to do this, it can provide alot more granularity than activity monitor however it does require some configuration to get exactly what you want from it, i don't think it will be much good if you are looking at system wide performance but for performance of particular processes it may be useful.

  • 0
Reply Report

Trending Tags