# HG changeset patch # User Oleksandr Gavenko # Date 1251967441 -10800 # Node ID 449463d34133eb63eb0b0194af29c219b36f060a # Parent 5e9ea846a8c3b6232d6ac62071c20ddc575872ca# Parent 365fbc9d602d27c033cae3849e8447f7509b3dd5 merged diff -r 5e9ea846a8c3 -r 449463d34133 driver-win.rst --- a/driver-win.rst Tue Aug 25 19:27:16 2009 +0300 +++ b/driver-win.rst Thu Sep 03 11:44:01 2009 +0300 @@ -37,6 +37,30 @@ * Tools. +** Msinfo32.exe + +Windows XP/2003 System Information Tool. + +See + + http://support.microsoft.com/kb/308549 + +** Sysinternals. + +*** WinObj. + +Winobj is a program that lets you browse the Windows NT Object Manager +namespace. + +** devtree. + +The DeviceTree V2.12 utility is a Windows XP/Server 2003 utility written by +OSR, that allows the user the ability to display the drivers and devices +loaded in 2 different views. The first view Driver View the user sees a list +of all the drivers loaded in kernel mode and all the devices that those +drivers have created. In the second view PnP View the user sees a list of all +the devices in the system from that of Plug and Play Manager (PnP). + ** Microsoft DDK. *** DevCon. diff -r 5e9ea846a8c3 -r 449463d34133 stat.rst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/stat.rst Thu Sep 03 11:44:01 2009 +0300 @@ -0,0 +1,106 @@ +-*- mode: outline; coding: utf-8 -*- + +* Cpu consumption. + +** Linux. + +*** Interactive. + + $ top + +*** Static. + + $ ps -eo %cpu,pid,cmd --sort=%cpu + +** FreeBSD. + +*** Interactive. + + $ top + +** Windows. + + cmd> taskmgr + +** Solaris. + +See + + http://developers.sun.com/solaris/articles/prstat.html + Topping top in Solaris 8 with prstat. + +* Memory consumption. + +** Linux. + +*** Interactive. + + $ top + +*** Static. + +Vitual and resident memory size: + + $ ps -eo vsz,rsz,pid,cmd --sort=vsz + +Swap size and usage: + + $ free + +** FreeBSD. + +*** Interactive. + + $ top + +*** Static. + +Swap size: + + $ swapinfo + $ pstat -s + +Swap usage: + + $ vmstat + +** Windows. + + cmd> taskmgr + +and add colums TODO. + +** Solaris. + + $ prstat -a + +* Opened file by process. + +** Linux. + + $ lsof -p + +** FreeBSD. + + $ fstat -p + +** Windows. + +* Opened file by user. + +** FreeBSD. + + $ fstat -u + +* Opened network connection by process. + +** Linux. + + $ lsof -i[46][protocol][@{hostname|hostaddr}][:{service|port}] + +46 - IPV4 or IPV6 +protocol - tcp, udp + +** FreeBSD. + +** Windows.