Differences

This shows you the differences between two versions of the page.

Link to this comparison view

ep:labs:03:contents:tasks:ex3 [2020/08/03 16:38]
cristian.marin0805
ep:labs:03:contents:tasks:ex3 [2020/08/04 20:43] (current)
gheorghe.petre2608 [03. [10p] Iotop]
Line 1: Line 1:
 ==== 03. [10p] Iotop ==== ==== 03. [10p] Iotop ====
- +<note tip>
-=== Good to know === +
 **Iotop** is an utility similar to top command, that interfaces with the kernel to provide per-thread/​process I/O usage statistics. **Iotop** is an utility similar to top command, that interfaces with the kernel to provide per-thread/​process I/O usage statistics.
  
Line 29: Line 27:
 | -t, --time | add a timestamp on each line (implies –batch) || | -t, --time | add a timestamp on each line (implies –batch) ||
 | -q, --quiet | suppress some lines of header (implies –batch) || | -q, --quiet | suppress some lines of header (implies –batch) ||
 +</​note>​
  
-=== Monitoring the behaviour === +=== [10p] Task A - Monitoring the behaviour ===
- +
-Datafile: {{:​ep:​laboratoare:​dummy.sh|dummy.sh}}.+
  
   * Run iotop (install it if you do not already have it) in a separate shell showing only processes or threads actually doing I/O.   * Run iotop (install it if you do not already have it) in a separate shell showing only processes or threads actually doing I/O.
-  * Inspect the script code (**dummy.sh**) to see what it does.+  * Inspect the script code ({{:​ep:​laboratoare:​dummy.sh|dummy.sh}}) to see what it does.
   * Monitor the behaviour of the system with iotop while running the script.   * Monitor the behaviour of the system with iotop while running the script.
   * Identify the PID and PPID of the process running the dummy script and kill the process using command line from another shell (sending SIGINT signal to both parent & child processes).   * Identify the PID and PPID of the process running the dummy script and kill the process using command line from another shell (sending SIGINT signal to both parent & child processes).
ep/labs/03/contents/tasks/ex3.txt · Last modified: 2020/08/04 20:43 by gheorghe.petre2608
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0