Added support for Mac OS X

I added support for mac os x's ps command.