Here is few tips for Mac OS X that I use quite often:
$ nm -A {file name} - to get list of symbols defined in the dynamic library.
$ otool -L {file name} - to get the list of shared libraries used by the dynamic library or executable.
$ lipo -info {file name} - to get the information on what CPU architectures are supported by the library or executable.
$ lsof -i -P | grep -i "listen" - to get the list of open ports with processes names that your machine is listening to.
$ man -k dtrace - lists lots of useful dtrace tools available, that allow to trace for example IO activity, processes, and many more
Tuesday, February 28, 2012
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment