OpenVZ Forum


Home » General » Support » Testing migration: weird behaviour of process inside VPS
Re: Testing migration: weird behaviour of process inside VPS [message #5375 is a reply to message #4939] Fri, 18 August 2006 09:46 Go to previous messageGo to previous message
atomico80 is currently offline  atomico80
Messages: 14
Registered: July 2006
Location: Belgium
Junior Member

ok the 2 HN are now sincronized.
and i get the same problem as before
the clock of the VPS has a differen time than the HN.
but the command ntpdate give me error cause It's not possible to access to the HW
Can't adjust the time of day: Operation not permitted


Anyway here is the code of the counter
#include <stdio.h>

int main (void) {
	int i=1;
	while(i<=1000000){
		printf ("counter=%-8d\n", i);
		sleep (1);
		i++;
	}
	return 0;
}


Thanks

[Updated on: Fri, 18 August 2006 11:16]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: VZDUMP Use of uninitialized value
Next Topic: Unable to stop VZ
Goto Forum:
  


Current Time: Mon Aug 04 14:41:05 GMT 2025

Total time taken to generate the page: 0.79514 seconds