ProcessMonitor.st
changeset 7857 5d26e5e6352c
parent 5783 5ce97d85326d
child 12123 4bde08cebd48
child 19061 53b0c3c67e51
equal deleted inserted replaced
7856:2508daf776bd 7857:5d26e5e6352c
     7  inclusion of the above copyright notice.   This software may not
     7  inclusion of the above copyright notice.   This software may not
     8  be provided or otherwise made available to, or used by, any
     8  be provided or otherwise made available to, or used by, any
     9  other person.  No title to or ownership of the software is
     9  other person.  No title to or ownership of the software is
    10  hereby transferred.
    10  hereby transferred.
    11 "
    11 "
    12 
       
    13 "{ Package: 'stx:libtool' }"
    12 "{ Package: 'stx:libtool' }"
    14 
    13 
    15 SystemStatusMonitor subclass:#ProcessMonitor
    14 SystemStatusMonitor subclass:#ProcessMonitor
    16 	instanceVariableNames:'processes hideDead runColor suspendedColor waitColor cpuUsages
    15 	instanceVariableNames:'processes hideDead runColor suspendedColor waitColor cpuUsages
    17 		showDetail'
    16 		showDetail'
    36 "
    35 "
    37 !
    36 !
    38 
    37 
    39 documentation
    38 documentation
    40 "
    39 "
       
    40     >>> This class has been obsoleted by ProcessMonitorV2 <<<
       
    41 
    41     This view shows smalltalks (light-weight) processes, and also offers
    42     This view shows smalltalks (light-weight) processes, and also offers
    42     a popup menu for various useful operations on them.
    43     a popup menu for various useful operations on them.
    43     Especially 'debug' is useful, to see what a process is currently
    44     Especially 'debug' is useful, to see what a process is currently
    44     doing.
    45     doing.
    45 
    46 
    46     The information shown is:
    47     The information shown is:
    47 	id         - the numeric id of the process
    48         id         - the numeric id of the process
    48 	name       - the name (if any) of the process
    49         name       - the name (if any) of the process
    49 		     (the name has no semantic meaning; it exists for the processMonitor only)
    50                      (the name has no semantic meaning; it exists for the processMonitor only)
    50 	state      - what is it doing;
    51         state      - what is it doing;
    51 			wait      - waiting on a semaphore
    52                         wait      - waiting on a semaphore
    52 			eventWait - waiting on a view-event semaphore
    53                         eventWait - waiting on a view-event semaphore
    53 			ioWait    - waiting on an io-semaphore
    54                         ioWait    - waiting on an io-semaphore
    54 			timeWait  - waiting for a time-semaphore
    55                         timeWait  - waiting for a time-semaphore
    55 			run       - run, but currently not scheduled
    56                         run       - run, but currently not scheduled
    56 			active    - really running (this info is useless, since at
    57                         active    - really running (this info is useless, since at
    57 				    update time, its always the update process which is
    58                                     update time, its always the update process which is
    58 				    running)
    59                                     running)
    59 			suspended - suspended; not waiting on a semaphore
    60                         suspended - suspended; not waiting on a semaphore
    60 			light     - not yet started (i.e. has no stack yet)
    61                         light     - not yet started (i.e. has no stack yet)
    61         
    62         
    62 	prio       - the processes priority (1..30)
    63         prio       - the processes priority (1..30)
    63 	usedStack  - the current stack use
    64         usedStack  - the current stack use
    64 	totalStack - the stack currently allocated (i.e. the maximum ever needed)
    65         totalStack - the stack currently allocated (i.e. the maximum ever needed)
    65 
    66 
    66     [see also:]
    67     [see also:]
    67 	Process ProcessorScheduler
    68         Process ProcessorScheduler
    68 	WindowGroup
    69         WindowGroup
    69 	SemaphoreMonitor
    70         SemaphoreMonitor
    70 
    71 
    71     [author:]
    72     [author:]
    72 	Claus Gittinger
    73         Claus Gittinger
    73 
    74 
    74     [start with:]
    75     [start with:]
    75 	ProcessMonitor open
    76         ProcessMonitor open
    76 "
    77 "
    77 ! !
    78 ! !
    78 
    79 
    79 !ProcessMonitor class methodsFor:'defaults'!
    80 !ProcessMonitor class methodsFor:'defaults'!
    80 
    81 
   774 ! !
   775 ! !
   775 
   776 
   776 !ProcessMonitor class methodsFor:'documentation'!
   777 !ProcessMonitor class methodsFor:'documentation'!
   777 
   778 
   778 version
   779 version
   779     ^ '$Header: /cvs/stx/stx/libtool/ProcessMonitor.st,v 1.83 2004-03-20 19:28:23 stefan Exp $'
   780     ^ '$Header: /cvs/stx/stx/libtool/ProcessMonitor.st,v 1.84 2007-10-05 09:53:00 cg Exp $'
   780 ! !
   781 ! !