X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A5AC33854178 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1673864412; bh=SknWEWS81aMR5blsNt75WgPSTLf6e0SdcoaL8CfaDGs=; h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=PbSyw5U6dymRSR8M2ZWveuLzEVap38bViB3hu2QwIraKJVgWYsiGA32tmfK+A5Uxl 8kF3/Xd6tylQvtOgunE9JyHjlGE04EQI0qc7I4jp+StCZzcvJZ5i3KlLtSYT0kAiv4 9c4F38a19TnqxfA2TgrT/ODS+qduN7Z5OlGt4dVA= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com Date: Mon, 16 Jan 2023 11:19:28 +0100 To: cygwin AT cygwin DOT com Subject: Re: vmstat yields error 'Unable to create system stat structure' on W11x64 Message-ID: Mail-Followup-To: cygwin AT cygwin DOT com, Achim Gratz References: <38D69F25-39D2-4A62-B2BD-94055EB2994B AT prs DOT de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <38D69F25-39D2-4A62-B2BD-94055EB2994B@prs.de> X-Provags-ID: V03:K1:l/QpEhwZE0NreRIUzbkCk9PLj3lYMFQffwy9nrRDXuI2CjohuDZ EYucNl7kAaYUMVbQym2f58cCf2WPYAoh+BuakeLJwUc1oL2u5v25+krWVx8feuHqwaGBNuE XC54P9bZQdVkL4Dqae2XMXsGMPH9MmBe6u0C+hKYLP3fpXXk5hFAdbopPg6WRYcXLoAPwEm uRssIJo43vq11+8AtyBvQ== UI-OutboundReport: notjunk:1;M01:P0:W+3oE2PqJnA=;F9q1vIWAAtKecqfxa4okPCu2fVQ zoxoMMy3DWLdYVjYxKuU8QuVm5ENf4YT0t2oqI+lQUnzoZ6qz8Ujya2JhUqLjUquT7vf9DRkN PxXk8bdtoRtFDLJRAAcGcldBdaGno/zVYUDeKuDNjUnuX3QYwSR+pHycqkV+nqpH2kUtZDqu5 abDWrepg0SS4SvJdLZGpMpyuifYi86Ea4NHrowvgCIZLg+x/VIFNmeXGnZ/1LNDVtX176Ya6w 6JnqqryB3bNYuAohW9LuO+VoIqKTShevQBA+zxNzpZhFY3Xrvd/RxRS2LzS0LuAk/z04Vr7S/ GxurEeYo+ZVl0mZCMqowiO7LvFfBl2WpXFgZF9xef6nc0HU3/9Ffn1loU4noLVsGmXyKgPhnr xh1XGHGFpEt5R6v7EDhkiORai6DEcArQaZFwYVZR6ItvcXFMhD4DfrDqXFU7miTWyQ0wU6I1w xUjSLZuMN08sfMAS1ImeWS3QecUtRIJnWIv2Cn3BV4lEndaL2DEnALT0bVr7x+I6atKPaltY1 NpEq+H5lWXadXpM9wJ/s/w1o8tQpGI+vqpd0UNce/fDrUejMfucNAEgKiQ4kcVQdc+1b8UqM8 DIjjcz0GTISwfJFlnmeG2xxbnlZGXHyDhvV7ljPI461VE5En5bFL8oGJ5qbofHxekQms0GZ/b SfJGKG1nFysqa0oCJM4lngLTPW8M9dT1O+/WPs6eiA== X-Spam-Status: No, score=-96.6 required=5.0 tests=BAYES_00, GOOD_FROM_CORINNA_CYGWIN, KAM_DMARC_STATUS, KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_FAIL, SPF_HELO_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Corinna Vinschen via Cygwin Reply-To: cygwin AT cygwin DOT com Cc: Corinna Vinschen , Achim Gratz Content-Type: text/plain; charset="utf-8" Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 30GAKeaZ021042 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 10, produces the proper vmstat results (i.e. no error). > I’ve tried W11 pro and Enterprise - same difference (none.) Windows 11 is running in a VMware VM. W11 is the December version wit the latest updates (as of today). > The working W10 is running on the same physical hardware, using the same version of VMware, also in a VM. > Cygwin is the latest version 3.4.3, with the latest props-ng package (4.0.2-1) > > Any help (or at least hint) is greatly appreciated. I don't think this has anything to do with Windows10 or 11, but with the version of procps-ng you're running. I tried vmstat from procps-ng-4.0.2-1 on both, W10 and W11, and I got the above error in both cases. I switched back to procps-ng-3.3.17-1 and vmstat worked fine on both, W10 and W11. 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. Achim? Corinna -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple