module Process
The module contains several groups of functionality for handling OS processes:
-
Low-level property introspection and management of the current process, like
Process.argv0,Process.pid; -
Low-level introspection of other processes, like
Process.getpgid,Process.getpriority; -
Management of the current process:
Process.abort,Process.exit,Process.daemon, etc. (for convenience, most of those are also available as global functions and module functions ofKernel); -
Creation and management of child processes:
Process.fork,Process.spawn, and related methods; -
Management of low-level system clock:
Process.timesandProcess.clock_gettime, which could be important for proper benchmarking and other elapsed time measurement tasks.
Constants
- CLOCK_BOOTTIME
- CLOCK_BOOTTIME_ALARM
- CLOCK_MONOTONIC
- CLOCK_MONOTONIC_COARSE
- CLOCK_MONOTONIC_FAST
- CLOCK_MONOTONIC_PRECISE
- CLOCK_MONOTONIC_RAW
- CLOCK_MONOTONIC_RAW_APPROX
- CLOCK_PROCESS_CPUTIME_ID
- CLOCK_PROF
- CLOCK_REALTIME
- CLOCK_REALTIME_ALARM
- CLOCK_REALTIME_COARSE
- CLOCK_REALTIME_FAST
- CLOCK_REALTIME_PRECISE
- CLOCK_SECOND
- CLOCK_TAI
- CLOCK_THREAD_CPUTIME_ID
- CLOCK_UPTIME
- CLOCK_UPTIME_FAST
- CLOCK_UPTIME_PRECISE
- CLOCK_UPTIME_RAW
- CLOCK_UPTIME_RAW_APPROX
- CLOCK_VIRTUAL
- PRIO_PGRP
- PRIO_PROCESS
- PRIO_USER
- RLIMIT_AS
Maximum size of the process’s virtual memory (address space) in bytes.
see the system getrlimit(2) manual for details.
- RLIMIT_CORE
Maximum size of the core file.
see the system getrlimit(2) manual for details.