Which Linux User Processes Are Essential

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
julianvb
Level 4
Level 4
Posts: 474
Joined: Sat Dec 14, 2013 9:43 pm
Location: Virginia Beach, VA

Which Linux User Processes Are Essential

Post by julianvb » Wed Aug 08, 2018 4:03 pm

2018-08-08

I would like to know which of the following Linux user processes are essential and how I can find out their functions? By the way, this listing comes from my LM18.3 Sylvia machine with Linux kernel 4.4.0-131, a 64GB HDD and 2GB RAM. Thanks very much.
user-ps.jpg
julianvb
Last edited by julianvb on Wed Aug 08, 2018 4:38 pm, edited 5 times in total.
Julianvb: A (Kernel: 4.4.0-111-generic i686, LM18.3 Sylvia, 32-bit, Desktop Cinnamon 3.6.7, Atom N270 CPU, 2gb RAM, 64gb SSD)
B (Kernel: 4.10.0-38-generic i686, LM18.3 Sylvia, 32-bit, Desktop MATE 1.18.0, Atom N270 CPU, 2gb RAM, 64gb SSD)
.
.

Mute Ant
Level 13
Level 13
Posts: 4926
Joined: Tue Sep 03, 2013 7:45 pm
Location: Norfolk UK

Re: Which User Processes Are Essential to Me

Post by Mute Ant » Wed Aug 08, 2018 4:24 pm

"... Which User Processes Are Essential to Me..." Regular and frequent breathing has always been my number one favourite.

User avatar
trytip
Level 8
Level 8
Posts: 2400
Joined: Tue Jul 05, 2016 1:20 pm

Re: Which Linux User Processes Are Essential

Post by trytip » Wed Aug 08, 2018 4:59 pm

i have since switched to xfce in mint19 cinnamon because there are too many things running that don't need to. i can tell you what runs on my computer in cinnamon 19 but that may well be something entirely different on your computer. i disabled a lot of things some from the startup in cinnamon settings and some using systemctl mask ModemManager.service but that is picking things off the list that is in your systemd startup systemd-analyze blame which you can undo the option with systemctl unmask ModemManager.service

even so the cinnamon desktop is still too bloated for a low end computer with 2GB RAM and tries to load everything one might need and the kitchen sink.

unfortunately some of these services have other "workers" connecting to them so masking a service may break something like a .socket which probably makes no rational sense to you.

for starters what's the output of your systemd-analyze blame and what do you have enabled in settings startup?
Image

julianvb
Level 4
Level 4
Posts: 474
Joined: Sat Dec 14, 2013 9:43 pm
Location: Virginia Beach, VA

Re: Which Linux User Processes Are Essential

Post by julianvb » Wed Aug 08, 2018 6:31 pm

Hi, trylip,

Thanks very much. Here're my reports.
new-startup-apps.png
newblame-1.jpg
julianvb
Julianvb: A (Kernel: 4.4.0-111-generic i686, LM18.3 Sylvia, 32-bit, Desktop Cinnamon 3.6.7, Atom N270 CPU, 2gb RAM, 64gb SSD)
B (Kernel: 4.10.0-38-generic i686, LM18.3 Sylvia, 32-bit, Desktop MATE 1.18.0, Atom N270 CPU, 2gb RAM, 64gb SSD)
.
.

User avatar
trytip
Level 8
Level 8
Posts: 2400
Joined: Tue Jul 05, 2016 1:20 pm

Re: Which Linux User Processes Are Essential

Post by trytip » Thu Aug 09, 2018 12:43 am

i would disable mint update and upload in startup and start with:
systemctl mask ModemManager.service
and uninstall anything virtualbox in synaptic
don't know too much about systemd services but i just started masking things that seemed to pop out at me. like systemd-journal-flush.service BUT then you need rotate logs which i do with bleachbit. i wouldn't do any of this of course if i didn't have a snapshot with timeshift when things break.

but to tell you he truth even after masking and stopping services my RAM usage only went down about 100mb which now is around 630MB at startup in mint19 cinnamon.

open system monitor and search for csd how many do you have running? some of these can be stopped in etc/xdg/autostart/ the way i do it is compress for instance cinnamon-settings-daemon-automount.desktop to back it up and then delete the automount which is pretty useless function for me
Image

julianvb
Level 4
Level 4
Posts: 474
Joined: Sat Dec 14, 2013 9:43 pm
Location: Virginia Beach, VA

Re: Which Linux User Processes Are Essential

Post by julianvb » Thu Aug 09, 2018 1:34 pm

trylip,

'inxi -F' now shows my typical startup RAM usage as 341MB from my previous typical value of 531MB, a drop of about 200MB, after I implemented all your suggestions except the last one involving cinnamon-settings-daemon-automount.desktop.

By the way, virtualbox was not installed according to synaptic. 'systemd-analyze blame' shows a slight improvement per my attachment here due to the above changes.
new-blame.png
Thanks very much.
julianvb
Julianvb: A (Kernel: 4.4.0-111-generic i686, LM18.3 Sylvia, 32-bit, Desktop Cinnamon 3.6.7, Atom N270 CPU, 2gb RAM, 64gb SSD)
B (Kernel: 4.10.0-38-generic i686, LM18.3 Sylvia, 32-bit, Desktop MATE 1.18.0, Atom N270 CPU, 2gb RAM, 64gb SSD)
.
.

