vmstat

Pavel Tsekov ptsekov@syntrex.com
Thu Jul 4 06:57:00 GMT 2002


Hello Chris,

Thursday, July 04, 2002, 2:52:59 PM, you wrote:

CJ> This is caused by the default alignment changing from 4 bytes to 8 bytes, as
CJ> far as i can tell. Basically the size of structure passed to the NT system
CJ> calls is not the size of structure the call expects, so it fails and the
CJ> program (top, uptime, etc.) gets stuck in a loop trying to read data.
CJ> I did add macros to ntdll.h to make sure the structures were aligned
CJ> correctly, but then Chris changed the alignment back so I removed them. I
CJ> shall let Chris comment on this.

Well there is definitely more then NT calls failing. uptime -V should
print the version and exit - but it doesn't. The strace ouput seems very
close to the one produced without the -V option. The same happens even
if an unrecognized options is passed.



More information about the Cygwin-apps mailing list