Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

journal spamming #1

Open
personaingrata opened this issue Mar 10, 2024 · 2 comments
Open

journal spamming #1

personaingrata opened this issue Mar 10, 2024 · 2 comments

Comments

@personaingrata
Copy link

hi, i have a hybrid iGPU/dGPU notebook and ive put this command "grep D3cold /sys/class/drm/card1/device/power_state" and icons to see my dGPUs power state. this works perfectly fine but my systemd journal gets spammed every N seconds (configured check frequency)...
...
gnome-shell[12476]: D3cold
gnome-shell[12571]: D3cold
gnome-shell[12634]: D3cold
gnome-shell[12677]: D3cold
...
is there a way to turn off this behaviour?

thanks for the extensions btw, very useful maybe you can add the possibility to add more than one command?

@hedgieinsocks
Copy link
Owner

Hi, you can try to use grep -q which will not generate stdout and thus perhaps no log lines. As for the ability to use multiple commands, I wanted this to be an analog of Executor extension but it turned out to be beyond my humble abilities. So if you need multiple commands, you can give a try to the Executor or Argos extensions

@personaingrata
Copy link
Author

Hi, you can try to use grep -q which will not generate stdout and thus perhaps no log lines.
thanks for the quick reply! i wasn`t aware of the -q option in grep, it works like a charm. i won't forget this, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants