merged
authorOleksandr Gavenko <gavenkoa@gmail.com>
Mon, 14 Sep 2009 21:21:08 +0300
changeset 198 e9f649ad236b
parent 197 89a7852aa71b (current diff)
parent 189 a433d6009641 (diff)
child 201 cd3df5b56744
child 202 95ade0843007
merged
stat.rst
--- a/devel-windows.rst	Sun Sep 13 14:45:48 2009 +0300
+++ b/devel-windows.rst	Mon Sep 14 21:21:08 2009 +0300
@@ -15,49 +15,6 @@
 
   http://www.dependencywalker.com/
 
-* Kill process.
-
-** tskill.exe.
-
-  cmd> tskill {<pid>|<name>}
-
-** taskkill.exe.
-
-  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.
 
-
+TODO
--- a/laser-disk.rst	Sun Sep 13 14:45:48 2009 +0300
+++ b/laser-disk.rst	Mon Sep 14 21:21:08 2009 +0300
@@ -34,7 +34,7 @@
 |DVD+R DL  | 4,173,824 | 8,547,991,552 | 8.5  |  7.961 |
 +----------+-----------+---------------+------+--------+
 
-* 
+* Vendor.
 
 ** Verbatim.
 
--- a/process-managment.rst	Sun Sep 13 14:45:48 2009 +0300
+++ b/process-managment.rst	Mon Sep 14 21:21:08 2009 +0300
@@ -31,6 +31,41 @@
 
 TODO
 
+** Windows.
+
+*** Interactive.
+
+  cmd> taskmgr
+
+*** Static.
+
+  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
+
+* Killing process.
+
+** Linux.
+
+TODO
+
+  $ kill -s <SIGNAL> <pid>
+
+** Windows.
+
+TODO which version from which Windows version comes?
+
+  cmd> tskill {<pid>|<name>}
+
+  cmd> taskkill /IM notepad.exe
+  cmd> taskkill /PID 827
+
 * Process info.
 
 Show user, pid, ppid, pgid, sid, jobc, state, time, command, etc.
@@ -47,10 +82,6 @@
 
   $ ps -l <id>
 
-* Killing process.
-
-TODO
-
 * Run as another user.
 
 ** Linux.
@@ -62,3 +93,6 @@
 
   $ sudo -u <user> -i <command>
 
+** Windows.
+
+  $ runas /u: TODO XXX
--- a/stat.rst	Sun Sep 13 14:45:48 2009 +0300
+++ b/stat.rst	Mon Sep 14 21:21:08 2009 +0300
@@ -104,6 +104,18 @@
 
 ** Windows.
 
+*** Interactive.
+
+procexp.exe from Sysinternals.
+
+*** Static.
+
+handle.exe from Sysinternals:
+
+  cmd> handle -p 1265
+  C: File  (RW-)   C:\Program Files\Common Files\GTK\2.0\bin
+288: Section       \BaseNamedObjects\mmGlobalPnpInfo
+
 * Opened file by user.
 
 ** FreeBSD.
@@ -122,3 +134,38 @@
 ** FreeBSD.
 
 ** Windows.
+
+  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
+
+* Locked file by process.
+
+** Linux.
+
+  $ lsof <file>
+
+** FreeBSD.
+
+TODO
+
+** Solaris.
+
+TODO
+
+** Windows.
+
+*** Interactive.
+
+procexp.exe from Sysinternals.
+
+*** Static.
+
+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
+