This shows you the differences between two versions of the page.
|
scgc:laboratoare:04 [2021/10/20 17:55] maria.mihailescu |
scgc:laboratoare:04 [2021/10/20 19:09] (current) alexandru.carp [4. [LXC] Process hierarchy] |
||
|---|---|---|---|
| Line 24: | Line 24: | ||
| * In order to connect to each of the machines, use the following command (substitute X with 1, 2): | * In order to connect to each of the machines, use the following command (substitute X with 1, 2): | ||
| <code bash> | <code bash> | ||
| - | student@scgc:~/scgc$ ssh student@10.0.0.1 | + | student@scgc:~/scgc$ ssh student@10.0.0.X |
| </code> | </code> | ||
| * The password for both ''student'' and ''root'' users is ''student'' | * The password for both ''student'' and ''root'' users is ''student'' | ||
| Line 222: | Line 222: | ||
| <code bash> | <code bash> | ||
| # Install pstree | # Install pstree | ||
| + | root@vm-1:~# apt update | ||
| root@vm-1:~# apt install psmisc | root@vm-1:~# apt install psmisc | ||
| root@vm-1:~# pstree --ascii -s -c -p 1977 | root@vm-1:~# pstree --ascii -s -c -p 1977 | ||