Pausing and resuming process on laptop


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Pausing and resuming process on laptop
# 8  
Old 10-19-2012
You need a laptop/O/S that does not reboot when you open the lid, just de-hibernates or un-sleeps. My laptops are co owned or too close to diskless to add an Ubuntu boot to see what the power saving support is. Hibernate is a complete copy of RAM to disk so no power is consumed, but the boot has to reinstate the old images and restart job dispatching. Sleep is a low power state where little or no i/o takes place, but RAM is intact under power and the restart is really fast.

Commands 'jobs', 'bg', 'fg' are only good on the parent, launching, interactive ksh/bash (sh?) shell. Batch need not apply. You cannot, to my knowledge, adopt processes of other terminals or none.

Last edited by DGPickett; 10-19-2012 at 05:41 PM..
This User Gave Thanks to DGPickett For This Post:
# 9  
Old 10-19-2012
Yes.. For that only you have to use nohup command.. Just use nohup followed by filename. The process will be paused in the process table while the system is off.
# 10  
Old 10-19-2012
Nohup just shrugs off the sighup, no other magic is provided.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Pausing a cron job

Hi All, I have a cronjob which runs a script every 5 mins. My problem is before the script is completed the cron job starts again after 5 mins. How can I put this second cron job to wait unless the first script has completed. Could you please help me on that (7 Replies)
Discussion started by: prats_7678
7 Replies

2. Ubuntu

Laptop to laptop transfer files

Dear all, I would like to transfer my old laptop documents/files etc to the new laptop without using any external hard disk. Please let me know if its possible via any way. Thank in advance, emily (3 Replies)
Discussion started by: emily
3 Replies

3. Shell Programming and Scripting

Read not prompting/ pausing for input

Heya people, So my script is one of those make-user-scripts, making a bunch of directories in the home folder and copying some files over into the new directories. However, part of the thing my script need to do is check the home folder if a username matches with a directory which already exists.... (6 Replies)
Discussion started by: Cloudy_Cat
6 Replies

4. Linux

TuxOnIce stalls 3 times before resuming

I am having trouble resuming from hibernation using TuxOnIce method. The thing works, but in a very strange manner. Here's how it looks: 1. Computer boots and finds resume image and starts resume. It reads image from disk (takes ~10 seconds) Reading kernel & process data... Atomic restore.... (8 Replies)
Discussion started by: lockheed
8 Replies

5. Ubuntu

Connect 2 laptops with RJ45 cable (Ubuntu 10.10 laptop with Windows 7 laptop)

Hi to all, I have the problem that a laptops with windows XP cannot startup even in safe mode nor using last good known configuration. I have a Ubuntu 10.10 Live CD and booting from it I can read the Hard Drive. I need to do a backup the Hard Drive from XP laptop and I want to connect this... (5 Replies)
Discussion started by: cgkmal
5 Replies

6. Shell Programming and Scripting

Pausing function with Perl

Hi all, I got the request to make a Perl script with the requirements as follow: 1. Make a program that just shows the time, a clock on the format 12:01:24. 2. When someone press key combination Ctrl -p the program should pause, ie the clock will stand still. When the Ctrl - p is pressed... (3 Replies)
Discussion started by: milo
3 Replies

7. Solaris

solaris 10 not resuming from power save mode.

Dear Frnz, i have a ultra 45 with solaris 10 installed. I face a weird issue in that. once the machine goes to power save mode i am not able to bring the machine back by hitting the keys in keyboard or moving the mouse. I am able to rsh the machine from another machine. To bring the... (1 Reply)
Discussion started by: sriram.s
1 Replies

8. Solaris

System not resuming from stanby mode ---Solaris10

Dear Frnds, I have a weird issue with solaris 10. We bought a new Sun Ultra45 workstation and i installed solaris 10 in that. The problem is when it goes to standby mode i am not able to resume the system.The only thing i can do is to manually reboot and start working. The problem occurs... (0 Replies)
Discussion started by: sriram.s
0 Replies

9. Shell Programming and Scripting

Pausing a Grep output

I am writing a small script which allows users to grep multiple log files across multiple directories, and often the output produced by the grep statements is quite lengthy. It would be nice if the output to the screen could be "paused" when it reaches a certain length (say, the length of the... (5 Replies)
Discussion started by: mharley
5 Replies

10. Shell Programming and Scripting

pausing a script

hello all, I have a script (Solaris v8 ksh) monitoring an inbound directory for reports. The script will then capture the report based on a set of circumstances. However I am unable to capture a report larger then 2-Gig in size due to program limitations. What I need to do is pause the monitor... (6 Replies)
Discussion started by: gozer13
6 Replies
Login or Register to Ask a Question