Saturday, December 22, 2012

Networking


http://blog.creativeitp.com/posts-and-articles/networking/hubs-switches-routers-and-bridges/

http://www.cellsoft.de/


Network packet capturing:

http://eecs.wsu.edu/~sshaikot/docs/lbpcap/libpcap-tutorial.pdf

Utility for network debugging:
1. tcpdump: to see if there are any packets coming across to the port at which the application is listening.
2. strace & gstack: to track what system call the application process is currently waiting on.
3. lsof: to track what(and how many) file descriptors are open for the application process.



top running processes: "top"
top running processes: "prstat"
                                           "prstat -n 1 -a"
number of cores: "kstat cpu_info|grep core_id|sort -u|wc -l"
prtconf | grep Memory


cat /etc/release