All of these Applications have been closed and have no windows open. The Gimp processes along with sharpen, unsharp-mask and deinterlace probably come from my attempts to edit a photograph. Should they still be running?
Krita and Showfoto were used for a short time and then closed. Gwenview and okular are used frequently to look at image files. Naturally these processes all use memory and will continue to do so until they are killed off.
An thoughts on this?
Many other processes in the Process Table look normal, as far as I can tell.
Hi
No, those are just the grep commands. Maybe you have some zombie processes which can check with the ps -ef command (pstree is another command to show what’s running).
You are just seeing grep process and not the process name after grep, it is shown in ps because okular and gwenview is the argument to the grep command and since grep is also a process from ps’s point of view
Please copy/paste computer output between COIDE tags to make it readable for us. You get the CODE tags by clicking on the # button in the task bar of the post editor.
Thanks for these suggestions - I must keep this in mind for future use. I could not find and sign of the gwenview and okular processes showing in the System Monitor Process table … hmmm.
Depends what you mean by ‘closing’. I’ve come across several arguments
elsewhere where people think that clicking on the ‘x’ button closes the
application when all it does is close the window, leaving the
application running. I assume that you followed the correct procedure
and used ‘file ==> quit’ or some such?
–
Graham P Davis, Bracknell, Berks.
openSUSE 13.2-m0 (64-bit); KDE 4.12.97; AMD Phenom II X2 550 Processor;
Kernel: 3.14.0-rc7; Video: nVidia GeForce 210 (using nouveau driver);
Sound: ATI SBx00 Azalia (Intel HDA)
Really depends on the app and if it is in the system tray. Most apps quit but apps like skype or amorok do not quit but go to running in the back ground in the system tray.
And in any case there should not be multiple instances if running from the tray.
I have seen zombies but that normally means that there is some problem with the app or perhaps the destop.
Check to be sure your apps only come from normal repos. never factory. Mixing in factory can cause many problem.
Please post your copied/pasted computer text between CODE tags to make them better readable/un derstandable. It is the # button in the tool bar ofthe post editor.
You can save it in your ~/.bashrc and source it after saving.
echo 'pss(){ for f; do command -p ps -ef | grep "${f%${f#?}}]${f#?}"; done; }' >> ~/.bashrc
source ~/.bashrc
check it
jetchisel@Msi:~> command -V pss
pss is a function
pss ()
{
for f in "$@";
do
command -p ps -ef | grep --color=auto "${f%${f#?}}]${f#?}";
done
}
If you want it to be system-wide you can put it in /etc/bash.bashrc.local, save it and source it. It is not efficient fucntion i know :-), but hey if just want to see the process then that will do
On 2014-04-11 21:56, jetchisel wrote:
>
> robin_listas;2636280 Wrote:
>> Years ago I knew a trick to make ps not show itself in the output with
>> grep - but I forgot it. It was simpler than the one you describe,
>> though.
> I would like to know it too, any way i get lost in ps man page tbh, but
> here is a function to do just that.
I found one that does it: “-e”. But it also clears out some other
entries. And I don’t know what it does:
-e Select all processes. Identical to -A.
and:
-A Select all processes. Identical to -e.
Well, my point is if there is no process running then don’t display the grep–color=auto processname
Second you do not need to type ps over and over again when searching for multiple processes
Sorry I was ambiguous. I meant your post. I was using text-to speech, and couldn’t find your example although I remembered hearing it on my first “readimg”. I meant to include the link only as a footnote.
:shame:
Is exactly like in that thread you posted, you can see there is a open and close brackets too the ${f%${f#?}} inside the first bracket is the first character of the processname and the ${f#?} which is outside the brackets is the rest of the process name and the *for loop *is used to cycle through all the process name to grep ( if there is any). No worries though.