Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ipfs*/
Binary file added submitions/lab5/1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added submitions/lab5/2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added submitions/lab5/3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added submitions/lab5/4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added submitions/lab5/5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added submitions/lab5/6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added submitions/lab5/7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
43 changes: 43 additions & 0 deletions submitions/lab5/submition5.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Lab5

## Task 1

1. install htop and iostat (cause who needs it by default in their linux :))

```nix
# configuration.nix
environment.systemPackages = with pkgs; [
...
# lab5
htop
sysstat
];
```
- by the way there are nice graphs for personal linux :) (swap was never configured, that is why in mem usage second graph shows nan)

![alt text](2.png) ![alt text](3.png) ![alt text](4.png)

2. `htop` ![alt text](1.png)
- sort with "f6"
- top CPU utilisation: wayland, htop, chrome
- top MEM utilization: chrome, plasma, vscode (a lot of processe for each app)
- top IO utilisation: chrome, vscode (none of other apps used IO at all in a minute)
3. `iostat`

![alt text](5.png)

4. `df`

![alt text](6.png)

5. `du`

![alt text](7.png)

- top 3 most havy directories in `/var`: docker, journal, sddm
- Im not going deeper then 2, and I did not found sort flag in `du` so thats it)
- note from expiriance: `du` prove quite useful to locate useless files in a system when I had to free some space

## Task 2

1. All the staff related to terraform could be found [here](./terraform/terraform.md)
10 changes: 10 additions & 0 deletions submitions/lab5/terraform/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading