Difference between revisions of "Introduction to Linux in HPC/Processes"

From HPC Wiki
Introduction to Linux in HPC/Processes
Jump to navigation Jump to search
m (Tweak page sorting)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:Tutorials]]<nowiki />
+
[[Category:Tutorials|Processes (Linux)]]<nowiki />
{{DISPLAYTITLE:<span style="position:absolute; top:-9999px;">Introduction to Linux in HPC/</span>Processes}}<nowiki />
+
{{DISPLAYTITLE:Processes}}<nowiki />
 
{{Syllabus Introduction to Linux}}<nowiki />
 
{{Syllabus Introduction to Linux}}<nowiki />
 
__TOC__
 
__TOC__
Line 43: Line 43:
 
- Explicitly at startup by parameters.
 
- Explicitly at startup by parameters.
 
|| Explanation: Wrong.
 
|| Explanation: Wrong.
 +
</quiz>
 +
{{hidden end}}
 +
 +
{{hidden begin
 +
|title = Assign the commands their correct meaning
 +
}}
 +
<quiz display="simple">
 +
{
 +
| typ="()" }
 +
| pstree | top | fg/bg
 +
+-- ... overview of running processes and sub-processes
 +
--+ ... sending processes to foreground/background
 +
-+- ... text-based task manager
 
</quiz>
 
</quiz>
 
{{hidden end}}
 
{{hidden end}}

Latest revision as of 17:23, 4 December 2020

Tutorial
Title: Introduction to Linux in HPC
Provider: HPC.NRW

Contact: tutorials@hpc.nrw
Type: Multi-part video
Topic Area: HPC Platforms
License: CC-BY-SA
Syllabus

1. Background and History
2. The Command Line
3. Linux Directory Structure
4. Files
5. Text display and search
6. Users and permissions
7. Processes
8. The vim text editor
9. Shell scripting
10. Environment variables
11. System configuration
12. SSH Connections
13. SSH: Graphics and File Transfer
14. Various tips

This tutorial covers the basic principles and treatments of processes in the multi-user operating system Linux. It will explain the viewing (and killing) of processes with a text-based process manager and the execution of processes in background/foreground.

Video

( Slides as pdf)


Quiz

What does PID stand for?

Packet Identifier
Process Identifier
Protocol Identifocation

How are the permissions of a process set?

By inheritance of owner's permissions.
Manually by user
Explicitly at startup by parameters.

Assign the commands their correct meaning

pstree top fg/bg
... overview of running processes and sub-processes
... sending processes to foreground/background
... text-based task manager

Exercises in Terminal

1. Start a process, bring it into background/foreground.
2. Start the task manager and identify the process with the largest memory usage.
3. Start the task manager and filter processes of your user account.
4. Start a process (e.g. sleep 10m) and kill it from a second console.


<< Users and Permissions

Overview

The vim Text Editor >>