Applix 1616 — Applix 1616 User Tutorial: Руководство для начинающих (PDF)

The PS command The inbuilt command PS may be used to display a list of all the current processes from the process table. Some facts and figures which emerge are: PID the process’s ID number, in decimal. PPID the process’s parent process PID. HPID home PID TIME the number of 20 millsecond time slices over which the process has run, converted to minutes and seconds. Status This represents the state of five flags in the process’s process table entry. They are as follows: W Set if the process is waiting (blocked) on another. S Synchronous. A Asynchronous. E Exit pending: process about to depart. B Binary: process memory to be freed on exit. K Killed: someone has killed this process.

Load The load address of the program; actually the call address passed to the schedprep system call when the process was scheduled. Stack The address of the process’s stack area. SP The current value of the process’s stack pointer. PC The value of the process’s program counter when it was last descheduled. I, O, E The handles of the process’s standard input, standard output and standard error streams. The last field is the name of the process. This name may be used when referring to the process, for example, using kill name . The output of this command was altered in Version 4.2a.

The KILL command The inbuilt command kill -aknn may be used to send a terminate (or some other) signal to a background process. The process should then stop. Processes may be identified by their process number (in decimal, not in hex as is usual with 1616/OS inbuiltcommands)or bytheir name,asappears inthelisting fromthe ps command. If there are multiple processes with the same name, only one will be killed. The options are: Multi Tasking User Tutorial Manual Page 59