more than 50 services? Is it normal?

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
Skuff1975
Level 1
Level 1
Posts: 3
Joined: Thu Apr 18, 2019 11:51 pm

more than 50 services? Is it normal?

Post by Skuff1975 »

Hi everytone,
I have been using linux mint for a couple of years, but I am really bad at the technical part, I am just a user.
I always had the feeling that I am running too many "services" but now I found a way to list them all, and it's ...more than 50!!!

Is it normal? the system mentions 196 services, but i can only see about 60

Thanks

Code: Select all

-rwxr-xr-x 1 root root  2243 Feb  9  2016 acpid
-rwxr-xr-x 1 root root  5336 Apr 15  2016 alsa-utils
-rwxr-xr-x 1 root root  2014 Dec 28  2014 anacron
-rwxr-xr-x 1 root root  2401 Nov  4  2015 avahi-daemon
-rwxr-xr-x 1 root root  1322 Feb 21  2016 binfmt-support
-rwxr-xr-x 1 root root  2968 Mar  1  2016 bluetooth
-rwxr-xr-x 1 root root  1275 Jan 19  2016 bootmisc.sh
-rwxr-xr-x 1 root root  2125 Apr 27  2016 brltty
-rwxr-xr-x 1 root root  3565 Sep 15  2015 cgmanager
-rwxr-xr-x 1 root root  3354 Sep 15  2015 cgproxy
-rwxr-xr-x 1 root root  3807 Jan 19  2016 checkfs.sh
-rwxr-xr-x 1 root root  1098 Jan 19  2016 checkroot-bootclean.sh
-rwxr-xr-x 1 root root  9353 Jan 19  2016 checkroot.sh
-rwxr-xr-x 1 root root  1343 Apr  4  2016 console-setup
-rwxr-xr-x 1 root root  2489 May  6  2012 cpufrequtils
-rwxr-xr-x 1 root root  3049 Apr  5  2016 cron
-rwxr-xr-x 1 root root   937 Mar 28  2015 cryptdisks
-rwxr-xr-x 1 root root   896 Mar 28  2015 cryptdisks-early
-rwxr-xr-x 1 root root  1961 Feb 13  2016 cups-browsed
-rwxr-xr-x 1 root root  2813 Dec  2  2015 dbus
-rwxr-xr-x 1 root root  1172 Oct 23  2015 dns-clean
-rwxr-xr-x 1 root root  1105 Mar 15  2016 grub-common
-rwxr-xr-x 1 root root  1336 Jan 19  2016 halt
-rwxr-xr-x 1 root root  3060 Oct 29  2012 hddtemp
-rwxr-xr-x 1 root root  1423 Jan 19  2016 hostname.sh
-rwxr-xr-x 1 root root  3809 Mar 12  2016 hwclock.sh
-rwxr-xr-x 1 root root  2372 Apr 11  2016 irqbalance
-rwxr-xr-x 1 root root  3102 Mar 10  2016 kerneloops
-rwxr-xr-x 1 root root  1804 Apr  4  2016 keyboard-setup
-rwxr-xr-x 1 root root  1300 Jan 19  2016 killprocs
-rwxr-xr-x 1 root root  2087 Dec 21  2015 kmod
-rwxr-xr-x 1 root root   869 Feb  6  2011 lm-sensors
-rwxr-xr-x 1 root root  6912 May  6  2012 loadcpufreq
-rwxr-xr-x 1 root root   695 Oct 30  2015 lvm2
-rwxr-xr-x 1 root root   571 Oct 30  2015 lvm2-lvmetad
-rwxr-xr-x 1 root root   586 Oct 30  2015 lvm2-lvmpolld
-rwxr-xr-x 1 root root   703 Jan 19  2016 mountall-bootclean.sh
-rwxr-xr-x 1 root root  2301 Jan 19  2016 mountall.sh
-rwxr-xr-x 1 root root  1461 Jan 19  2016 mountdevsubfs.sh
-rwxr-xr-x 1 root root  1564 Jan 19  2016 mountkernfs.sh
-rwxr-xr-x 1 root root   711 Jan 19  2016 mountnfs-bootclean.sh
-rwxr-xr-x 1 root root  2456 Jan 19  2016 mountnfs.sh
-rwxr-xr-x 1 root root  4771 Jul 19  2015 networking
-rwxr-xr-x 1 root root  1757 May 12  2016 network-manager
-rwxr-xr-x 1 root root  1833 Feb 11  2016 ntp
-rwxr-xr-x 1 root root  1581 Oct 16  2015 ondemand
-rwxr-xr-x 1 root root 10240 Jan 21  2016 openvpn
-rwxr-xr-x 1 root root  1366 Sep  4  2016 plymouth
-rwxr-xr-x 1 root root   752 Sep  4  2016 plymouth-log
-rwxr-xr-x 1 root root   612 Jan 27  2016 pppd-dns
-rwxr-xr-x 1 root root  1192 Sep  6  2015 procps
-rwxr-xr-x 1 root root  6366 Jan 19  2016 rc
-rwxr-xr-x 1 root root   820 Jan 19  2016 rc.local
-rwxr-xr-x 1 root root   117 Jan 19  2016 rcS
-rw-r--r-- 1 root root  2427 Jan 19  2016 README
-rwxr-xr-x 1 root root   661 Jan 19  2016 reboot
-rwxr-xr-x 1 root root  4149 Nov 23  2015 resolvconf
-rwxr-xr-x 1 root root  4355 Jul 10  2014 rsync
-rwxr-xr-x 1 root root  2796 Feb  3  2016 rsyslog
-rwxr-xr-x 1 root root  2522 Jul 10  2015 saned
-rwxr-xr-x 1 root root  1808 Jan 15  2016 sddm
-rwxr-xr-x 1 root root  3927 Jan 19  2016 sendsigs
-rwxr-xr-x 1 root root   597 Jan 19  2016 single
-rw-r--r-- 1 root root  1087 Jan 19  2016 skeleton
-rwxr-xr-x 1 root root  2117 Feb 18  2016 speech-dispatcher
-rwxr-xr-x 1 root root  1154 Jan 29  2016 thermald
-rwxr-xr-x 1 root root  6087 Apr 12  2016 udev
-rwxr-xr-x 1 root root  2049 Aug  7  2014 ufw
-rwxr-xr-x 1 root root  2737 Jan 19  2016 umountfs
-rwxr-xr-x 1 root root  2202 Jan 19  2016 umountnfs.sh
-rwxr-xr-x 1 root root  1879 Jan 19  2016 umountroot
-rwxr-xr-x 1 root root  1379 Feb 18  2016 unattended-upgrades
-rwxr-xr-x 1 root root  3111 Jan 19  2016 urandom
-rwxr-xr-x 1 root root  1306 May 27  2016 uuidd
-rwxr-xr-x 1 root root  2146 Jun 29  2016 virtualbox-guest-utils
-rwxr-xr-x 1 root root  2757 Nov 10  2015 x11-common
Last edited by Moem on Fri Apr 19, 2019 2:17 am, edited 1 time in total.
Reason: Adding [code] tags. It puts long output into a neat scrollable box.
User avatar
catweazel
Level 19
Level 19
Posts: 9884
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: more than 50 services? Is it normal?

