Is it possible to checkpoint or save the state of a running Linux process, and then resume the same process on a Windows system?
It is not possible to save the state of a running Linux process and then resume the same process on a Windows system.
The environment of Windows and Linux where the process execute are very different.
They vary in several factors like,
- The API’s of both the system are different.
- The Process management Procedure is different. The PCB contents vary.
- Process identity in linux generally is made up of Process ID, Credentials and Personality and such does not exist in windows.
Linux has the concept of Standard input, Standard output, Standard error which is not present in windows.Thank you ‘codeinfig’ for pointing this out. Check out the comments!
- Linux has File descriptor tables associated with process like FD table, system wide open table etc, which is not the same in windows. File systems of both may not be the same.
- Windows has the concept of handlers.
- The concept of ID’s associated with process is not present in windows system.
- The way permissions are set to files is different in both the systems. Linux associates permissions with user, group and others which are not in windows.
Due to many such environmental issues the stated argument doesn’t hold valid. However, As it happens in networks like packet format conversion from Ethernet to token ring, where there is padding/bit stuffing involved, similarly on having an intermediate level of conversion, which can handle this compatibility between both, above is possible.