DAMIEN1307
Level 6
Level 6
Posts: 1146
Joined: Tue Feb 21, 2017 8:13 pm
Location: Alamogordo, New Mexico

Re: Which Linux User Processes Are Essential

Post by DAMIEN1307 » Thu Aug 09, 2018 4:28 pm

hi julian...i noticed in your readout that there is a virtualbox-guest entry in the list...if you are not going to run "wine" "playonlinux" or any other windows type emulators, then you can run these commands as well...you can also remove ndiswrapper as well unless you need some sort of win xp legacy network device...DAMIEN


Purge ndiswrapper

sudo apt purge ndiswrapper


Mono/Orca Removal

sudo apt purge mono-runtime-common gnome-orca virtualbox-guest*


Purge Virtualbox

sudo apt purge virtualbox*
ORDO AB CHAO

julianvb
Level 4
Level 4
Posts: 474
Joined: Sat Dec 14, 2013 9:43 pm
Location: Virginia Beach, VA

Re: Which Linux User Processes Are Essential

Post by julianvb » Thu Aug 09, 2018 4:48 pm

hi julian...i noticed in your readout that there is a virtualbox-guest entry in the list...if you are not going to run "wine" "playonlinux" or any other windows type emulators, then you can run these commands as well...you can also remove ndiswrapper as well unless you need some sort of win xp legacy network device...DAMIEN

Purge ndiswrapper
sudo apt purge ndiswrapper

Mono/Orca Removal
sudo apt purge mono-runtime-common gnome-orca virtualbox-guest*

Purge Virtualbox
sudo apt purge virtualbox*
DAMEN,
Thank you so much for your sharp and very helpful observation. I'll purge the above 3 items and report back asap. I haven't used ndiswrapper for at least 5 years since most of my wireless adapters are Linux-compatible.
julianvb
Julianvb: A (Kernel: 4.4.0-111-generic i686, LM18.3 Sylvia, 32-bit, Desktop Cinnamon 3.6.7, Atom N270 CPU, 2gb RAM, 64gb SSD)
B (Kernel: 4.10.0-38-generic i686, LM18.3 Sylvia, 32-bit, Desktop MATE 1.18.0, Atom N270 CPU, 2gb RAM, 64gb SSD)
.
.

julianvb
Level 4
Level 4
Posts: 474
Joined: Sat Dec 14, 2013 9:43 pm
Location: Virginia Beach, VA

Re: Which Linux User Processes Are Essential

Post by julianvb » Thu Aug 09, 2018 5:12 pm

DAMEN
Purge ndiswrapper
sudo apt purge ndiswrapper

Mono/Orca Removal
sudo apt purge mono-runtime-common gnome-orca virtualbox-guest*

Purge Virtualbox
sudo apt purge virtualbox*
I successfully purged ndiswrapper, but the system indicated that virtualbox was not installed and that it could not locate the 'virtual-guest' package.
Post-reboot RAM usage remains about the same as before, namely 344 MB out of 2GB. Thanks very much again.

julianvb
Julianvb: A (Kernel: 4.4.0-111-generic i686, LM18.3 Sylvia, 32-bit, Desktop Cinnamon 3.6.7, Atom N270 CPU, 2gb RAM, 64gb SSD)
B (Kernel: 4.10.0-38-generic i686, LM18.3 Sylvia, 32-bit, Desktop MATE 1.18.0, Atom N270 CPU, 2gb RAM, 64gb SSD)
.
.

julianvb
Level 4
Level 4
Posts: 474
Joined: Sat Dec 14, 2013 9:43 pm
Location: Virginia Beach, VA

Re: Which Linux User Processes Are Essential

Post by julianvb » Thu Aug 09, 2018 6:11 pm

DAMEN,

What can I do with the following big RAM eaters revealed by 'htop -u jul'?
aug35-htop-u-jul.png
I apologize for the blurry picture due to this websize's restrictions on uploaded image files. The entries are 'cinnamon --replace', 'nemo-desktop', 'nxnode' and 'cinnamon-screensaver'.

julianvb
Julianvb: A (Kernel: 4.4.0-111-generic i686, LM18.3 Sylvia, 32-bit, Desktop Cinnamon 3.6.7, Atom N270 CPU, 2gb RAM, 64gb SSD)
B (Kernel: 4.10.0-38-generic i686, LM18.3 Sylvia, 32-bit, Desktop MATE 1.18.0, Atom N270 CPU, 2gb RAM, 64gb SSD)
.
.

User avatar
trytip
Level 8
Level 8
Posts: 2400
Joined: Tue Jul 05, 2016 1:20 pm

Re: Which Linux User Processes Are Essential

Post by trytip » Thu Aug 09, 2018 10:44 pm

if you open system monitor and search for "virtual" is there any service that is running? my OCD would really want that virtualbox-guest-utils.service from showing up on my systemd-analyze blame if i don't use virtualbox.

