deeejay

Bash - iftop commands

Jun 15th, 2016
371
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.47 KB | None | 0 0
  1. Repo:
  2. http://pkgs.repoforge.org/iftop/
  3.  
  4. wget http://pkgs.repoforge.org/iftop/iftop-1.0-0.pre3.el6.rf.x86_64.rpm
  5. rpm -Uvh iftop-1.0-0.pre3.el6.rf.x86_64.rpm
  6.  
  7. Open iftop and disable DNS lookup and enable ports
  8. ===
  9. iftop -n -P
  10. or
  11. iftop
  12. press n to toggle DNS lookups
  13. press p to toggle ports
  14.  
  15. press h to toggle help
  16. press s or d to toggle source/destination ports
  17. press l to limit or filter results; based on regex, i.e. 170.71 to filter ip address 170.71.x.x or dropbox
Advertisement
Add Comment
Please, Sign In to add comment