Week 6 & 7 - Processes, Runtime Memory & Jumps Flashcards
What is POSIX?
Portable Operating System Interface, made by the IEEE Computer Society; 1998
Who was the UNIX certification done by?
The Open Group; 1995
What are the two officially certified Linux OS’s?
Inspur K-UX and EulerOS
What form the de facto standards for Linux?
Red Hat Linux and Ubuntu
What does POSIX enable developers to do?
Write portable applications as is a family of related standards for maintaining compatibility between variants of UNIX and other OS’s
What does POSIX define?
Application programming interface (API)
Command line shells
Utility interfaces
What fundamental services needed for applications does POSIX describe?
An interface, written in C
A command interpreter (the shell)
Common utility programs
Standard semantics and syntax
When and why was The Open Group established?
In 1995 to create a single UNIX specification to ensure compatibility across platforms
Who are the platinum members of The Open Group?
Capgemini
Hewlett Packard (HP) Enterprise
Huawei Technologies
IBM
Oracle Corporation
Philips
What are the fully certified varieties of UNIX?
Oracle: Solaris
Hewlett Packard: HP-UX
IBM: AIX
Apple: MacOS X, version 10.5 onwards
Inspur: K-UX
Huawei: Euler OS
What are “mostly compliant” varieties of UNIX?
Most Linux distributions
Android
Cygwin
What are the three layers/elements of UNIX (not including hardware)?
Kernel, shell and programs
What is everything in UNIX categorised in to?
A file (passive, e.g. program code) or a process (active, e.g. a running program)
What does each process have?
A unique PID
Exactly one parent (apart from the system swapper)
Zero or more children
What does PID stand for?
Process IDentifier
What does the system swapper do?
It is the ancestor of every process, and is part of the Linux kernel. It has PID 0 (init or systemd with PID 1 on Linux)
When is a child created (“spawned”) in UNIX?
When the system fork command is called
What does the UNIX command ‘ps’ do? Include common flag details.
Process snapshot - shows a snapshot of all processes from the same terminal. -f shows full details, -e selects all processes, -i means ignore case, -H shows process hierarchy
What does the UNIX command ‘top’ do?
Real-time list of processes
What does the UNIX command ‘&’ do?
Run processes in the background
What does the UNIX command ‘jobs’ do?
List of the background child processes of current processes