当前位置:网站首页>远程服务器后台挂起 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后台挂起的程序就关闭了
边栏推荐
猜你喜欢

C language to realize mine sweeping

Puzzle (016.3) is inextricably linked

The latest M1 dedicated Au update Adobe audit CC 2021 Chinese direct installation version has solved the problems of M1 installation without flash back!

表单文本框的使用(一) 选择文本

Dllexport and dllimport

分布式事务(Seata) 四大模式详解

Bibit pharmaceutical rushed to the scientific innovation board: annual revenue of 970000, loss of 137million, proposed to raise 2billion

Zzuli:1053 sine function

Tailing rushes to the scientific and Technological Innovation Board: it plans to raise 1.3 billion, and Xiaomi Changjiang is the shareholder

Adc128s022 ADC Verilog design and Implementation
随机推荐
Sub GHz wireless solution Z-Wave 800 Series zg23 SOC and zgm230s modules
Zzuli:1058 solving inequalities
7-3 rental (20 points)
tonybot 人形机器人 查看端口并对应端口 0701
Showmebug entered Tencent conference, opening the era of professional technical interview
Zzuli:1046 product of odd numbers
Puzzle (016.4) domino effect
puzzle(016.3)千丝万缕
Zhejiang University Edition "C language programming (4th Edition)" topic set reference ideas set
提高效率 Or 增加成本,开发人员应如何理解结对编程?
洛谷P5194 [USACO05DEC]Scales S 题解
Happy capital new dual currency fund nearly 4billion yuan completed its first account closing
牛客 BM83 字符串变形(大小写转换,字符串反转,字符串替换)
亚马逊、速卖通、Lazada、Shopee、eBay、wish、沃尔玛、阿里国际、美客多等跨境电商平台,测评自养号该如何利用产品上新期抓住流量?
C language DUP function
ShowMeBug入驻腾讯会议,开启专业级技术面试时代
Zzuli:1041 sum of sequence 2
Solr series of full-text search engines - basic principles of full-text search
Zzuli:1049 square sum and cubic sum
ConstraintLayout 的使用