diff -r b299230216aa -r a433d6009641 stat.rst --- a/stat.rst Thu Sep 03 23:14:40 2009 +0300 +++ b/stat.rst Thu Sep 03 23:42:53 2009 +0300 @@ -86,6 +86,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. @@ -104,3 +116,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 + +** 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 +