From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-user+bounces-192514-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EDD79138359 for <garchives@archives.gentoo.org>; Mon, 27 Jul 2020 04:21:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2D2E8E1841; Mon, 27 Jul 2020 04:21:19 +0000 (UTC) Received: from mail-oi1-x22b.google.com (mail-oi1-x22b.google.com [IPv6:2607:f8b0:4864:20::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 943E8E182C for <gentoo-user@lists.gentoo.org>; Mon, 27 Jul 2020 04:21:18 +0000 (UTC) Received: by mail-oi1-x22b.google.com with SMTP id t4so13239486oij.9 for <gentoo-user@lists.gentoo.org>; Sun, 26 Jul 2020 21:21:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=paoiOzhEqYj8i8HtK1iTMspGEK/cz4z0qWUji8nED/Q=; b=UD3fdhqUAujxg5iVtkdhL4tazt3+0U4zxJZw93S100ZOqJydrde/FEzrmBsK/bm17T wdTszqoOY4BimXa/ZBs5FxhViqmBKlK85ZU5rXGh44iRv+ulQEX/wHTcis5tW+FVwttl B2mva95W/EcKll5q9EFbBFCY0SOA0YweJafBKgzRR0nNP8TJO0SK43C9McOCWzKVuiXA LGCQETQZiEgMQ/uaEhiLIWmi2aEIrVvqiTYy+YQGmLanQrXgtn2pYQUCadpOdxo1i18a SWNLItewRTf/eIspf3+jXoJHJErJ9WmSut5spXmkbLZvVrxBiN6w2BFI/81OUHzLB66f thIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=paoiOzhEqYj8i8HtK1iTMspGEK/cz4z0qWUji8nED/Q=; b=qqcuG1LLVRxoAxvlxwjdbTJAnqb69e0AHBlOe2TOa1Tz15N0X7xGnSLak8o5RHFmdL VD0+XmaZwFH+0t5w5la1WQvjicHgFyGboKZOJbgPMM7lIVnCl0qSQjIkGOjm5HZ7Os9E BqETRBEgixYQXGr73VG8G33tYpP+dBQw5xc4LpRfQDIGRjZyK/GRIhsNE//+WFODn11l /LWJR0djb9E43oS2Siawh3prRJ+pGZ6QyNraI8WigNrHjDIgYc7NYUVl3P7+VMtravLc ASSa/PPO8OMFhtJKWHqCex7FqMqdXLtNNEvcNKaIcx2dD6AuAljEe5m9OFMKKfPj5iqX tGAA== X-Gm-Message-State: AOAM531dhkPUy/UHAAaLLeqQxkuhIET9kg476L94rOYU4XipSvoPdeks cq0PuE7KzUwTz4Ke/9m3/9nJBkG7US8p0rv2YIvG8g== X-Google-Smtp-Source: ABdhPJxbiFcAMSzBtp/i/FIgsoX4Y4dPXB0hVZjKpfV2nZ+OKp+Q4zwyBpN10fwp8CK9uWUzYJU/8vOtmiu6KnXOe/4= X-Received: by 2002:aca:f1d5:: with SMTP id p204mr16173960oih.171.1595823677555; Sun, 26 Jul 2020 21:21:17 -0700 (PDT) Precedence: bulk List-Post: <mailto:gentoo-user@lists.gentoo.org> List-Help: <mailto:gentoo-user+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-user.gentoo.org> X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 References: <CAC=wYCFMXXRs8LA+K14nJqLqx9LhuMJLUMcA4P2F5PW-Tnay0g@mail.gmail.com> <20200727033401.xr4dhyyx32zxjeer@ad-gentoo-main> In-Reply-To: <20200727033401.xr4dhyyx32zxjeer@ad-gentoo-main> From: Adam Carter <adamcarter3@gmail.com> Date: Mon, 27 Jul 2020 14:21:06 +1000 Message-ID: <CAC=wYCGCnhezL5YvjqbPZ08rrQK1J0keJuHCSUFnSR8NbrUhtQ@mail.gmail.com> Subject: Re: [gentoo-user] OT: Can a linux vmware guest tell if its host is CPU constrained? To: Gentoo User <gentoo-user@lists.gentoo.org> Content-Type: multipart/alternative; boundary="0000000000006cc7ef05ab64a7ed" X-Archives-Salt: 592dde5e-53d1-4faf-ad6c-4a91a1d7ec9d X-Archives-Hash: ea354fdf685a5bf90851547a5b44b512 --0000000000006cc7ef05ab64a7ed Content-Type: text/plain; charset="UTF-8" On Mon, Jul 27, 2020 at 1:35 PM Ashley Dixon <ash@suugaku.co.uk> wrote: > On Mon, Jul 27, 2020 at 01:23:46PM +1000, Adam Carter wrote: > > Having performance issues on a linux vmware guest that doesnt run vmtools > > because its an 'appliance', but it does allow shell access. I assume CPU > > utilisation shown by top etc is the utilisation of the vCPUs. Is there > any > > way to discover or infer host CPU issues? > > Do you mean that you want to monitor the host system from the guest? Can > you not > just SSH into the host from the guest? You can also infer CPU usage > from the > /proc/stat file on the host system, if you can share files over NFS > or some > other file-sharing means. > I have ssh access (including root) to the guest but no access to the host. --0000000000006cc7ef05ab64a7ed Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail= _attr">On Mon, Jul 27, 2020 at 1:35 PM Ashley Dixon <<a href=3D"mailto:a= sh@suugaku.co.uk">ash@suugaku.co.uk</a>> wrote:<br></div><blockquote cla= ss=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid = rgb(204,204,204);padding-left:1ex">On Mon, Jul 27, 2020 at 01:23:46PM +1000= , Adam Carter wrote:<br> > Having performance issues on a linux vmware guest that doesnt run vmto= ols<br> > because its an 'appliance', but it does allow shell access. I = assume CPU<br> > utilisation shown by top etc is the utilisation of the vCPUs. Is there= any<br> > way to discover or infer host CPU issues?<br> <br> Do you mean that you want to monitor the host system from the guest? Can yo= u not<br> just SSH into the host from the guest?=C2=A0 You can also infer CPU=C2=A0 u= sage=C2=A0 from=C2=A0 the<br> /proc/stat file on the host system, if you can share=C2=A0 files=C2=A0 over= =C2=A0 NFS=C2=A0 or=C2=A0 some<br> other file-sharing means.<br></blockquote><div><br></div><div>I have ssh ac= cess (including root) to the guest but no access to the host. <br></div></d= iv></div> --0000000000006cc7ef05ab64a7ed--