i am very much intrested in freezing a process things i studied in distributed system i want to try it
what happen when process is freezed?
The process gets inactive(i.e whatever you press keyboard or mouseclick the program will not listen)more simply you can see application and you cannot do anything
Let's see how to do it
First we need to find pid(Process IDentifier) of the process using pidof
this can be done using pidof <appname>
eg: pidof firefox
Then note all the pid and pass it to below command
kill -STOP <pid1..n>
now your app become inactive
to activate it use the below command
kill -CONT <pid1..n>
wow its awesome folks, freezing a process can be used to
migrate a process from one system to other system
more explanation in next post about what is happening in background of above process
if you have any crazy question like this comment it below
what happen when process is freezed?
The process gets inactive(i.e whatever you press keyboard or mouseclick the program will not listen)more simply you can see application and you cannot do anything
Let's see how to do it
First we need to find pid(Process IDentifier) of the process using pidof
this can be done using pidof <appname>
eg: pidof firefox
Then note all the pid and pass it to below command
kill -STOP <pid1..n>
now your app become inactive
to activate it use the below command
kill -CONT <pid1..n>
wow its awesome folks, freezing a process can be used to
migrate a process from one system to other system
more explanation in next post about what is happening in background of above process
if you have any crazy question like this comment it below
Comments
Post a Comment