eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'OSProcessMonitor':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: OSProcessMonitor


Inheritance:

   Object
   |
   +--GraphicsMedium
      |
      +--DisplaySurface
         |
         +--SimpleView
            |
            +--SystemStatusMonitor
               |
               +--OSProcessMonitor

Package:
stx:libtool
Category:
Interface-Tools-Monitors
Version:
rev: 1.64 date: 2024/02/13 11:25:54
user: cg
file: OSProcessMonitor.st directory: libtool
module: stx stc-classLibrary: libtool

Description:


This view shows OS processes started by smalltalk - a debugging tool.

[disclaimer:]
    this is based on one of the oldest tools in the system, written in the early 90's.
    It does in no way reflect the way GUIs are designed/written these days.
    However, after all those years, they are still very very useful (and not found in many other systems)  
    

copyright

COPYRIGHT (c) 2019 by Claus Gittinger All Rights Reserved This software is furnished under a license and may be used only in accordance with the terms of that license and with the inclusion of the above copyright notice. This software may not be provided or otherwise made available to, or used by, any other person. No title to or ownership of the software is hereby transferred.

Class protocol:

defaults
o  defaultLabel

help specs
o  helpSpec
default is: no help-spec (should be redefined by concrete class if help is wanted).

menu specs
o  filterMenu
This resource specification was automatically generated
by the MenuEditor of ST/X.

Usage example(s):

     MenuEditor new openOnClass:OSProcessMonitor andSelector:#filterMenu
     (Menu new fromLiteralArrayEncoding:(OSProcessMonitor filterMenu)) startUp

o  mainMenu
This resource specification was automatically generated
by the MenuEditor of ST/X.

Usage example(s):

     MenuEditor new openOnClass:OSProcessMonitor andSelector:#mainMenu
     (Menu new fromLiteralArrayEncoding:(OSProcessMonitor mainMenu)) startUp

o  operationsMenu
This resource specification was automatically generated
by the MenuEditor of ST/X.

Usage example(s):

     MenuEditor new openOnClass:OSProcessMonitor andSelector:#operationsMenu
     (Menu new fromLiteralArrayEncoding:(OSProcessMonitor operationsMenu)) startUp

o  viewMenu
This resource specification was automatically generated
by the MenuEditor of ST/X.

Usage example(s):

     MenuEditor new openOnClass:OSProcessMonitor andSelector:#viewMenu
     (Menu new fromLiteralArrayEncoding:(OSProcessMonitor viewMenu)) startUp

startup
o  addAdditionalWidgetsTo: aMonitor in: topView
redefined to add a name filter


Instance protocol:

aspects
o  filterLiveProcessesOnlyHolder

o  filteredList

o  filteredList: aCollection

o  infoHolder

o  infoHolder: aValueHolder

o  isMSWindows

o  isNotMSWindows

o  isShowingOSProcesses

o  isShowingSTXProcesses

o  nameFilterHolder

o  rawList

o  rawList: aCollection

o  showFullCommandPath

o  showMemory

o  showNameFilter

o  showSession

o  showTimes

o  showUser

o  showWhichProcesses

o  sortByHolder

o  sortedList

o  sortedList: aList

initialization
o  initialize
(comment from inherited method)
listView toggleSelect:true.

menu
o  selectedProcesses
return all selected processes

o  selectedProcessesDo: aBlock
evaluate aBlock on all selected processes

o  statusMenu
return a popUpMenu

o  viewMenu
replace %1 in the "started by" menu entry by the name of this executable

queries
o  numberOfHeadlines

o  showClock
should the time of day be shown in the headline?

updating
o  enqueueUpdateList

o  fetchListOfProcesses
depending on the choice of showWhich,
return the list of my OS processes,
or a synthetic list, captured via the ps command

o  listUpdateDelay
if showing OS processes, make the interval longer

o  sortedListFrom: list

o  titleLine
0 1 2 3 4 5 6 7

o  updateDelay
if showing OS processes, make the interval longer

o  updateList
update list of processes

o  updateList: refetchRawList
update list of processes

o  updateListWithoutRefetch
update list of processes but do not refetch OS list

o  updateStatus: newList
update status display of processes

user actions
o  debugProcess
open a debugger on the selected process(es)

o  doubleClicked
open an inspector on the selected process

o  filterHolderChanged

o  inspectProcess
open an inspector on the selected process(es)

o  menuKillSelected
kill the selected processes

o  menuKillSelectedGroup
kill the selected processes

o  menuReferences
show references to the selected processes

o  menuResumeSelected
kill the selected processes

o  menuStopSelected
stop the selected processes

o  menuTerminateSelected
terminate the selected processes

o  menuTerminateSelectedGroup
terminate the selected processes

o  openDebuggerOnPid: aProcessId
open a debugger on the selected process(es)

o  showWhichProcessesChanged

o  shownColumnChanged

o  sortByHolderChanged



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Sun, 22 Dec 2024 04:22:31 GMT