After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 60129 - killall function
killall function
Status: RESOLVED DUPLICATE of bug 681405
Product: system-monitor
Classification: Core
Component: process list
3.5.x
Other Linux
: Normal enhancement
: ---
Assigned To: System-monitor maintainers
System-monitor maintainers
Depends on:
Blocks:
 
 
Reported: 2001-09-06 12:11 UTC by Frank Rehberger
Modified: 2012-12-08 01:07 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Screen shot of changes (52.00 KB, image/png)
2007-12-26 12:42 UTC, Toby Dacre
Details

Description Frank Rehberger 2001-09-06 12:11:55 UTC
I)
As admin one is looking often for processes of users, therefor the search
should take into account user-names, too.
And it should highlight ALL processes that match the given pattern search
string.  The user can choose one highlighted line and mark it with the
mouse. The process-data will be shown on bottom just for the exclusively
mouse-marked process.

As long as the pattern is given in search window, every update highlights
the matching lines again. 
A clear button on top clears the search textfield. With empty textfield no
process will be highlighted anymore.

II)
version 0.10.1 search does not work for patterns that represent a string
out of the middle.

IE:  search string:  "mac" will not highlight processes named "emacs"
every search string pattern should be interpretated as *pattern*

III)
on search failure no extra window should popup, stealing the focus. An
alarm bell and status message at bottom should be sufficient.

IV) "kill group" as extra option in menu should work like the "killall"
shell command, killing all processes matching the given string.

IE: killall java 
will kill all java virtual machines.
This is very usefull if developing multiagent systems with java.

sorry for my bad  english.

cu, Frank
Comment 1 Kevin Vandersloot 2001-09-17 00:17:23 UTC
In cvs I've made the following changes

I) procman already searches user names
II) is fixed
III) I'll leave for now since the dialog can be dismissed by pressing
return and focus is returned to the search dialog

and procman will find the next match if the same string is searched
for. There are some minor details that might be annoying in my 
implementation so let me know if anything is annoying.

The part about being able to select multiple processes and kill them
etc. is a post 1.0 feature as I have said earlier.

Some of the other feature requests I think are a little specialized
for procman and I think would better be served by writing scripts etc
(GUI programs will never be as flexible as command line).

Frank, when you next try out my changes could you update this bug with
what other fixes you think are necessary?
Comment 2 Toby Dacre 2007-12-26 12:42:14 UTC
Created attachment 101617 [details]
Screen shot of changes

Ah found the create attachment bit.

Here is a before and after screenshot

Left is before/right after

Main fixes

1) evenly space vertical lines

2) make all graphs start at the same time (CPU lags by one cycle seen on the left)

3) remove unneeded code and fix indentation
Comment 3 Toby Dacre 2007-12-26 12:43:18 UTC
sorry this ended up on the wrong bug  - no idea why please ignore
Comment 4 Robert Roth 2012-07-24 20:17:46 UTC
This is really an ancient bug, and the only requirement waiting to get implemented is point IV, as all the others are already in 3.4:
I. search also searches in username
II. searching for pattern means search for strings matching *pattern*
III. on search failure no extra window pops up, just the treeview search textfield
Comment 5 Robert Roth 2012-08-07 19:34:46 UTC
The Kill process also works multiple selected processes with some minor bugs (the confirmation dialog asks for confirmation only for the first process), so basically this would be fixable by implementing process filtering (bug 509787), using Ctrl+A to select all processes matching the filter, and using the kill process.
Comment 6 Robert Roth 2012-08-07 19:40:58 UTC
Sorry, I have made a mistake in the above comment: Kill process does NOT work on multiple selected processes, that should be fixed.
Comment 7 Robert Roth 2012-12-08 01:07:17 UTC
As the only open request here remains supporting kill for multiple selections (and maybe filtering processes - additionally/instead of the current typeahead - reported already in bug #5009787), I am marking this as a duplicate of bug #681405 dealing with kill/end multiple processes.

*** This bug has been marked as a duplicate of bug 681405 ***