Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在位置,AI 启动了一个进程,该进程将在服务器上运行一夜。我从来没有否认过这个过程,也没有使用 nohup。=\
我现在在位置 B,我想保持这个进程运行,但我想在位置 A 杀死 shell 并注销。
是否可以从位置 B 做我想做的事?
你可以给neercs一个机会。
这是一个视频,展示了它是如何工作的。
不过,它应该非常不稳定,并且没有打包在 CentOS 或基于 Debian 的发行版中。
你可以试试reptyr。但是由于 neercs 不是你想要的,它也可以从另一个 shell 中获取进程,所以 reptyr 也可能对你没有帮助。
当然,在将应用程序移动到新的 shell 后,您需要杀死旧的 shell 才能注销。