"Command Prompt"

  • Thread starter Thread starter BoazBoaz
  • Start date Start date
B

BoazBoaz

need some help with "Command Prompt".

I'm running with success the command:
netstat -no 5 > c:\file.txt

I would like to expend it.

Is their a command prompt that show the running process and their PID ??

which command will show me every 5 sec the netstat and running process pids
??
 
Is their a command prompt that show the running process and their PID ??

tasklist /svc

tasklist /? for HELP.

Tasklist does not come with XP Home.

The following works. I did it when I had XP Home.

1. Download Tasklist.exe.

Tasklist.exe available here:
http://www.computerhope.com/download/winxp.htm

Or...

http://www.mvps.org/sramesh2k/

Microsoft Windows XP - Tips & Fixes
Click on:
Tasklist.exe - Lists all processes & services (/Svc)

Or...

http://windowsxp.mvps.org/utils/tasklist.zip

2. Copy tasklist.exe to

C:\WINDOWS\system32
or
%windir%\system32

3. Open a Command Prompt.

Start | Run | type: cmd | Click OK |
When the Command Prompt window opens type:

tasklist /svc

Hit your ENTER key.

Also:

tasklist /?

Displays Help and usage.

netstat -ano 5

-a Displays all connections and listening ports.
-n Displays addresses and port numbers in numerical form.
-o Displays the owning process ID associated with each
connection.
interval Redisplays selected statistics, pausing interval seconds
between each display. Press CTRL+C to stop redisplaying
statistics. If omitted, netstat will print the current
configuration information once.

netstat /? for HELP.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
Thank you!!!

Wesley Vogel said:
tasklist /svc

tasklist /? for HELP.

Tasklist does not come with XP Home.

The following works. I did it when I had XP Home.

1. Download Tasklist.exe.

Tasklist.exe available here:
http://www.computerhope.com/download/winxp.htm

Or...

http://www.mvps.org/sramesh2k/

Microsoft Windows XP - Tips & Fixes
Click on:
Tasklist.exe - Lists all processes & services (/Svc)

Or...

http://windowsxp.mvps.org/utils/tasklist.zip

2. Copy tasklist.exe to

C:\WINDOWS\system32
or
%windir%\system32

3. Open a Command Prompt.

Start | Run | type: cmd | Click OK |
When the Command Prompt window opens type:

tasklist /svc

Hit your ENTER key.

Also:

tasklist /?

Displays Help and usage.

netstat -ano 5

-a Displays all connections and listening ports.
-n Displays addresses and port numbers in numerical form.
-o Displays the owning process ID associated with each
connection.
interval Redisplays selected statistics, pausing interval seconds
between each display. Press CTRL+C to stop redisplaying
statistics. If omitted, netstat will print the current
configuration information once.

netstat /? for HELP.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
You're welcome.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
Back
Top