由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Linux版 - Urgent help please! background process killed.
相关主题
高人帮我看看一个简单的script,为什么nohup有问题?stdout/stderr redirect
问个后台运行的问题新手求助: 如何access上一次SSH Session里运行的Console app
screen是干啥的一个关于command line 运行程序的问题
请问mpirun怎么放在后台运行?发包子 echo 求助
我的home serverlinux进程stopped和terminated有什么区别?
请问Ctrl+Z把任务suspended之后The command line is powerful, but the UI can be more efficient!
&! 什么意思?如何在重启后恢复terminal
请教个简单命令问题why terminal is not like an editor?
相关话题的讨论汇总
话题: sas话题: process话题: urgent话题: killed话题: background
进入Linux版参与讨论
1 (共1页)
c**********e
发帖数: 2007
1
I am using SSH Tectia - Terminal to connect to a unix server. I try to run a
process on background. I tried the following 3 commands:
1. sas a.sas &
2. nohup sas a.sas &
3. nohup sas -noterminal a.sas &
"sas a.sas" is to use sas software to run a.sas (file name). If you do not
know SAS, just take "sas a.sas" as something like a.exe.
For any of the 3 commands, whenever I close the SSH Terminal window, my
process is killed.
c**********e
发帖数: 2007
2
The weird thing. If I try to logout or exit:
> logout
3004-064 You must be the login user.
> exit
There are running jobs.
So I can not exit or logout. I have to close the terminal window and my
process is killed.
g******9
发帖数: 70
3
用screen吧

a

【在 c**********e 的大作中提到】
: I am using SSH Tectia - Terminal to connect to a unix server. I try to run a
: process on background. I tried the following 3 commands:
: 1. sas a.sas &
: 2. nohup sas a.sas &
: 3. nohup sas -noterminal a.sas &
: "sas a.sas" is to use sas software to run a.sas (file name). If you do not
: know SAS, just take "sas a.sas" as something like a.exe.
: For any of the 3 commands, whenever I close the SSH Terminal window, my
: process is killed.

l*********s
发帖数: 5409
4
try ssh -n
z**r
发帖数: 17771
5
re这个,简单好用

【在 g******9 的大作中提到】
: 用screen吧
:
: a

s**********g
发帖数: 139
6
Screen is good. or you have to redirect stdout, stderr, stdin:
nohup ./sas a.sas > a.sas.out 2> a.sas.err < /dev/null &
d****n
发帖数: 1637
7
sas a.sas &
disown -h

a

【在 c**********e 的大作中提到】
: I am using SSH Tectia - Terminal to connect to a unix server. I try to run a
: process on background. I tried the following 3 commands:
: 1. sas a.sas &
: 2. nohup sas a.sas &
: 3. nohup sas -noterminal a.sas &
: "sas a.sas" is to use sas software to run a.sas (file name). If you do not
: know SAS, just take "sas a.sas" as something like a.exe.
: For any of the 3 commands, whenever I close the SSH Terminal window, my
: process is killed.

1 (共1页)
进入Linux版参与讨论
相关主题
why terminal is not like an editor?我的home server
问个基础问题,关于linux command存放地址请问Ctrl+Z把任务suspended之后
有人能推荐和分享Ubuntu的入门书么?&! 什么意思?
请教一个关于nohup的问题请教个简单命令问题
高人帮我看看一个简单的script,为什么nohup有问题?stdout/stderr redirect
问个后台运行的问题新手求助: 如何access上一次SSH Session里运行的Console app
screen是干啥的一个关于command line 运行程序的问题
请问mpirun怎么放在后台运行?发包子 echo 求助
相关话题的讨论汇总
话题: sas话题: process话题: urgent话题: killed话题: background