[PLUG] a question regarding something like nohup or disown

Russell Senior russell at personaltelco.net
Wed Nov 9 07:57:58 UTC 2022


On Tue, Nov 8, 2022 at 11:31 PM Kevin Williams <kevin at k9w.org> wrote:

> Russell,
>
> Yes, tmux works the same way.
>
> Rich,
>
> tmux and screen are command line applications that launch and manage
> sub-shells (a shell in a shell). You can remote into a server, like your
> shell at your web host, start editing a file, open another window and view
> a man page, and then detach from the tmux or screen session, log out of the
> remote session, and come back to your running text editor and opened man
> page later by reattaching to the same tmux or screen session.
>
> tmux even supports splitting a terminal window into multiple panes and run
> apps side by side or top and bottom. I don’t know if screen supports side
> by side.
>

I think screen does support side-by-side, but I don't use it so I can't say
for sure. Tmux does not support serial consoles natively though, which I
use extensively, and that is why tmux is dead to me. ;-)


>
> On Tue, Nov 8, 2022 at 9:28 PM, Tomas Kuchta <tomas.kuchta.lists at gmail.com>
> wrote:
>
> > I am curious what distro are you running?
> >
> > I am running openSuSE and usually clock up about half year on the KDE
> > session before some update forces reboot. I keep it running 24/7 to pull
> > emails local, monitor environment (temp/humidity), VPN, remote desktop,
> > .... other services. I have not experienced memory leaks.
> >
> > Tomas
> >
> > On Tue, Nov 8, 2022, 21:41 American Citizen <website.reader3 at gmail.com>
> > wrote:
> >
> >> Hi:
> >>
> >> I am running the KDE Plasmashell desktop, but it has memory leaks and
> >> eventually I will run out of system memory.
> >>
> >> If I logout, I will lose certain running jobs, which I really want to
> >> keep running.
> >>
> >> However if I start a shell, and do the %jobs -l command, nothing is
> >> there, so I cannot use %disown -r command nor prepend nohup in front of
> >> some command line execution with a background exec &.
> >>
> >> Just how can I attach a nohup to certain running pids, such that if I
> >> have to logout of the desktop session, these jobs still keep running?
> >>
> >> So far, the examples I have seen of nohup and disown, assume that one
> >> has a current shell open. They don't discuss what happens after the
> fact?
> >>
> >> Currently, if I logout of the desktop session, or restart the desktop, I
> >> lose the running programs.
> >>
> >> Any idea on how to stop this?
> >>
> >>
> >>
> >>



More information about the PLUG mailing list