Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Workload Manager (WLM) z/OS UNIX System Services Planning GA32-0884-00 |
|
The workload manager is a component of z/OS® that provides the ability to manage multiple workloads at the same time within one z/OS image or across multiple images. When using WLM, you do not need to do any tuning or issue any commands. The kernel uses WLM to create child processes while running in goal mode. When programs issue fork() or spawn(), the BPXAS PROC found in
SYS1.PROCLIB is used to provide a new address space. For a fork(),
the system copies one process, called the parent process, into
a new process, called the child process. The forked address
space is provided by WLM. Figure 1 shows
how a fork() creates a new process.
Figure 1. How fork() creates a new process
Existing MVS™ address space types such as TSO, STC, Batch, and APPC can request z/OS UNIX services. When one of those address spaces makes its first request to the z/OS kernel, the kernel dubs the task; that is, it identifies the task as a z/OS UNIX process. There are two types of processes: user processes, which are associated with a user, and daemon processes, which perform continuous or periodic system-wide functions such as a Web server. Daemons are programs that are typically started when the operating
system is initialized and remain active to perform standard services.
Some programs are considered daemons that initialize processes for
users even though these daemons are not long-running processes. Examples
of daemons are:
A process can have one or more threads; a thread is a single flow of control within a process. Application programmers create multiple threads to structure an application in independent sections that can run in parallel for more efficient use of system resources. For more information about threads, refer to the pthread_create service (BPXB1PTC) in z/OS UNIX System Services Programming: Assembler Callable Services Reference. |
Copyright IBM Corporation 1990, 2014
|