当前位置:网站首页>远程服务器后台挂起 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后台挂起的程序就关闭了
边栏推荐
- Time conversion ()
- Timecho of Tianmou technology completed an angel round financing of nearly 100 million yuan to create a native timing database of the industrial Internet of things
- 牛客 BM83 字符串变形(大小写转换,字符串反转,字符串替换)
- Sword finger offer 28 Symmetric binary tree
- Output student grades
- 动态获取权限
- 天谋科技 Timecho 完成近亿元人民币天使轮融资,打造工业物联网原生时序数据库
- Pyqt interface production (login + jump page)
- Protobuf and grpc
- 556. The next larger element III: simple construction simulation questions
猜你喜欢
Happy capital new dual currency fund nearly 4billion yuan completed its first account closing
Qt development - scrolling digital selector commonly used in embedded system
论文分享:Generating Playful Palettes from Images
Luogu p5018 [noip2018 popularization group] symmetric binary tree problem solution
Sub GHz wireless solution Z-Wave 800 Series zg23 SOC and zgm230s modules
Sword finger offer 28 Symmetric binary tree
Showmebug entered Tencent conference, opening the era of professional technical interview
pyQt界面制作(登录+跳转页面)
The picture quality has been improved! LR enhancement details_ Lightroom turns on AI photo detail enhancement: picture clarity increases by 30%
Puzzle (016.3) is inextricably linked
随机推荐
retrofit
Zzuli:1049 square sum and cubic sum
C language to implement a password manager (under update)
Why is this error reported when modifying records in the database
retrofit
牛客 BM83 字符串變形(大小寫轉換,字符串反轉,字符串替換)
Luogu p5018 [noip2018 popularization group] symmetric binary tree problem solution
Zzuli:1040 sum of sequence 1
Understand the application scenario and implementation mechanism of differential segment
Output student grades
China PETG market forecast and Strategic Research Report (2022 Edition)
亚马逊、速卖通、Lazada、Shopee、eBay、wish、沃尔玛、阿里国际、美客多等跨境电商平台,测评自养号该如何利用产品上新期抓住流量?
ConstraintLayout 的使用
Table of mathematical constants by q779
Special research report on the market of lithium battery electrolyte industry in China (2022 Edition)
[combinatorics] permutation and combination (set combination, one-to-one correspondence model analysis example)
7-9 one way in, two ways out (25 points)
7-10 stack of hats (25 points) (C language solution)
Convert string to decimal integer
Add ZABBIX calculation type itemcalculated items