Just like e.g. people can press Ctrl+P when running a VirtualBox guest, it can pause the guest, after pressing again Ctrl+P it will continue right there where it was stopped. Are there any command line commands on Windows/Linux where I can do the same with a process? (the process is e.g.: Firefox, etc.)
I dual boot Ubuntu and Windows and sometimes I just want to switch between the partitions without loosing the state of the OS I was currently working with. Currently to do that I just hibernate that OS and, when the computer turns off, I restart it and select the correct partition.
I do not really want to have to press the on button again every time I want to switch between partitions. I figure that there must be a way to make the hibernate action restart instead of shutting down.
How do I make the hibernate action restart instead of shutting down on:
Windows, or Ubuntu
P.S. It is more important to me that I can do this in Ubuntu than Windows (because of the way I use the partitions) therefore if one answer says the Ubuntu way and the other says the Windows way then I will mark the Ubuntu one as the answer and give the Windows one an upvote and a big thankyou.
I wonder whether it is possible to watch downloading process then after the download is complete, the system go hibernate automatically. I used to download using DownThemAll (firefox addon ) or JDownloader.
I have 10.04 installed on my Laptop (Dell Latitude D630 with the Nvidia video upgrade). This was a clean install to a hard drive that I let it totally erase and use as it saw fit. I am using the Nvidia driver marked as "current" in the hardware driver settings.
When my laptop screen dims due to inactivity, such as not used for 5 mins or so, it will prompt me for a password to log back in. No big deal. However, when it resumes from this state it is SLOW!! I go to system monitor and see that the process "Compiz" is burning up both of my cores at about 70% or HIGHER. It's not using a significant amount of memory which is strange.From what I have been able to gather Compiz has some responsibilty for the GUI and killing the process to attempt to restart it is a "bad idea".
I have problem with resuming after hibernate, it is about 50% chance that computer restart when I want resume, then it starts boot normally and all my work is lost. Acer aspire 3820tg Ubuntu 11.04 Builtin hibernate on partition I try uswsusp s2disk ... on resume it always stops in half of process. I used mainly hibernate, but I'm lost now.
I'm using pm-hibernate, and would like to reboot the machine after it's done hibernating, rather than having the machine turn off.Is there a way to do this with pm-hibernate, or any other Linux hibernate thing?
I recently installed Ubuntu 10.10 in my pc and for the last week I've been trying to enable hibernation in Windows 7. I have read more than 100 threads (and followed their instructions) with no result. My configuration is:
hda: Windows 7 hdc: Ubuntu 10.10 (GRUB)
The BIOS is set to boot from hdc. When I select windows from GRUB, windows start up, but when I choose "hibernate" they just pop up the log in screen. However, when I set BIOS to boot from hda windows start (without GRUB) and DO hibernate when I choose to. BUT, when I switch on the pc (immediately after a successful windows hibernation) I get "Resuming Windows" regardless what disk I choose to boot from (using BIOS)!
I do not get the GRUB screen but I don't get the chance to launch the BBS popup either (I see the message but there is no response when I press F8 ). It seems like the system always boots from hda after a successful windows hibernation and there is nothing I can do to change this! On the other hand, Ubuntu always hibernates normally... I'm willing to post any information needed answers are not like "Repair Windows" or "Reinstall Ubuntu" because I want to solve the problem but find out its cause as well.
I've recently swapped from Windows 7 to Ubuntu Lucid Lynx and I haven't looked back - except for the fact that moving from Photoshop to GIMP is difficult. I digress.
Suspend works nicely (what a blessing ) but Hibernate doesn't.
Ubuntu 10.04 is installed on a 500GB Seagate External hard drive plugged into a USB port on my motherboard. My BIOS is set to boot off of it automatically (boot order). Windows 7 is installed on my 160GB () internal drive.
The problem is not when I put it into Hibernate, it's when I pull it out of hibernate. When I do my computer tries to unhibernate into Windows!
My hardware ($300 laptop from Walmart haha) - click here for more info on HP's site if you want
Model: Compaq Presario CQ60-419-wm Video Card: Nvidia GeForce 8200M G Processor: AMD Sempron () 2.1 GhZ RAM: 3GB OS it was shipped with: Vista Basic ()
First of all, I searched the forums but I couldn't find anything- I don't want to be the poster who posts something that's been solved 14 times already Anyway, primary question first and then "why" below- I was wondering if there was a quick way to hibernate Ubuntu to Swap -> boot to Windows 7 and work -> Hibernate Windows 7 -> boot to Ubuntu and work, repeat until Windows glitches
I have, new Acer Aspire: i3 370M 4GB RAM 640GB HDD as follows, from inside to outside: X GB 3 Primary Windows partitions, 125 GB unnallocated, 50GB /home, 6 GB .boot, 4 GB SWAP
Ok, why would I want to do that? I ask because while Ubuntu boots fast at just under 1 minute at the end of my hard drive (90Mbps, I had it install from "end" when I partitioned the boot file), Windows boots slowly at about 2.5 minutes on the inside of my drive (23sh Mbps). To be able to switch between them would be useful for iTunes, ProEngineer, Matlab, and other stuff that is Windows based. Windows boots much faster from hibernation. I love Ubuntu, the speed and simplicity and the actual FRIENDLY atmosphere (what a concept WINDOWS) But I find myself needing to do some quick editing in Windows, then I can go back to my business on Ubuntu. Is there some kind of selective boot managing like GRUB that I can bring up after telling one to hibernate? Because once on SWAP, it should hold relatively indefinitely until I return, right??
Any ideas??? It sounds like some clever Terminal coding could manage the Linux side of the booting, but Windows might have to be tricked into a selective boot..
I had a dual boot umbutu 9.04 & xp Toshiba laptop satellite A15-S1292, (old bad battery). I use it mostly in linux but had been working in Windows, it may have hibernated and the next boot may have been to Linux. Now it boots straight into Ubuntu login screen that looks like it is may be returning from hibernate (don't use it normally). On boot don't see the normal BIOS announcement or screen allowing the selection of boot device. Doesn't boot Live CD from CD Rom or Suber Grub CD. When I examined the Windows mount receive warning that it could not be mounted as it was hibernated. I followed the suggested mount -t -ntfs -3g -o remove_hyberfile /dev/sda1 and can now access the windows partition. Boots still return to the same linux login screen. Don't seem to be able to boot from anything else.
I own an Acer Aspire 5552g. I have installed 2 systems on it: Windows 7 and ubuntu 10.10. Everything works fine except wifi. There is a lot of threads connected to this topic, but none has solved my problem yet. The problem occurs when I hibernate Windows and then load ubuntu - I get unable to turn wifi on. As rfkill says - it is hard blocked. It wouldn't be a problem if i had a hard switch for wifi. but I only have fn+F3 for that, which somehow fails to work in my situation.
Code:
igor@igor-Aspire-5552G:~$ rfkill list 1: phy1: Wireless LAN Soft blocked: no Hard blocked: yes
If I reboot Windows and then start ubuntu - everything's fine and working. fn+F3 turns wifi on and off as expected. I will provide some more info: when wifi's working:
Code:
igor@igor-Aspire-5552G:/sys/class/rfkill/rfkill1$ cat state
1 when it doesn't:
Code:
igor@igor-Aspire-5552G:/sys/class/rfkill/rfkill1$ cat state
I have a high priority service that I start with sudo nice -n -10 process. This process does not need superuser rights though, except for the priority elevation. But nice requires superuser privileges to elevate priority.
Description of what the code does or what i intended to do:
1. Created a child process from parent process using 'fork()'
2. Sent a signal 'SIGALRM' from child process to parent process using 'sigqueue' function.
(The Third parameter of 'siqueue' function contains the message (message msg) which the child process wants to send to the parent process.'msg' is a stucture instance containing a) pid of child and b) string) 5. Print the 'msg' sent by child process inside the signal handler function 'sig_action_function' of the parent process I am getting some junk value when this line is executed
Code:
printf("%d ",msg->cpid);
I expected to get the pid of child process, which the child process sent to parent process through the signal.
as we all know Process Scheduler does Process scheduling and its a process as well. I was just wondering that if this happens then the Process "Process Scheduler" should be a part of Process queue as well.
So if there are 5 process are there in Process queue & process scheduler is administrating them then since its also a process, once it puts a process under RUN state it should itself go inside queue because at one instant only one process can get executed on a processor. This is quite confusing for me. Please help me out. I tried to search on this but could not find any relevant topics.
I have a process running on Linux.When i do ps -eaf | grep <myProcess>, it show muliple entries for <myProcess> with different pids for each entry.Kindly tell me what could be the reason for a process having multiple pids?
Similar to this: How to "hibernate a process" under Linux/Windows? Are there any methods to hibernate a process in a way that it doesn't stay in memory? E.g.: If I don't want to use Firefox, and don't want to close the process of it, and I need free memory, then how can I really hibernate the process so the memory reserved by Firefox is freed up? I need solution for both Windows and Linux!
I've been running my shellscript for about half an hour now. It's taking longer than I thought to process all the data. I have the process ID of it. Is it possible to save the process and log out then log in and continue the process? I know how to pause a process using kill -pause pID and continue it using kill -cont pID. But that only work if you don't log out after pausing it.
Just got Ubuntu 9.10 and I'm liking it a lot, but my computer refuses to go into hibernate or suspend. I have a Dell M1530 but I don't really think it's a dell hardware issue because it's not just when I close the screen, it's also when I click suspend or hibernate from the menu.
I want to kill parent process after "fork()" method. but if I kill parent process with "exit(0)" method, main() thread is terminated as well so child prosess doesn't work anymore. Is there any way to kill only parent process without affecting to child process?
i am using kubuntu and my laptop does not hibernate or even sleep whenever i close the lid of my laptop!! i have tried to configure the powersave but it is all in vain!! When i close the lid,the screen goes blank and it deactivates everything including the mouse and the keyboard!
for linux but used to make usb installers for windows... is there any out there? or a way to do the windows usb installing process but with terminal and not command prompt
On a Debian system, there are packages called uswsusp and hibernate. The former contains a program named s2disk, the latter contains a program called hibernate. Superficially, these both do the same thing: the suspend the machine to disk. Usually, this works fine, but since I'm often using Debian testing and there are lots of changes in kernel and other packages (I assume), somethings this breaks. But then, when one of these programs doesn't work, sometimes the other works. Often, hibernate works when s2disk doesn't.annoyingly, however, the "Suspend" or "Hibernate" buttons in the graphical user interfaces (e.g., LXDE, KDE) appear to be wired up to the s2disk program, so when that breaks I have to use hibernate manually.
So, what is the difference between these packages? Interestingly, the hibernate package "recommends" uswsusp, but the package description says that it "smartly puts your computer to sleep ... using one of the various methods available in the kernel". So apparently it can fall back to something else when the s2disk method fails? And if hibernate is more powerful, why wouldn't the GUIs use it instead?
where do I define that my laptop should go hibernate or suspend when my battery has a certain percentage? Where do I define this percentage ?I see no such options under Power Management Preferences.
I have installed Fedora 15 Alpha with GNOME 3. Everything is working fine. However, I can't see any option to hibernate or shutdown.
In the top panel when I click my user name, I only have one option and that is to suspend. Normally I like to hibernate or shutdown. And I can't see any option of what to do when I close my netbook. Normally, I prefer to hibernate.