Gentoo Archives: gentoo-user

From: Franz Fellner <alpine.art.de@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Dolphin, CPU usage and process ID to which window.
Date: Tue, 08 Sep 2020 05:50:50
Message-Id: 1599544239-ner-1.410@TPL520
In Reply to: [gentoo-user] Dolphin, CPU usage and process ID to which window. by Dale
1 On Mon Sep 7 22:05:36 2020, Dale <rdalek1967@×××××.com> wrote:
2 > Another question.  I use top to see what is using the CPU so much.  When
3 > it is Dolphin, I can't tell which window it is.  I sometimes have a few
4 > instances of Dolphin open at the same time.  Sometimes I have my spot
5 > marked by highlighting a file or files.  If I kill it, I don't get to
6 > write down where I was.  Thing is, I can't tell from top which window it
7 > is that is using the CPU more than it should.  Is there a way to figure
8 > out which process goes with which window or running instance of
9 > Dolphin?  In top, it shows a ID number like this.
10
11 In a console run:
12
13 xprop _NET_WM_PID
14
15 Your cursor will turn into a crosshair.
16 now click on the first dolphin window.
17 In the console you now get something like
18
19 _NET_WM_PID(CARDINAL) = 576073
20
21 Compare the number with the PID in top from the dolphin instance
22 with high CPU usage.
23 If it is the same you have your instance.
24 If not repeat with the next dolphin window.

Replies

Subject Author
Re: [gentoo-user] Dolphin, CPU usage and process ID to which window. Dale <rdalek1967@×××××.com>