Two Windows Command Iterations I Had Forgotten About - netstat and tasklist

Yeah, I hear you now.  There is no way you forgot about netstat.  You would be correct.  However, there is an iteration of netstat that I have either never done, or have not done in sufficiently long enough ago to have forgotten its use.

The command is shown below along with some output.

C:\Documents and Settings\dpitts>netstat -anbov

Active Connections

Proto Local Address Foreign Address State PID
TCP 0.0.0.0:25 0.0.0.0:0 LISTENING 180
C:\WINDOWS\system32\WS2_32.dll
C:\WINDOWS\system32\inetsrv\ISATQ.dll
C:\WINDOWS\system32\inetsrv\INFOCOMM.dll
C:\WINDOWS\system32\inetsrv\SMTPSVC.dll
C:\WINDOWS\system32\inetsrv\INFOCOMM.dll
C:\WINDOWS\system32\inetsrv\SMTPSVC.dll
C:\WINDOWS\system32\inetsrv\INFOCOMM.dll
C:\WINDOWS\system32\inetsrv\SMTPSVC.dll
[inetinfo.exe]

TCP 0.0.0.0:80 0.0.0.0:0 LISTENING 180
C:\WINDOWS\system32\WS2_32.dll
C:\WINDOWS\system32\inetsrv\ISATQ.dll
C:\WINDOWS\system32\inetsrv\INFOCOMM.dll
C:\WINDOWS\system32\inetsrv\w3svc.dll
C:\WINDOWS\system32\inetsrv\INFOCOMM.dll
C:\WINDOWS\system32\inetsrv\w3svc.dll
C:\WINDOWS\system32\inetsrv\INFOCOMM.dll
[inetinfo.exe]

...

(takes a couple minutes to run - your milage may vary)

This is showing me the current active open ports.  As you can see, ports 25 and 80 are open to the world (0.0.0.0).  The lines showing the dll’s are the processes that are running that are a part of the process inside the square brackets [] that is the service that is running - inetinfo.exe in both cases shown above.  Off to the right is the process ID (PID).

This brings me to my second command - tasklist /svc.

C:\Documents and Settings\dpitts>tasklist /svc

Image Name PID Services
========================= ====== =============================================

inetinfo.exe 180 IISADMIN, SMTPSVC, W3SVC


This tells me I have 3 services running as part of inetinfo.exe on PID 180 - IISADMIN, SMTPSVC, W3SVC

Now to figure out how to use these commands in a productive way.


Posted by Moose on 06/14 at 09:59 AM in Job

Comments:

No comments yet. Commenting is not available in this weblog entry.

<< Back to main

QUOTE OF THE DAY:
If everything seems under control, you're not going fast enough. - Mario Andretti
Things I want:
Apparently I am to list some things I want as I never tell anyone and when I do its in the form of "I just got", so here is a list

Roasted and ground
Dirac on quantum mechanics
von Neumann and Morgenstern on game theory
Wiener on cybernetics
Feynman on quantum electrodynamics
Einstein's collected papers (all volumes)
The Art of Computer Programming by Donald E. Knuth. (all volumes)
Oh, and to understand women.

Tools:
translate binary and stuff
What I'm watching:
movie image My Father the Hero
movie image Antwone Fisher

Please Visit:

Some of the Web sites I have worked on in my career:
CURRENT:
State of Indiana
PAST:
www.aaronsdreamweeknd.com
www.aaronssuperfan.com
www.acctriviachallenge.com
www.allteltriviachallenge.com
www.arizonaathletics.com
www.baltimorebayhawks.com
www.big12sports.com
www.boomshea.com
www.bostoncannons.com
www.bridgeportbarrage.com
www.cha-health.com
www.chahealthagents.com
www.championship.usyouthsoccer.org
www.CommerceLexington.com
www.crosssphere.com
www.eastwestcollege.com
www.ecupirates.com
www.experienceispa.com
www.finalfour.net
www.futurelab.com
www.getasidekick.com
www.ghsa.net
www.gomarquette.com
www.gwinnettdailyonline
www.gwinnettdailypost.com
www.hoopitup.com
www.horizonleague.org
www.hostcommunications.com
www.iHigh.com
www.ispaconference.com
www.jpsports.com
www.kentstatesports.com
www.lexsports.com
www.lfsports.com
www.lonestarconference.org
www.lonestarshowdown.net
www.longislandlizards.com
www.maacsports.com
www.mackbrown-texasfootball.com
www.madisonbankky.com
www.majorleaguelacrosse.com
www.millenniumfarms.com
www.mgoblue.com
www.mondaymorningmessages.com
www.mstateathletics.com
www.ncaabaseball.com
www.ncaachampionships.com
www.ncaafootball.com
www.ncaafootball.net
www.ncaaicehockey.com
www.ncaalacrosse.com
www.ncaasoccer.net
www.ncaasoftball.com
www.ncaatradeshow.com
www.ncaavolleyball.net
www.ncaawrestling.com
www.newjerseypride.com
www.newtoncitizen.com
www.ntaonline.com
www.orugoldeneagles.com
www.philadelphiabarrage.com
www.polkspearls.com
www.raycomsports.com
www.redroom.com
register.imgacademies.com
www.rochesterrattlers.com
www.rockdalecitizen
www.schoolcounts.com
www.seckids.com
www.secsports.com
www.secsports.org
www.soccer3v3.com
www.southernsportsawards.com
www.sportsmarketing.org
www.statefarmlonestarshowdown.com
www.takg.com
www.teammomusa.com
www.texasfootball.com
www.texassports.com
www.traveltheperfectfreedom.com
www.triplecrownmedia.com
www.troytrojans.com
www.ukathletics.com
www.uksportsmarketing.com
www.uksportsmarketing.org
www.uscowboytour.com
www.usmiles.com
www.usyouthsoccer.org
www.usysregion3.org
www.uterwincenter.com
www.utladyvols.com
www.utsports.com
www.vinerykentucky.com
www.webberathletics.com

 

 

 

 

 

 

 

 

 

 

 

 

RSS Feed