-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcheck-processes.bat
More file actions
28 lines (23 loc) · 829 Bytes
/
check-processes.bat
File metadata and controls
28 lines (23 loc) · 829 Bytes
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
@echo off
echo ========================================
echo VERIFICANDO PROCESOS EN PUERTO 4000
echo ========================================
REM Mostrar procesos que usan el puerto 4000
echo Procesos usando el puerto 4000:
netstat -ano | findstr :4000
echo.
echo ========================================
echo PROCESOS NODE.JS ACTIVOS
echo ========================================
REM Mostrar todos los procesos Node.js
tasklist | findstr node.exe
tasklist | findstr nodemon.exe
echo.
echo ========================================
echo OPCIONES:
echo ========================================
echo 1. Para matar solo el puerto 4000: start-server.bat
echo 2. Para matar todos los Node.js: taskkill /IM node.exe /F
echo 3. Para matar nodemon: taskkill /IM nodemon.exe /F
echo ========================================
pause