Re: vmstat yields error 'Unable to create system stat structure' on W11x64

2023-01-16 Thread Achim Gratz via Cygwin
Corinna Vinschen via Cygwin writes: > Achim, I still wonder if vmstat shouldn't also work on Linux if the > kernel hasn't been built with CONFIG_SMP. Does the vmstat code fail > to take that into account? The only thing that seems affected is "core id" and that should actually be initialitzed as

Re: vmstat yields error 'Unable to create system stat structure' on W11x64

2023-01-16 Thread Corinna Vinschen via Cygwin
On Jan 16 14:08, Corinna Vinschen via Cygwin wrote: > On Jan 16 11:19, Corinna Vinschen via Cygwin wrote: > > On Jan 15 22:04, System Administrator via Cygwin wrote: > > > Hello, > > > > > > I am trying to migrate my framework to Windows 11 running Cygwin. > > > When executing vmstat it returns

Re: vmstat yields error 'Unable to create system stat structure' on W11x64

2023-01-16 Thread Corinna Vinschen via Cygwin
On Jan 16 11:19, Corinna Vinschen via Cygwin wrote: > On Jan 15 22:04, System Administrator via Cygwin wrote: > > Hello, > > > > I am trying to migrate my framework to Windows 11 running Cygwin. > > When executing vmstat it returns the following error: > > > > "Unable to create system stat

Re: vmstat yields error 'Unable to create system stat structure' on W11x64

2023-01-16 Thread ASSI via Cygwin
Corinna Vinschen via Cygwin writes: > I ran vmstat from procps-ng-4.0.2-1 under GDB and found that this > vmstat tries to dynamically load libnuma.so or libnuma.1.so, both > of which are naturally not available on Cygwin. So I guess vmstat > from procps-ng-4.x still needs another patch. Oh,

Re: vmstat yields error 'Unable to create system stat structure' on W11x64

2023-01-16 Thread Corinna Vinschen via Cygwin
On Jan 15 22:04, System Administrator via Cygwin wrote: > Hello, > > I am trying to migrate my framework to Windows 11 running Cygwin. > When executing vmstat it returns the following error: > > "Unable to create system stat structure” > > Using the very same packages (install files) on Windows

Re: vmstat yields error 'Unable to create system stat structure' on W11x64

2023-01-16 Thread System Administrator via Cygwin
Here you go… Thanks very much! On 16. Jan 2023, at 09:45, Brian Inglis wrote: On 2023-01-15 16:35, System Administrator via Cygwin wrote: > On 15. Jan 2023, at 23:19, Adam Dinwoodie wrote:>> On > Sun, 15 Jan 2023 at 22:05, System Administrator via Cygwin wrote: I am trying to migrate my

Re: vmstat yields error 'Unable to create system stat structure' on W11x64

2023-01-16 Thread Brian Inglis via Cygwin
On 2023-01-15 16:35, System Administrator via Cygwin wrote: > On 15. Jan 2023, at 23:19, Adam Dinwoodie wrote:>> On Sun, 15 Jan 2023 at 22:05, System Administrator via Cygwin wrote: I am trying to migrate my framework to Windows 11 running Cygwin. >>> When executing vmstat it returns the

Re: vmstat yields error 'Unable to create system stat structure' on W11x64

2023-01-15 Thread System Administrator via Cygwin
Hello, please find attached the cygcheck output - apologies for the oversight. It does NOT make a difference whether the bash, run from MinTTY (desktop shortcut), is run “As Administrator” or as regular user, the error occurs in both scenarios. Running it from PowerShell (both Admin and reg.

Re: vmstat yields error 'Unable to create system stat structure' on W11x64

2023-01-15 Thread Adam Dinwoodie via Cygwin
On Sun, 15 Jan 2023 at 22:05, System Administrator via Cygwin wrote: > > Hello, > > I am trying to migrate my framework to Windows 11 running Cygwin. > When executing vmstat it returns the following error: > > "Unable to create system stat structure” > > Using the very same packages (install

vmstat yields error 'Unable to create system stat structure' on W11x64

2023-01-15 Thread System Administrator via Cygwin
Hello, I am trying to migrate my framework to Windows 11 running Cygwin. When executing vmstat it returns the following error: "Unable to create system stat structure” Using the very same packages (install files) on Windows 10, produces the proper vmstat results (i.e. no error). I’ve tried W11