GNOME Bugzilla – Bug 60129
killall function
Last modified: 2012-12-08 01:07:17 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
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?
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
sorry this ended up on the wrong bug - no idea why please ignore
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
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.
Sorry, I have made a mistake in the above comment: Kill process does NOT work on multiple selected processes, that should be fixed.
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 ***