LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-31-2005, 07:59 PM   #1
linuxhippy
Senior Member
 
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu, Mint 18.1, Debian Jessie
Posts: 1,207

Rep: Reputation: 47
pause/resume an ssh make or other process


I repeatedly have this problem, so I'd like to know how to take care of this. I find myself using ssh on my home network quite frequently because my older pc is difficult to work at. My problem is that I will start a process (in this case a make) on this older pc using ssh. This older pc is real slow and so these processes take a lot longer than anticipated. If I shut down the pc I started the ssh on then I'm thinking it will kill the make process. So how can I pause the make on my new pc (the one I started the ssh session on) and resume it on the slower pc?
 
Old 08-31-2005, 08:07 PM   #2
tank728
Member
 
Registered: Sep 2003
Posts: 142

Rep: Reputation: 17
you can use the 'nohup' command along with "&" (to run the job in the background).
The nohup command allows you to run a command immune to hangups, meaning that when
you logout (whether it be an ssh session or locally) the command will continue to run.

good luck

-tank
 
Old 08-31-2005, 08:41 PM   #3
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Or use screen, that will let you deattach/reattach sessions. A real console window manager

Edit: Read in Kristijan's link the section "What screen is good for" and you'll understand better what I meant in my post

Last edited by gbonvehi; 08-31-2005 at 09:34 PM.
 
Old 08-31-2005, 09:18 PM   #4
Kristijan
Member
 
Registered: Sep 2003
Location: Melbourne, Australia
Distribution: NetBSD 3.0.1, Slackware 10.1
Posts: 394

Rep: Reputation: 30
Hi linuxhippy,

LQ.org's tutorial section has a quick write up on how to use screen[1]. Well worth the read!

Regards,
-Kristijan

[1] - http://www.linuxquestions.org/questi...icle&artid=297
 
Old 09-01-2005, 05:03 AM   #5
linuxhippy
Senior Member
 
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu, Mint 18.1, Debian Jessie
Posts: 1,207

Original Poster
Rep: Reputation: 47
this looks good-thanx!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Pause and resume Gnome Mixer Applet for Suspend-to-disk cdhgee Linux - Software 0 11-21-2005 10:44 PM
Core 1 SSH Pause Mike-BB Fedora 2 08-11-2004 05:42 AM
ssh login pause... skuinders Linux - Software 2 04-15-2004 04:53 PM
XMMS won't resume after pause Rounan Linux - Software 4 02-25-2004 02:16 AM
How to resume a remote process? J_Szucs Linux - Newbie 1 10-08-2002 10:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration