Tuesday, May 13, 2008

Notes about using lights

There are some notes about using lights. See following links:
http://docs.google.com/Doc?id=dhggg5mw_42fhbcbbg5
http://en.wikipedia.org/wiki/Fluorescent_lamp

Saturday, May 10, 2008

CMD task list and kill

Have ever seen tasklist and taskkill in windows command line?
Here is it!

Z:\>tasklist

Image Name PID Session Name Session# Mem Usage
========================= ====== ================ ======== ============
System Idle Process 0 Console 0 16 K
System 4 Console 0 220 K
smss.exe 540 Console 0 376 K
csrss.exe 612 Console 0 5,736 K
winlogon.exe 636 Console 0 1,256 K
services.exe 680 Console 0 4,724 K
lsass.exe 692 Console 0 1,600 K
svchost.exe 852 Console 0 4,948 K
svchost.exe 928 Console 0 5,180 K
svchost.exe 1028 Console 0 29,096 K
svchost.exe 1084 Console 0 4,156 K
svchost.exe 1136 Console 0 5,396 K
spoolsv.exe 1392 Console 0 5,884 K
inetinfo.exe 1588 Console 0 10,716 K
LogWatNT.exe 1628 Console 0 1,208 K
mdm.exe 1652 Console 0 2,908 K
sqlservr.exe 1784 Console 0 1,848 K
nod32krn.exe 1820 Console 0 25,612 K
nutsrv4.exe 1856 Console 0 2,092 K
oodag.exe 1872 Console 0 6,064 K
SMAgent.exe 1976 Console 0 1,916 K
sqlbrowser.exe 204 Console 0 3,020 K
sqlwriter.exe 208 Console 0 3,572 K
alg.exe 1324 Console 0 4,228 K
explorer.exe 1340 Console 0 17,940 K
TSVNCache.exe 1904 Console 0 6,976 K
nod32kui.exe 1268 Console 0 2,784 K
VTTimer.exe 1952 Console 0 1,688 K
GoogleDesktop.exe 2088 Console 0 6,756 K
Acrotray.exe 2104 Console 0 8,080 K
GoogleDesktop.exe 2136 Console 0 7,128 K
GoogleDesktop.exe 2392 Console 0 3,732 K
ctfmon.exe 2616 Console 0 3,120 K
FNPLicensingService.exe 2656 Console 0 2,576 K
NMBgMonitor.exe 2844 Console 0 7,868 K
LashDic2.exe 3088 Console 0 5,980 K
PicasaMediaDetector.exe 3172 Console 0 4,944 K
svchost.exe 3232 Console 0 4,368 K
Ymsgr_tray.exe 3388 Console 0 4,500 K
Opera.exe 3832 Console 0 90,496 K
vlc.exe 3824 Console 0 9,252 K
EXCEL.EXE 3680 Console 0 28,068 K
Picasa2.exe 1060 Console 0 38,396 K
firefox.exe 3432 Console 0 35,876 K
taskmgr.exe 4012 Console 0 5,064 K
NMIndexStoreSvr.exe 2620 Console 0 21,880 K
cmd.exe 1036 Console 0 2,812 K
tasklist.exe 2580 Console 0 4,408 K
wmiprvse.exe 660 Console 0 5,764 K

Z:\>tasklist /?

TASKLIST [/S system [/U username [/P [password]]]]
[/M [module] | /SVC | /V] [/FI filter] [/FO format] [/NH]

Description:
This command line tool displays a list of application(s) and
associated task(s)/process(es) currently running on either a local or
remote system.

Parameter List:
/S system Specifies the remote system to connect to.

/U [domain\]user Specifies the user context under which
the command should execute.

/P [password] Specifies the password for the given
user context. Prompts for input if omitted.

/M [module] Lists all tasks that have DLL modules loaded
in them that match the given pattern name.
If the module name is not specified,
displays all modules loaded by each task.

/SVC Displays services in each process.

/V Specifies that the verbose information
is to be displayed.

/FI filter Displays a set of tasks that match a
given criteria specified by the filter.

/FO format Specifies the output format.
Valid values: "TABLE", "LIST", "CSV".

/NH Specifies that the "Column Header" should
not be displayed in the output.
Valid only for "TABLE" and "CSV" formats.

/? Displays this help/usage.

