Lab I O 2 Linux - echadbourne/ChadbourneSYS-140 GitHub Wiki

Summary:

  • In this lab we used various commands to look at and examine various I/O (inputs and outputs) on a Ubuntu Linux virtual machine. We looked at an IO monitoring program, statistics from IO monitoring, RAM IO, and IO latency in disks (commands below).

Useful Commands (Linux):

  • sudo apt install [program] - Installs the given program (ex sudo apt install htop iotop)
  • iotop - Runs the iotop monitoring program
  • iostat - Runs and gathers IO monitoring statistics
  • ioping -c 12 . - Tests hard drive I/O performance from current directory 12 times
  • sysbench --test=memory --memory-block-size=1M --memory-total-size=10G run - Tests memory latency, gives a bunch of useful results

Problems:

  • None encountered

Other:

How might each test might help troubleshoot system performance?

  • You can use each test to determine where a problem is in the system, as each test focuses on a different part of the computer, like disk latency (or if a disk is "I/O Bound") or problems in memory.