Post by catweazel »

Skuff1975 wrote:
Thu Apr 18, 2019 11:57 pm
Hi everytone,
I have been using linux mint for a couple of years, but I am really bad at the technical part, I am just a user.
I always had the feeling that I am running too many "services" but now I found a way to list them all, and ...
... failed to give the command that you used. Your output, which should have been enclosed between [ⅽode] and [/ⅽode] code markers by selecting </> from the mini toolbar above the textbox where you type your reply, appears to be a directory listing. A directory listing will only tell you how many files are in the directory that you listed, not the services that are available.

service --status-all will show all services. A + means it's running, and - means it isn't.

To see all currently running services, service --status-all | grep +
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.
Petermint
Level 6
Level 6
Posts: 1256
Joined: Tue Feb 16, 2016 3:12 am

Re: more than 50 services? Is it normal?

Post by Petermint »

A more useful approach on many computers is to look at what the services are using. Start Administration -> System Monitor. Loot at processes. You can sort by CPU usage and memory usage. Anything using zero CPU and only a few KB of memory is not going to slow down processing.

In the trivial list, you will find lots of little services like the csd-printer service. They do nothing until you need to print or share a file or something similar. They might present an icon on the panel at the bottom of the screen.

The real resource killers are things like Chrome. You might want to switch to a less demanding application or switch off some of the stupid settings in some applications.

In the middle are mysqld and similar services. I use MySQL occasionally for development tests. I could leave MySQL switched off most of the time to save 70 MB then switch MySQL on only when needed. Currently I use only 1.9 GB out of 3.8 GB and do not bother to switch off unused processes.

If I used Chrome, it would be different, it would be a major war against anything using memory because the maximum is never enough for Chrome.

The other reason to switch of services is to make the boot time shorter. I use a good SSD so that is not a problem.
Post Reply

Return to “Newbie Questions”