eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'AbstractOperatingSystem::ProcessStatusInfo':

Home

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

Class: ProcessStatusInfo (private in AbstractOperatingSystem

This class is only visible from within AbstractOperatingSystem.

Inheritance:

   Object
   |
   +--AbstractOperatingSystem::ProcessStatusInfo

Package:
stx:libbasic
Category:
System-Support
Owner:
AbstractOperatingSystem

Description:


instances of me are returned when asking for the taskList.
The tasklist is retrieved from the taskList or ps command and
represents the list of running processes
(not STX threads and not only the one's started by st/x)


Class protocol:

instance creation
o  executableName: executableNameArg processID: processIDArg sessionName: sessionNameArg

o  executableName: executableNameArg processID: processIDArg userName: userNameArg


Instance protocol:

OS process protocol
o  baseCommandString
the base command (without dir-path);
to make me protocol compatible with OSProcess

o  commandString
to make me protocol compatible with OSProcess

o  exitStatus
to make me protocol compatible with OSProcess

o  isAlive
to make me protocol compatible with OSProcess

o  kill

o  killGroup

o  numericPid
to make me protocol compatible with OSProcess

o  pid
to make me protocol compatible with OSProcess

o  terminate

o  terminateGroup

accessing
o  cpuPercent

o  cpuPercent: something

o  cpuPercent: cpuPercentArg memPercent: memPercentArg

o  cpuTime

o  cpuTime: cpuTimeArg

o  cpuTime: cpuTimeArg cpuPercent: cpuPercentArg

o  cpuTimeAsTimeDuration
format is mmm:ss.ms

o  executableName

o  executableName: executableNameArg

o  executableName: executableNameArg processID: processIDArg sessionName: sessionNameArg

o  executableName: executableNameArg processID: processIDArg userName: userNameArg

o  memPercent

o  memPercent: something

o  processID

o  processID: processIDArg

o  realMem

o  realMem: nBytes

o  sessionName

o  sessionName: sessionNameArg

o  status

o  status: statusString

o  userName

o  userName: aString

o  virtualMem

o  virtualMem: numBytes

o  virtualMem: virtualMemArg realMem: realMemArg cpuTime: cpuTimeArg

o  virtualMem: virtualMemArg realMem: realMemArg memPercent: memPercentArg

o  windowTitle

o  windowTitle: aString

printing & storing
o  printOn: aStream
(comment from inherited method)
append a user printed representation of the receiver to aStream.
The format is suitable for a human - not meant to be read back.

The default here is to output the receiver's class name.
BUT: this method is heavily redefined for objects which
can print prettier.



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Sun, 08 Sep 2024 02:27:44 GMT