The invention relates to a
process migration tracking method, in particular to a
process migration tracking method in a
client operating system of a
virtual machine based on a multi-core platform. By tracking
process migration as a target, through twice mapping, the method spans a monitor of the
virtual machine to monitor a relation between a process and a physical processor inner core in the
client operating system. The method comprises the following steps: firstly, finding out a running environment of each process in the
client operating system, and extracting information associated with theprocessor from the running environment; secondly, starting from the inner core of the client operating
system, transmitting the relation between each process and a
virtual processor number to the monitor of the
virtual machine through a communication mechanism; and finally, in the monitor of the virtual
machine, acquiring a mapping relation between the
virtual processor number and the number of the physical processor inner core so as to map the process in the client operating
system to the physical processor inner core, and repeating the process, continuously acquiring the corresponding information of each moment, namely spanning the monitor of the virtual
machine to associate the client operating
system and the physical processor inner core so as to achieve the aim of tracking the migration process of the client operating system between the physical processor inner cores.