Monthly Archives: December 2010

cx_Oracle

Follow http://mostperfect.net/blog/2010/07/28/installing-cx_oracle-on-windows/, A looking at cx_Oracle.pyd with dependency walker (from MS) will show it depends on OCI.dll.As a result, we need to install Oracle Instant Client from here http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html Advertisements

Posted in oracle, python | Leave a comment

strace

Attach to a running process with -p: strace -c -p look for system call with -e, : strace -f -p -e epoll_wait strace ls  2>&1 | grep mmap strace ls  &| grep mmap strace -e mmap ls http://www.reddit.com/r/programming/comments/1thk2e/understanding_how_killall_works_using_strace/ http://www.hokstad.com/5-simple-ways-to-troubleshoot-using-strace http://chadfowler.com/blog/2014/01/26/the-magic-of-strace/Continue reading

Posted in linux, strace | Tagged | Leave a comment