-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add remote server usage content #31
base: master
Are you sure you want to change the base?
Conversation
dc8c56e
to
5225340
Compare
5225340
to
5416097
Compare
5416097
to
cf7c097
Compare
Published at http://sergiu121.github.io/refs/pull/31/merge |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Îmi place. E to the point.
chapters/task-admin/usage.rst
Outdated
|
||
Detașarea de la o sesiune tmux | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
Dacă avem o aplicație care rulează mult timp, cum ar fi un ``find``, și conexiunea SSH se întrerupe, se va întrerupe și execuția comenzii ``find``. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/un find/o căutare intensă în sistemul de fișiere folosind updatedb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
de fapt, nu se va întrerupe
se va daemoniza automat; moare conexiunea, moare terminalul, procesul părinte moare (shellul), e adoptat de init
se întrerupe doar o comandă interactivă (care așteaptă input)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Eu știu altfel. Moare indiferent de tipul comenzii.
Experiment:
tab 1: find / -name test
tab 2: ps -ef | grep student@pts/[0] |tr -s " " | cut -d" " -f 2 | xargs kill; ps aux | grep find
Cu toate că find mai are de rulat (la mine nu merge așa de repede), el moare.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Încearcă prin SSH. Pornește un client bittorrent. Și închide terminalul (NU shellul), adică simulează o întrerupere de rețea. Sau, mai simplu, pornește sleep 1000000
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Am făcut cum ai zis tu, doar că nu am pornit un sleep ci un updatedb
. Am închis terminalul, am verificat dacă updatedb
rula pe VM și nu mai rula.
Published at http://sergiu121.github.io/refs/pull/31/merge |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Am adăugat o nouă recenzie. Arată bine.
Published at http://sergiu121.github.io/refs/pull/31/merge |
c481aec
to
cf63611
Compare
Published at http://sergiu121.github.io/refs/pull/31/merge |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Am adăugat o nouă recenzie.
chapters/task-admin/usage.rst
Outdated
|
||
Scenarii de folosire a sistemului la distanță | ||
--------------------------------------------- | ||
|
||
Vom folosi această subsecțiune ca un tutorial pentru a exemplifica un workflow pentru lucrul la distanță. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nu apare nimic aici. Vrei să adaugi ceva?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Da, după laborator.
Add section detailing the use of `tmux` to run commands on the remote workstation. Signed-off-by: Sergiu Weisz <sergiu121@gmail.com> Co-authored-by: Razvan Deaconescu <razvan.deaconescu@upb.ro> Signed-off-by: Razvan Deaconescu <razvan.deaconescu@upb.ro>
ddf681b
to
65807ae
Compare
No description provided.