Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-31-2005, 07:59 PM
|
#1
|
Senior Member
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu, Mint 18.1, Debian Jessie
Posts: 1,207
Rep:
|
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?
|
|
|
08-31-2005, 08:07 PM
|
#2
|
Member
Registered: Sep 2003
Posts: 142
Rep:
|
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
|
|
|
08-31-2005, 08:41 PM
|
#3
|
Senior Member
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145
Rep:
|
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.
|
|
|
08-31-2005, 09:18 PM
|
#4
|
Member
Registered: Sep 2003
Location: Melbourne, Australia
Distribution: NetBSD 3.0.1, Slackware 10.1
Posts: 394
Rep:
|
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
|
|
|
09-01-2005, 05:03 AM
|
#5
|
Senior Member
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu, Mint 18.1, Debian Jessie
Posts: 1,207
Original Poster
Rep:
|
this looks good-thanx!
|
|
|
All times are GMT -5. The time now is 12:23 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|