you can also systemctl mask speech-dispatcher.service

ps: when you mask something there is a link created in /etc/systemd/system/ if you right click properties on a link in there and it says Link Target /dev/null that means it is masked
Image

julianvb
Level 4
Level 4
Posts: 474
Joined: Sat Dec 14, 2013 9:43 pm
Location: Virginia Beach, VA

Re: Which Linux User Processes Are Essential

Post by julianvb » Fri Aug 10, 2018 12:08 am

If you open system monitor and search for "virtual" is there any service that is running? my OCD would really want that virtualbox-guest-utils.service from showing up on my systemd-analyze blame if i don't use virtualbox.

you can also systemctl mask speech-dispatcher.service

ps: when you mask something there is a link created in /etc/systemd/system/ if you right click properties on a link in there and it says Link Target /dev/null that means it is masked .
Hi, trylip,

Code: Select all

systemd-analyze blame | grep -i 'virtual' 
outputs : 1.229s virtualbox-guest-utils.service

Code: Select all

systemctl mask speech-dispatch.service
yields : Created symlink from /etc/systemctl/speech-dispatch.service to /dev/null/

Yes, right-clicking properties of speech-dispatch.service in /etc/systemd/system/ confirms that the file is linked to /dev/null/.

Once again, many thanks for your generous help and a lesson on system services.

Julianvb
Julianvb: A (Kernel: 4.4.0-111-generic i686, LM18.3 Sylvia, 32-bit, Desktop Cinnamon 3.6.7, Atom N270 CPU, 2gb RAM, 64gb SSD)
B (Kernel: 4.10.0-38-generic i686, LM18.3 Sylvia, 32-bit, Desktop MATE 1.18.0, Atom N270 CPU, 2gb RAM, 64gb SSD)
.
.

DAMIEN1307
Level 6
Level 6
Posts: 1146
Joined: Tue Feb 21, 2017 8:13 pm
Location: Alamogordo, New Mexico

Re: Which Linux User Processes Are Essential

Post by DAMIEN1307 » Sat Aug 11, 2018 2:44 pm

hi julian...one other thing i noticed in the "signature" portion at bottom of your posts...are you still running those kernels on both of your machines ?...they are now end of life (eol) kernels...you might want to consider updating your kernels to either the 4.4 series or the 4.15 series which are both LTS kernels, meaning they will still be supported...just a thought...DAMIEN
ORDO AB CHAO

User avatar
trytip
Level 8
Level 8
Posts: 2400
Joined: Tue Jul 05, 2016 1:20 pm

Re: Which Linux User Processes Are Essential

Post by trytip » Sat Aug 11, 2018 2:57 pm

remember that if you mask a service and need it again to systemctl unmask speech-dispatch.service which will remove the link in /etc/systemd/system/
and do be careful with systemd some services have other small .target or .socket that also needs to be disabled.

tip: when you boot and once the mint logo appears use ESC and this will tell you if anything is wrong if you see any RED entries something is bad. use gnome-logs to see these errors they will be in the Important tab
Image

julianvb
Level 4
Level 4
Posts: 474
Joined: Sat Dec 14, 2013 9:43 pm
Location: Virginia Beach, VA

Re: Which Linux User Processes Are Essential

Post by julianvb » Sat Aug 11, 2018 6:37 pm

DAMEN,
I've just updated my signature. When I get a chance, I'll replace my second machine's kernel with the 4.4 series.
Thanks very much for reminding me.
julianvb
Julianvb: A (Kernel: 4.4.0-111-generic i686, LM18.3 Sylvia, 32-bit, Desktop Cinnamon 3.6.7, Atom N270 CPU, 2gb RAM, 64gb SSD)
B (Kernel: 4.10.0-38-generic i686, LM18.3 Sylvia, 32-bit, Desktop MATE 1.18.0, Atom N270 CPU, 2gb RAM, 64gb SSD)
.
.

julianvb
Level 4
Level 4
Posts: 474
Joined: Sat Dec 14, 2013 9:43 pm
Location: Virginia Beach, VA

Re: Which Linux User Processes Are Essential

Post by julianvb » Sat Aug 11, 2018 6:40 pm

trylip,
by trytip » Sat Aug 11, 2018 2:57 pm
remember that if you mask a service and need it again to systemctl unmask speech-dispatch.service which will remove the link in /etc/systemd/system/
and do be careful with systemd some services have other small .target or .socket that also needs to be disabled.

tip: when you boot and once the mint logo appears use ESC and this will tell you if anything is wrong if you see any RED entries something is bad. use gnome-logs to see these errors they will be in the Important tab
Thank you so much for pointing out the fine points on Linux services. I'll certainly bear them in mind.
julianvb
Julianvb: A (Kernel: 4.4.0-111-generic i686, LM18.3 Sylvia, 32-bit, Desktop Cinnamon 3.6.7, Atom N270 CPU, 2gb RAM, 64gb SSD)
B (Kernel: 4.10.0-38-generic i686, LM18.3 Sylvia, 32-bit, Desktop MATE 1.18.0, Atom N270 CPU, 2gb RAM, 64gb SSD)
.
.

Post Reply

Return to “Software & Applications”