X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 651A73858C62
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1673821222;
	bh=Vy1uWbioVxGqseKt0YhTlkR/W0AauEzZJb4zV3X+FN0=;
	h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe:
	 List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
	 From;
	b=ktHvoQ7JYYZdDwd8C02IbHeC0zFolD70Thr5n5ouhk+Vk/p7dP3sbWVMgwwQdhwTb
	 WKHw8Xlhg2OXalcLUEEUbdAwtfwS8kxho4WzGANZGYzgUZ5aksrFmCe4cutE2MrJwK
	 PvrG6KUgVjSsVGtBBNPVQ/sHUqXe1P78CUBHrD00=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 80BC43858D32
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=content-transfer-encoding:to:subject:message-id:date:from
 :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=7TWULZLf57J8tK/cmxMm00Sce1MHxTS+zwnn/xdxFEQ=;
 b=xA2lFsvsVItRYn1kJZf7dELn6JYuxq3rA+hbuHJkY+Ho039P1IlzzeK7pl7CAiPuXT
 NTtcDvSM8cpcFp1P6wf1E4IMXhLrrEfLhJUBahzBFG099/NkEs4zJSUoKZ+4OvJDyNaY
 yFujPwU/yUfmTW4OhZ5oFnf5u6+yrl3JlcEgzUTyndfvjiUJW8gId/iz9+q4JykYEMxc
 Y+ktbRcHhZDA9blUn6GOq89bqo1YSE2CsZaV/wQtRbvZ5oFHv+Si9acgV2uykjSdibFi
 oLSArxNMWJOOfhB4t9PwAiDUUssOuHeo8F5QVGPcFrupwXKkRLNCqhDhUnCEFWaaXWF1
 SlFw==
X-Gm-Message-State: AFqh2kr6nCHlMP0jiBQ6A6xwFX9cbEIFv1JFNAKNxuY5i0XlQxwaL8ix
 o+G/sZfoZlfbSmEa+yAAn7K+jCZVPXjm+KJ0cAlTE2WeH4rBF4hSZtc=
X-Google-Smtp-Source: AMrXdXuAd3+OmnHM5EfjH/6ON3/pDUMGqrpHUDbssRcJjUvJYpeiWHmmyHZ+y+v+i7Lpl0GQelyof/eto5bQQRLvq88=
X-Received: by 2002:a05:6870:7908:b0:15e:f69d:a25e with SMTP id
 hg8-20020a056870790800b0015ef69da25emr443488oab.293.1673821180295; Sun, 15
 Jan 2023 14:19:40 -0800 (PST)
MIME-Version: 1.0
References: <38D69F25-39D2-4A62-B2BD-94055EB2994B@prs.de>
In-Reply-To: <38D69F25-39D2-4A62-B2BD-94055EB2994B@prs.de>
Date: Sun, 15 Jan 2023 22:19:06 +0000
Message-ID: <CA+kUOamXesqvpkbx4hC1YFb8L35+=sNsomc-rorKREUDBp=q+w@mail.gmail.com>
Subject: Re: vmstat yields error 'Unable to create system stat structure' on
 W11x64
To: System Administrator <sysadm@prs.de>,
        "cygwin@cygwin.com" <cygwin@cygwin.com>
X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_00, DKIM_SIGNED,
 DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE,
 SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no 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@cygwin.com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Adam Dinwoodie via Cygwin <cygwin@cygwin.com>
Reply-To: Adam Dinwoodie <adam@dinwoodie.org>
Content-Type: text/plain; charset="utf-8"
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 30FMKlN0029901

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 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.

Can you provide the cygcheck output, per
https://cygwin.com/problems.html? It might be useful to have the
cygcheck output from both the Win10 and Win11 VMs to compare, but the
Win11 VM where things aren't working is going to be the most useful
one there.

It might also be useful to know how you're calling vmstat: are you
doing it from a Cygwin Bash shell within MinTTY, or from a PowerShell
prompt using Windows' console, or something else? And are you running
with Administrator privileges?

-- 
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

