Summary: | Filtered view which does not show daemons | ||
---|---|---|---|
Product: | [Unmaintained] ksysguard | Reporter: | jg |
Component: | general | Assignee: | KSysGuard Developers <ksysguard-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
jg
2005-12-31 01:25:10 UTC
I am planning on an additional tab which shows only processes with X window titles. Would this be sufficient? Hi, Thanks for replying. I think processes with X window titles probably would eliminate gcc, bash and make from the display.. I'd find it really useful to be able to just see the user processes which weren't daemons. Being able to include/excluded by X window titles would be a good addition too, because i could then eliminate konsole from the displayed processes, when I was only interested in shell commands like bash, make, gcc etc. Kind regards JG Hmm, how can I distinguish between a gcc running as a daemon, and as a process? I guess by looking at the controlling terminal. Not sure how this would work into the gui. Hi John, That sounds like a good idea. By looking at a process's controlling terminal, would that give an indication of if it was running in the background? Are there any sort of process flags we could look at to see if it is a daemon? Is it possible to see what standard file descriptors are open? daemons all have STDIN, STDOUT, STDERR closed... perhaps we could look for those signs and show the process as a daemon? Also Daemons are typically do not have any existing parent process, they run just under init and they have the current working directory set to / according to this page too: http://en.wikipedia.org/wiki/Daemon_(computer_software) Jon SVN commit 735312 by johnflux: * Due to popular request (well, someone told me that someone else wanted it), I added a pid column, hidden by default. * Because the number of columns changed, saved heading data is no longer valid, so save a 'header data version number' in the config files, to keep track of that. * Add a "Programs Only" option. This only shows processes that have a GUI, or are attached to a tty. This works better than I expected :) BUG:119286 M +7 -1 ksysguard/gui/SensorDisplayLib/ProcessController.cc M +9 -2 libs/ksysguard/processui/ProcessFilter.cc M +1 -1 libs/ksysguard/processui/ProcessFilter.h M +12 -0 libs/ksysguard/processui/ProcessModel.cc M +7 -2 libs/ksysguard/processui/ProcessModel.h M +5 -0 libs/ksysguard/processui/ProcessWidgetUI.ui M +46 -5 libs/ksysguard/processui/ksysguardprocesslist.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=735312 |