Differences

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

Link to this comparison view

ep:labs:04:contents:tasks:ex3 [2025/03/24 22:08]
silvia.dragan [03. [30p] Kernel Samepage Merging]
ep:labs:04:contents:tasks:ex3 [2026/03/24 11:36] (current)
radu.mantu
Line 61: Line 61:
  
 === [10p] Task C - Plot results === === [10p] Task C - Plot results ===
-Now that you’ve observed the effects of KSM using vmstat, it’s time to visualize them. Generate ​a real-time plot that shows free memory, used memory, and memory used as a buffer over time, based on the freemem column from the output of the vmstat command. ​The plot should dynamically adjust the axis ranges based on the data. The x-axis should represent time, and the y-axis should represent the amount of free memory. The plot should update in real-time as new data is collected. +Now that you’ve observed the effects of KSM using vmstat, it’s time to visualize them. Solve the TODOs from plot.py from skeleton to generate ​a real-time plot that shows free memory, used memory, and memory used as a buffer over time, based on the freemem column from the output of the vmstat command.
- +
  
 +<note tip>
 +**Troubleshooting**
 +-----
 +If you get something resembling ''​Could not load the Qt platform plugin "​xcb"​ in ""​ even though it was found.''​ on either WSL or certain Linux environments (e.g., having Hyprland as a Wayland compositor),​ check out
 +[[https://​blinq.hashnode.dev/​fixing-xcb-load-failures-in-pyqt5-on-windows-subsystem-for-linux-wsl|this post]].
 +</​note>​
ep/labs/04/contents/tasks/ex3.1742846882.txt.gz · Last modified: 2025/03/24 22:08 by silvia.dragan
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