/docs/MyDocs

To get this branch, use:
bzr branch http://darksoft.org/webbzr/docs/MyDocs

« back to all changes in this revision

Viewing changes to Analysis/accounting/network.txt

  • Committer: Suren A. Chilingaryan
  • Date: 2015-08-21 03:52:00 UTC
  • Revision ID: csa@suren.me-20150821035200-xu1zh22cqlk2omcq
Profiling

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
lsof
 
2
====
 
3
 - lsof -i                                      - all apps with active network connections
 
4
 - lsof -i:80                                   - list apps listening on port 80
 
5
 - lsof -iTCP -sTCP:ESTABLISHED                 - list apps with established TCP connections
 
6
 
 
7
netstat
 
8
=======
 
9
 - netstat -s                                   - global statistics
 
10
 - netstat -p                                   - active connections with program names
 
11
 - netstat -tup                                 - established internet connections
 
12
 - netstat -lantp                               - servers + established internet connections
 
13
 
 
14
 
 
15