You are not logged in.

#1 2024-09-28 01:25:57

ThoughtBubble
Member
Registered: 2024-07-09
Posts: 55

How do I monitor power usage of a PCI device using systemd?

Title

Last edited by ThoughtBubble (2024-09-28 01:26:50)

Offline

#2 2024-09-28 08:56:30

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,208

Re: How do I monitor power usage of a PCI device using systemd?

powertop, but "of a pci device" strongly depends on sensors available for said pci device and might not be massively accurate.

This sounds like a leading question to a different end goal, why do you want to know and what does systemd have to do with this? What's your end goal? www.xyproblem.info

Offline

#3 2024-09-28 09:06:20

ThoughtBubble
Member
Registered: 2024-07-09
Posts: 55

Re: How do I monitor power usage of a PCI device using systemd?

The original problem I want to solve is to disable the dedicated graphics card. I know I have two graphics cards and I want to use the integrated card, so that I can extend the battery life of my laptop. I am trying to follow the instructions on the "Hybrid graphics" page in section 1.1.2. I am not sure how to do this particular step.

Check power usage to ensure your GPU is not drawing power

Offline

#4 2024-09-28 14:26:29

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,634

Re: How do I monitor power usage of a PCI device using systemd?

If the goal is to "Check power usage to ensure your GPU is not drawing power", why did you limit the scope by asking how to do it with systemd?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#5 2024-09-28 17:50:23

ThoughtBubble
Member
Registered: 2024-07-09
Posts: 55

Re: How do I monitor power usage of a PCI device using systemd?

ewaller wrote:

If the goal is to "Check power usage to ensure your GPU is not drawing power", why did you limit the scope by asking how to do it with systemd?

Based on the "Power Management" page, systemd is one of the CLI tools listed. I want to make sure if systemd has the feature discussed in this topic, before I decide to install another package.

Offline

Board footer

Powered by FluxBB