Bug 448905 - Should PID be a default column?
Summary: Should PID be a default column?
Status: RESOLVED INTENTIONAL
Alias: None
Product: plasma-systemmonitor
Classification: Applications
Component: general (show other bugs)
Version: 5.23.5
Platform: Other Linux
: NOR task
Target Milestone: ---
Assignee: KSysGuard Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-21 15:59 UTC by jimbo
Modified: 2022-01-25 05:07 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jimbo 2022-01-21 15:59:38 UTC
When searching for how to shutdown a process usually the first result is 'kill' which requires a PID. Should the System Monitor show this information by default? I think that newbies would be searching for this ID (before learning about 'pkill')
Comment 1 Nate Graham 2022-01-23 19:07:48 UTC
Seems weird to be in a terminal window, type `kill`, open a graphical app, find the PID, remember the PID, go back to your terminal window, manually type in the PID, and then hit Return.

If you're already in the terminal, you should use `ps -e | grep <thing>` or some other method to find the PID. If you want to use a graphical app like System Monitor, you don't need to use a terminal at all; just click on the process and click "End Process" in the toolbar.
Comment 2 jimbo 2022-01-24 06:25:26 UTC
I'll be honest with you, I'm not going to remember the `ps -e | grep <thing>' unless I had to use it daily. Finding stuff through the UI is much more intuitive, especially having the foreknowledge of Windows. That's why I would open the System Monitor to look for the PID.

The reason that I would have to use the terminal is that there are times when the "End Process" or "Send Signal -> Kill" does not work in System Monitor and you have to revert to the terminal to shut it down. 

Again, I'm just describing my experience coming from Windows. If the column was made default it would have saved time searching how to shut down the process. Also it seems pretty relevant to the 'Processes' page to list the process ID.
Comment 3 Nate Graham 2022-01-24 16:55:44 UTC
> The reason that I would have to use the terminal is that there are times when the "End Process"
> or "Send Signal -> Kill" does not work in System Monitor and you have to revert to the terminal to
> shut it down. 
Aha, the truth comes out! :)

I find that people often request things like this to work around bugs. But really, we should fix the bugs instead!

Since this bug report is already a bit cluttered with the discussion of other things, could you file a new one about the those features not working with 100% reliability?
Comment 4 jimbo 2022-01-25 05:07:06 UTC
I got ya. I'll hold off on submitting the bug until I run into it again. Still though, process page... should list the PID, it makes sense.