Using netstat
Netstat is a simple and great network utility. Here are a few useful usage examples:
What Network Services are Running?
netstat -atup
or
netstat -ap | grep LISTEN | less
This can be helpful to determine the services running.
Need stats on dropped UDP packets?
netstat -s -u
or TCP
netstat -s -t
or summary of everything
netstat -s
or looking for error rates on the interface?
netstat -i
Listening interfaces?
netstat -l
- 0 Comment
- Mike Chirico
- 30 Nov 2008, 10:32
-
You must be login first or sign-up for an account to post comments.
Maybe you should look at these also:
USERBOX
CATEGORIES
MOST READ TODAY
- Syntax highlighting in less
- Learning all of the available system calls
- XFS Filesystem has duplicate UUID problem
- Redirecting tcp / udp ports with socat
- Multi-conditional search and replace (clearing a ftp trojan script example)
- Working with Linux kernel oops messages
- Redirecting TCP ports with redir
- Removing specific message(s) from exim mail queue
- Displaying disk io statistics
- How to record a linux session
LAST ADDED
- Using iPhone internet sharing over bluetooth under Linux
- Using USB sound card with amarok
- Multi-conditional search and replace (clearing a ftp trojan script example)
- Disabling ipv6 functionality
- How to convert a mp3 file
- How to choose the fastest Debian mirror
- Disabling reverse dns lookups in ssh
- Rewriting destination ip address
- Deleting A File By It's Inode Value
- Learning which libraries are used for a binary
