Unix System debugging Tips
Programming ....
|
|
** strace
See systemcalls:
|
|
strace <cmd>

** lsof
List open files and network connections of local process:
lsof -p <pid>
When no option is given, lsof prints open files for all processes for which this information is available. Generally, lsof needs to be run as root.
** strings
See ascii data in binary file (e.g. version number or name of default configuration file used)
strings /usr/bin/<binary>
** gdb

Prashant Mhatre
Make Money, Programming, Bollywood, Marathi
^_*