From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 3B737138334 for ; Sat, 8 Dec 2018 05:38:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 54EDCE0C7D; Sat, 8 Dec 2018 05:38:41 +0000 (UTC) Received: from km35626.keymachine.de (text-idiomas.com [87.118.86.27]) (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 BC95AE0C56 for ; Sat, 8 Dec 2018 05:38:40 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by km35626.keymachine.de (Postfix) with ESMTP id F0DC11129F99 for ; Sat, 8 Dec 2018 06:38:38 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at km35626.keymachine.de. Received: from km35626.keymachine.de ([127.0.0.1]) by localhost (km35626.keymachine.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HcP8I1Lwgmo2 for ; Sat, 8 Dec 2018 06:38:37 +0100 (CET) Received: from grusum.endjinn.de (p2E5B52FD.dip0.t-ipconnect.de [46.91.82.253]) by km35626.keymachine.de (Postfix) with ESMTPSA id 418B31129F8C for ; Sat, 8 Dec 2018 06:38:37 +0100 (CET) Received: by grusum.endjinn.de (Postfix, from userid 500) id 20028170398; Sat, 8 Dec 2018 06:37:51 +0100 (CET) Date: Sat, 8 Dec 2018 06:38:17 +0100 From: David Haller To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: CPU upgrade and LVM questions. Message-ID: <20181208053817.euy2ubizn3ybryza@grusum.endjinn.de> Mail-Followup-To: gentoo-user@lists.gentoo.org References: <492d8bf4-4b8d-f7f6-05d8-2473b6825fab@gmail.com> <9a2296d5-457d-1f83-15c6-25bcc60fc3c2@gmail.com> <2564246.RlOgSBAzYz@peak> <547c0f23-9430-a204-e0f1-ed7112688d92@gmail.com> <20181208042315.a3r3qebiw4c4d357@grusum.endjinn.de> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail 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 Content-Type: multipart/mixed; boundary="jrhvf4tkijsnztau" Content-Disposition: inline In-Reply-To: <20181208042315.a3r3qebiw4c4d357@grusum.endjinn.de> Organization: What? X-Clacks-Overhead: GNU Terry Pratchett User-Agent: NeoMutt/20170609 (1.8.3) X-Archives-Salt: 594722a5-0a0f-46b9-b643-71abad608ff4 X-Archives-Hash: ce77c271149d3f29ebde75849f1dbc20 --jrhvf4tkijsnztau Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, On Sat, 08 Dec 2018, David Haller wrote: >On Fri, 07 Dec 2018, Dale wrote: >>Peter Humphrey wrote: >>> Have you tried gkrellm? It's very neat. Sits in a vertical strip at >>> the side of your screen and shows a whole load of things all at >>> once. I've been using it for donkeys' years. >> >>That's what I generally use.=A0 I don't see a place for it to show the CPU >>frequency tho.=A0 Did I miss it?=A0 > >Nope. Try your local x11-plugins/gkrellm-gkfreq, see attachment ;) Made a little patch (drawn from the gkfreq-2.0 source) to make updates not quite that often (I barely could read them)... Patch + updated ebuild attached. Have fun. -dnh --=20 And 1.1.81 is officially BugFree(tm), so if you receive any bug-reports on it, you know they are just evil lies." (By Linus Torvalds, Linus.Torvalds@cs.helsinki.fi) --jrhvf4tkijsnztau Content-Type: text/plain; charset=iso-8859-15 Content-Description: x11-plugins/gkrellm-gkfreq/gkrellm-gkfreq-2.4.ebuild Content-Disposition: attachment; filename="gkrellm-gkfreq-2.4.ebuild" # Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 inherit gkrellm-plugin toolchain-funcs DESCRIPTION="CPU frequency plugin for gkrellm2" HOMEPAGE="https://sourceforge.net/projects/gkrellm-gkfreq/" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" RDEPEND="app-admin/gkrellm:2[X]" DEPEND="${RDEPEND}" PATCHES=( "${FILESDIR}/gkrellm-gkfreq-2.4-dont_update_too_much.patch" ) --jrhvf4tkijsnztau Content-Type: text/x-patch; charset=iso-8859-15 Content-Description: x11-plugins/gkrellm-gkfreq/files/gkrellm-gkfreq-2.4-dont_update_too_much.patch Content-Disposition: attachment; filename="gkrellm-gkfreq-2.4-dont_update_too_much.patch" diff -purN -x '*~' a/gkrellm-gkfreq.c b/gkrellm-gkfreq.c --- a/gkrellm-gkfreq.c 2014-12-23 14:23:13.000000000 +0100 +++ b/gkrellm-gkfreq.c 2018-12-08 05:58:49.732739849 +0100 @@ -172,6 +172,9 @@ static gint panel_expose_event(GtkWidget static void update_plugin() { gint i; + // dont do it too much... + if ((GK.timer_ticks % 10) != 0) return; + // Get all CPU frequencies and calculate max, avg & min for (i=0; i