Filters:
Filter Name Valid Operators Valid Value(s)
----------- --------------- --------------
STATUS eq, ne RUNNING | NOT RESPONDING
IMAGENAME eq, ne Image name
PID eq, ne, gt, lt, ge, le PID value
SESSION eq, ne, gt, lt, ge, le Session number
SESSIONNAME eq, ne Session name
CPUTIME eq, ne, gt, lt, ge, le CPU time in the format
of hh:mm:ss.
hh - hours,
mm - minutes, ss - seconds
MEMUSAGE eq, ne, gt, lt, ge, le Memory usage in KB
USERNAME eq, ne User name in [domain\]user
format
SERVICES eq, ne Service name
WINDOWTITLE eq, ne Window title
MODULES eq, ne DLL name

Examples:
TASKLIST
TASKLIST /M
TASKLIST /V
TASKLIST /SVC
TASKLIST /M wbem*
TASKLIST /S system /FO LIST
TASKLIST /S system /U domain\username /FO CSV /NH
TASKLIST /S system /U username /P password /FO TABLE /NH
TASKLIST /FI "USERNAME ne NT AUTHORITY\SYSTEM" /FI "STATUS eq running"


Z:\>taskkill/?

TASKKILL [/S system [/U username [/P [password]]]]
{ [/FI filter] [/PID processid | /IM imagename] } [/F] [/T]

Description:
This command line tool can be used to end one or more processes.
Processes can be killed by the process id or image name.

Parameter List:
/S system Specifies the remote system to connect to.

/U [domain\]user Specifies the user context under which
the command should execute.

/P [password] Specifies the password for the given
user context. Prompts for input if omitted.

/F Specifies to forcefully terminate
process(es).

/FI filter Displays a set of tasks that match a
given criteria specified by the filter.

/PID process id Specifies the PID of the process that
has to be terminated.

/IM image name Specifies the image name of the process
that has to be terminated. Wildcard '*'
can be used to specify all image names.

/T Tree kill: terminates the specified process
and any child processes which were started by it.

/? Displays this help/usage.

Filters:
Filter Name Valid Operators Valid Value(s)
----------- --------------- --------------
STATUS eq, ne RUNNING | NOT RESPONDING
IMAGENAME eq, ne Image name
PID eq, ne, gt, lt, ge, le PID value
SESSION eq, ne, gt, lt, ge, le Session number.
CPUTIME eq, ne, gt, lt, ge, le CPU time in the format
of hh:mm:ss.
hh - hours,
mm - minutes, ss - seconds
MEMUSAGE eq, ne, gt, lt, ge, le Memory usage in KB
USERNAME eq, ne User name in [domain\]user
format
MODULES eq, ne DLL name
SERVICES eq, ne Service name
WINDOWTITLE eq, ne Window title

NOTE: Wildcard '*' for the /IM switch is accepted only with filters.

NOTE: Termination of remote processes will always be done forcefully
irrespective of whether /F option is specified or not.

Examples:
TASKKILL /S system /F /IM notepad.exe /T
TASKKILL /PID 1230 /PID 1241 /PID 1253 /T
TASKKILL /F /IM notepad.exe /IM mspaint.exe
TASKKILL /F /FI "PID ge 1000" /FI "WINDOWTITLE ne untitle*"
TASKKILL /F /FI "USERNAME eq NT AUTHORITY\SYSTEM" /IM notepad.exe
TASKKILL /S system /U domain\username /FI "USERNAME ne NT*" /IM *
TASKKILL /S system /U username /P password /FI "IMAGENAME eq note*"


Z:\>tasklist /FI "pid eq 1060"

Image Name PID Session Name Session# Mem Usage
========================= ====== ================ ======== ============
Picasa2.exe 1060 Console 0 38,372 K

Z:\>taskkill /PID 3824 /t /f
SUCCESS: The process with PID 3824 child of PID 1340 has been terminated.

Tuesday, May 6, 2008

Computer ergonomy

This is about computer ergonomics that you should be informed about it when us use computer always.

Monday, May 5, 2008

Fun system requirements specification.

Here is a fun MOM about an evaluation and test bank information system requirements specification.
What do you understand about items 1-1-1 to 1-1-4?

Sunday, May 4, 2008

Adobe Acrobat Connect Quick Start

Here is a guide for BIHE students Adobe Acrobat Connect quick start in only 4 steps.
I hope to hear your success story via Adobe Acrobat Connect soon! :-)