This is the mail archive of the
mailing list for the Cygwin project.
Re: Re: vmstat
- From: "Chris January" <chris at atomice dot net>
- To: "Pavel Tsekov" <cygwin-apps at cygwin dot com>
- Date: Thu, 4 Jul 2002 15:18:07 +0100
- Subject: Re: Re: vmstat
- References: <OF9302AC86.0EB950DE-ON85256BE4.005579C2@isn.instinet.com> <00b901c21df9$1c9e3df0$0100a8c0@advent02> <20020627163750.GA27819@redhat.com> <010901c21dfa$de6d74e0$0100a8c0@advent02> <3D1B5A59.email@example.com> <3D1B92A6.firstname.lastname@example.org < <00be01c22359$b9e7c170$0100a8c0@advent02> <email@example.com>
> 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
> CJ> far as i can tell. Basically the size of structure passed to the NT
> CJ> calls is not the size of structure the call expects, so it fails and
> 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
> 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.
uptime reads the /proc files regardless of what options you pass.