当前位置:网站首页>远程服务器后台挂起 nohup
远程服务器后台挂起 nohup
2022-07-03 14:43:00 【swust_fang】
nohup python xxx.py 即可
程序运行输出的结果自动输出到nohup.out里边了,就算关了xshell或者MobaXterm程序也不会中断。
但是关闭程序必须使用kill -9 进程号
ps -ef |grep python 查看进程号
或者 nvidia-smi 查看

我在3这块gpu上运行的,如图进程号就是1039758
kill -9 1039758后台挂起的程序就关闭了
边栏推荐
- ZABBIX saves the page blank after adding calculated items
- Bibit pharmaceutical rushed to the scientific innovation board: annual revenue of 970000, loss of 137million, proposed to raise 2billion
- Rasterization: a practical implementation (2)
- Optical cat super account password and broadband account password acquisition
- Paper sharing: generating playful palettes from images
- Qt development - scrolling digital selector commonly used in embedded system
- Puzzle (016.4) domino effect
- 基因家族特征分析 - 染色体定位分析
- Bucket sorting in C language
- Protobuf and grpc
猜你喜欢

Use of form text box (I) select text

【北大青鸟昌平校区】互联网行业中,哪些岗位越老越吃香?

puzzle(016.4)多米诺效应

tonybot 人形机器人 查看端口并对应端口 0701

Four data flows and cases of grpc

Why is this error reported when modifying records in the database

Creation of data table of Doris' learning notes
![[qingniaochangping campus of Peking University] in the Internet industry, which positions are more popular as they get older?](/img/f6/fe61c84f289f0e74a45946dac687a6.jpg)
[qingniaochangping campus of Peking University] in the Internet industry, which positions are more popular as they get older?

X86 assembly language - Notes from real mode to protected mode

puzzle(016.3)千丝万缕
随机推荐
Time conversion ()
String sort
556. 下一个更大元素 III : 简单构造模拟题
Ultra simple mobile map development
DDK for XP
Luogu p4047 [jsoi2010] tribal division solution
How to query the baby category of tmall on Taobao
Rasterization: a practical implementation (2)
Zzuli:1045 numerical statistics
J-luggage lock of ICPC Shenyang station in 2021 regional games (simple code)
Detailed explanation of four modes of distributed transaction (Seata)
牛客 BM83 字符串變形(大小寫轉換,字符串反轉,字符串替換)
Paper sharing: generating playful palettes from images
Output student grades
tonybot 人形機器人 紅外遙控玩法 0630
NOI OPENJUDGE 1.5(23)
Tonybot humanoid robot checks the port and corresponds to port 0701
US stock listing of polar: how can the delivery of 55000 units support the valuation of more than 20billion US dollars
NOI OPENJUDGE 1.3(06)
Find the sum of the elements of each row of the matrix