From 71c8573f1e157310f3549113a18a2b82c1bec066 Mon Sep 17 00:00:00 2001 From: Lingyu Li <64261429+LingyuLi-math@users.noreply.github.com> Date: Mon, 11 Sep 2023 16:48:04 +0800 Subject: [PATCH 1/4] Update screen commands in computing_tips.md --- computing_tips.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/computing_tips.md b/computing_tips.md index 475dbe6..c439c16 100644 --- a/computing_tips.md +++ b/computing_tips.md @@ -1,7 +1,13 @@ -# Computing tips +![image](https://github.com/StatBiomed/sbms-server/assets/64261429/a984007d-24e6-42d5-9e85-a4601abe46bc)# Computing tips ## Running jobs in the background * Running jobs in the background with `screen`. [Anyone add some links or texts?] +* `screen -S sessionname`, Creates a session named sessionname (sessionname is defined by yourself) +* `screen jupyter notebook`, Copy the link and open Jupyter Notebook on the browser (the same as `screen jupyter lab`) +* `Ctrl + a + d`, Temporarily leave the current session, throw the current screen session to the background for execution, and return to the state before entering the screen. At this time, in the screen session, the process running in each window continues to execute, even if the logout does not affect +* `screen -ls`, Display all current screen jobs +* `screen -r sessionname`, Recover off-line screen job +* `kill sessionnumber`, Exits the current screen window and ends the current screen window (Note: must be sessionnumber, not sessionname) ## IDE: PyCharm, VS Code, and Jupyter lab From 6449b97714d4b93d323d26a654f27350a4559724 Mon Sep 17 00:00:00 2001 From: Lingyu Li <64261429+LingyuLi-math@users.noreply.github.com> Date: Mon, 11 Sep 2023 16:54:19 +0800 Subject: [PATCH 2/4] Update computing_tips.md --- computing_tips.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/computing_tips.md b/computing_tips.md index c439c16..f04b6f2 100644 --- a/computing_tips.md +++ b/computing_tips.md @@ -7,7 +7,7 @@ * `Ctrl + a + d`, Temporarily leave the current session, throw the current screen session to the background for execution, and return to the state before entering the screen. At this time, in the screen session, the process running in each window continues to execute, even if the logout does not affect * `screen -ls`, Display all current screen jobs * `screen -r sessionname`, Recover off-line screen job -* `kill sessionnumber`, Exits the current screen window and ends the current screen window (Note: must be sessionnumber, not sessionname) +* `kill sessionnumber`, Exits the current screen window and ends the current screen window ## IDE: PyCharm, VS Code, and Jupyter lab From d66ae6c5065dc7bd4c19dda007e8eef6642cd3e2 Mon Sep 17 00:00:00 2001 From: Lingyu Li <64261429+LingyuLi-math@users.noreply.github.com> Date: Mon, 11 Sep 2023 16:54:39 +0800 Subject: [PATCH 3/4] Update computing_tips.md --- computing_tips.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/computing_tips.md b/computing_tips.md index f04b6f2..7f8017c 100644 --- a/computing_tips.md +++ b/computing_tips.md @@ -1,5 +1,3 @@ -![image](https://github.com/StatBiomed/sbms-server/assets/64261429/a984007d-24e6-42d5-9e85-a4601abe46bc)# Computing tips - ## Running jobs in the background * Running jobs in the background with `screen`. [Anyone add some links or texts?] * `screen -S sessionname`, Creates a session named sessionname (sessionname is defined by yourself) From 950b9b808ff799a80c6af8afbda194a6df2c9550 Mon Sep 17 00:00:00 2001 From: Lingyu Li <64261429+LingyuLi-math@users.noreply.github.com> Date: Mon, 11 Sep 2023 16:57:33 +0800 Subject: [PATCH 4/4] Update computing_tips.md --- computing_tips.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/computing_tips.md b/computing_tips.md index 7f8017c..0ac2568 100644 --- a/computing_tips.md +++ b/computing_tips.md @@ -1,3 +1,5 @@ +# Computing tips + ## Running jobs in the background * Running jobs in the background with `screen`. [Anyone add some links or texts?] * `screen -S sessionname`, Creates a session named sessionname (sessionname is defined by yourself)