[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: hibernate vs hibernate-ram ?



Hans-J. Ullrich:
> 
> May this might not the right list to ask, but can someone tell me the reason, 
> why the command "hibernate" and the command "hibernate-ram" behave 
> different ?

From 'man hibernate':

 If the hibernate script is invoked with a name of the form
 hibernate-foo  then it  will  use  the  configuration  file
 /etc/hibernate/foo.conf instead of the default.

> This is strange, because "hibernate-ram" is just a symlink to "hibernate".

Every UNIX program knows the command line that invoked itself. That way,
a program may behave differently depending on the name of the executable
that has been launched.

> Second question:  Is there a way on a multi processor system to prevent the 
> system to use both cores (yes, I know, can start as a single core machine) 
> and after start up using the second (and now empty cpu) for one process ?

As far as I know, you can only bind specific processed to a specific
CPU. That doesn't prevent other processes from using the same CPU, but
it really shouldn't matter performance-wise. If the process needs 100%
of its CPU's time, it will get it.

J.
-- 
If I could have anything in the world it would have to be more money.
[Agree]   [Disagree]
                 <http://www.slowlydownward.com/NODATA/data_enter2.html>

Attachment: signature.asc
Description: Digital signature


Reply to: