--- a/devel-windows.rst Thu Jun 25 16:56:15 2009 +0300
+++ b/devel-windows.rst Thu Jun 25 17:09:11 2009 +0300
@@ -17,7 +17,7 @@
* Kill process.
-** tskill.exe
+** tskill.exe.
cmd> tskill {<pid>|<name>}
@@ -25,3 +25,39 @@
cmd> taskkill /IM notepad.exe
cmd> taskkill /PID 827
+
+* lsof for Windows.
+
+** handle.exe from Sysinternals.
+
+ cmd> handle d:\home
+ispell.exe pid: 244 784: D:\home\drivers\token_api\src
+Far.exe pid: 432 10C: D:\home\drivers\token_api
+
+ cmd> handle -p 1265
+ C: File (RW-) C:\Program Files\Common Files\GTK\2.0\bin
+288: Section \BaseNamedObjects\mmGlobalPnpInfo
+
+** TaskList.exe.
+
+ cmd> TaskList
+Process Name PID Session Name #Session Memory
+========================= ====== ================ ======== ============
+System Idle Process 0 Console 0 28 KB
+System 4 Console 0 236 KB
+smss.exe 592 Console 0 432 KB
+csrss.exe 656 Console 0 4 404 KB
+winlogon.exe 680 Console 0 2 792 KB
+services.exe 724 Console 0 3 260 KB
+
+** netstat.exe.
+
+ cmd> netstat -o
+Type Local addr Remote addr State PID
+TCP user:1154 localhost:1153 ESTABLISHED 1512
+TCP user:5152 localhost:1052 CLOSE_WAIT 1524
+TCP user:1036 services.int:5222 ESTABLISHED 1188
+
+* Sysinternals.
+
+