Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

cdf(4)

getcontext(2)

getcontext(1)

CONTEXT(5)  —  HP-UX

Series 300 Diskless Only

NAME

context − process context

DESCRIPTION

The context is a set of character strings associated with each process.  Each string corresponds to a characteristic of the machine the process is running on.  The strings included in the context of every process include:

cnode name

types of executable files that can be run by the hardware

type of cnode (“localroot” or “remoteroot”)

the string “default”

The process context is used to access context dependent files (see cdf(4)).

The following strings in the context indicate the ability to run executable code for the designated hardware.  When more than one appear in the same context, they will appear in the order listed. 

HP98248A
HP-MC68881
HP98635A
HP-MC68020
HP-MC68010

Note that presence of a string does not mean that the designated hardware itself is present.  For example, since the MC68020 processor supports a superset of the MC68010 instruction set, processes running on a system with an MC68020 processor will have “HP-MC68010” in their context, as well as “HP-MC68020”.  The string “HP-MC68010” is present on all series 300 systems. 

EXAMPLE

A process running on an HP9000 model 350 workstation, with cnode name “william” could have the following strings in its context:

william
remoteroot
HP-MC68881
HP-MC68020
HP-MC68010
default

Note that this hardware is capable of running executables with the instruction sets for the MC68881, MC68020, and the MC68010.  Every process’s context ends with the string “default”.  Also note that the system call getcontext(2) and the command getcontext(1) will show the context as a single string:

“william remoteroot HP-MC68881 HP-MC68020 HP-MC68010 default”

WARNINGS

Unless an order is specified, users and applications should not depend on the order of strings within the context.  However, “default” is always the last string.  Other aspects of this order may vary between releases. 

SEE ALSO

cdf(4), getcontext(2), getcontext(1). 

AUTHOR

Context was developed by HP. 

Hewlett-Packard Company  —  May 11, 2021

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026