Lairds Computer Services
"Your server support team"
Home
Blog
Remote Server Support
Remote DBA
Portal Hosting
Web Design
Contact
Filtering netstat on the command line
Feb
19
Written by:
David Aldridge
2/19/2010 6:07 PM
Windows command line is vastly underrated. It can do a lot of what linux can from the command line. Take for example trying to see how many connections you are making out to a certain server IP or port, then you can use the following: netstat -an | findstr /c:"w.x.y.z" or netstat -an | findstr /c:":port Where w.x.y.z would be the IP address you were interested in or port is the port you are interested in. Findstr is almost analogous to grep in uniq. Not quite, but good enough for stuff like the above...
Tags:
0 comment(s) so far...
Your name:
Your email:
(Optional) Email used only to show
Gravatar
.
Your website:
Title:
Comment:
Security Code
Enter the code shown above in the box below
Add Comment
Cancel
View All Recent Entries
Davids Support Blog
Ingrids Technology Blog
You must be logged in and have permission to create or edit a blog.
All Blogs
Davids Support Blog
Ingrids Technology Blog
Keywords
Phrase
Archive
<
August 2010
>
Sun
Mon
Tue
Wed
Thu
Fri
Sat
25
26
27
28
29
30
31
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
Monthly
July, 2010
February, 2010
January, 2010
December, 2009