Linux System Service

Source: Internet
Author: User
1./usr/sbin/ntsysv -- level 345

On the startup configuration page, if -- level 345 is not specified, only the current startup level is set. Space settings or clear settings, direction keys for selection

Ntsysv is also a call to chkconfig

2/sbin/chkconfig

List service chkconfig [-- list] [service name]

Add service chkconfig -- add service name

Delete service chkconfig -- del service name

Set the start/stop service chkconfig [-- level 345] service name on | off

3 ntsysv/chkconfig can only be set to be valid only at startup, so/sbin/service must be used for Instant Start.

Service name START | stop | restart | status

Linux system service details

1. ACPI-support-you 'd better set the running level in S to "X.

2. acpid-ACPI daemon. These two are used for power management and are important for Laptops and Desktops, so they are enabled.

3. ALSA-if you use the Alsa sound subsystem, yes, enable it.

4. ALSA-utils-in my system, this service replaces ALSA, So I disabled ALSA and enabled it at S running level. ** Note **: "close" refers to removing all "X" from all running levels ". It's okay if you don't have it in your system. Let's continue.

5. anacron-a cron subsystem used to execute any unexecuted cron jobs when the time arrives. When a cron job is ready, you may have shut down your computer. For example, updatedb is scheduled to run at every day, but at that time, your computer was disabled, and if the ananron service was enabled, it will try to grab the updatedb cron... I disable it because I don't close my notebook frequently, but whether or not to enable this service depends on you.

6. apmd-this is a service that is very confusing to me. I have enabled the acpid service. What are the benefits of enabling apmd? If your computer is not so old and cannot even support ACPI, you can try to close it. In any case, I disable it.

7. ATD-like Cron, A Job scheduler. I disabled it.

8. binfmt-support-the core supports other binary file formats. I keep it on

9. bluez-utiles-I turned it off because I don't have any bluetooth device

10. bootlogd-enable it

11. Cron-enable it

12. cupsys-printer management subsystem. I don't have a printer, So I disabled it. If you have a printer, enable it.

13. messaging-message bus system ). It is very important to enable it.

14. DNS-clean-when using a dial-up connection, it is mainly used to clear DNS information. I don't need to dial, So I disabled it.

15. evms-Enterprise Volume Management System (evms). I disabled it.

16. fetchmail-a mail receiving daemon. I disabled it.

17. gmt-gnome Desktop Manager. In any case, I disable it because I use a terminal to guide the system. If you want to direct to the graphic user interface, it depends on you.

18. gdomap-in fact, I don't know why this service must be enabled. I have never seen this daemon in other systems, so I shut it down and I don't think I have lost anything. Is enabling it good for laptops or desktops?

19. GPM-terminal mouse support. If you think it is better to use the mouse on the terminal, enable it in the running level 1 and 2. That's exactly what you need.

20. Halt-do not change it.

21. hdparm-Hard Disk adjustment script. I deleted it in the running level 2, 3, and 4, but added it in the S running level. I think opening DMA early, 32bit I/O, and so on will be beneficial to other processes. I also streamlined the original script. If I know what I am doing, I think it is useless to do too many checks. The corresponding configuration file is/etc/hdparm. conf.

22. hibernate-if your system supports sleep, open it; otherwise, it will be useless to you.

23. hotkey-setup-This daemon creates some hotkey ing for your notebook. Supported Manufacturers include HP, Acer, Asus, Sony, Dell, and IBM. If you have a brand notebook, you can open it, otherwise it may not be good for you.

24. hotplug and hotplug-net # activating the hot swapping system is time-consuming. I will consider turning them off. I made many changes to the/etc/Network/interfaces file and set it to run automatically, instead of ing my wireless Nic during the hot swapping process. So I can turn them off. I have tested them, even I disabled them, UBUNTU still can detect my USB drive, my digital camera, and so on. So I think it is safe to turn them off. ** note ** if you find that your sound card department is working after the hot swapping service is closed, you can turn the service on, alternatively, edit the/etc/modules file and add the audio/video driver module. Tested, the latter is faster.

25. I shut down the maid printer and graphics subsystem.

26. ifrename-network interface rename script. It sounds cool, but I turned it off. It is mainly used to manage multiple network interface names. Although I have a wireless network card and an Ethernet card, the two are identified by the kernel as eth0 and ATH0, so this service is not very useful to me.

27. ifupdown and ifupdown-clean-open it. These are the network and port activation scripts at startup.

28. inetd or inetd. Real-view the file/etc/inetd. conf to comment out all services you don't need. If the file does not contain any services, it is safe to disable it.

29. klogd-open it.

30. Linux-restricted-modules-common-you should check whether your system has any restricted modules. Since I need the madwifi ath_pci module, I will enable it. Restricted modules can be viewed from/lib/Linux-restricted-modules. If you find that you have not used any restricted modules, it is okay to disable this service.

31. LVM-I have not used logical volumes, So I disable this service. Enable it If you * indeed * have LVM (LVM is not extended here as the logical volume manager ).

32. makedev-open it.

33. mdamd-raid management tool. I disable this service because raid is not used.

34. Module-init-tools-load the extension module from/etc/modules. You can study the/etc/modules file to check whether there are modules you don't need. We usually enable this service.

35. Networking-add network interfaces and configure DNS information by scanning the/etc/Network/interfaces file during startup. Open it.

36. ntpdate-synchronization time through the Ubuntu time server. I don't need it when I start it, so I turned it off.

37. NVIDIA-kernel-I compiled the NVIDIA driver myself, so this service is useless to me. If you use the NVIDIA driver from a restricted module, enable this service.

38. PCMCIA-activate the pcmica device. I open this service at S running level instead of 2, 3, 4, 5 running level, because I think it is better to prepare the hardware at first. If you are using a desktop without a pcmica card, disable this service.

39. Portmap-manages daemon for services such as NIS and NFS. If your laptop or desktop is a pure client, disable this service.

40. powernowd-client program for managing CPU frequencies. This notebook is mainly used to support CPU speed stepping technology. Generally, if you are configuring a notebook, you should enable this service. If it is a desktop, this service should be useless.

41. PPP and PPP-DNS-are useless to me. I do not use dialing.

42. readahead-** thanks to mr_pouit! ** Readahead seems to be a type of "preload program ". At startup, it loads some library files into the memory so that some programs can start faster. However, it increases the startup time by 3-4 seconds. So you can keep it... Or no. ** Update **: After my test, I think the loader is no different. So I decided to disable this service. If you have reason to open this service, open it.

43. Reboot-do not change it.

44. resolvconf-automatically configure the DSN information according to your network status. I will open it.

45. rmnologin-If nologin is found, remove it. This will not happen in the notebook, so I will get rid of it.

46. Rsync-rsync daemon. I don't plan to use the rsync protocol in my notebook, So I disable it

47. sendsigs-send signals during restart and shutdown. Let it go.

48. Single-activate single-user mode. Let it go.

49. Ssh-ssh daemon. I need SSH, So I open this service.

50. Stop-bootlogd-Stop bootlogd from 2, 3, 4, 5. Let it go.

51. Sudo-check the sudo status. I did not see any benefits of using sudo on a laptop or Desktop client, so I disabled it.

52. sysklogd-Let it go.

53. udev and udev-monoclonal-user space Dev File System (userspace Dev filesystem ). Good stuff. I will open them.

54. umountfs-Let it go.

55. urandom-random number generator. It may be useless, but I keep it.

56. usplash-well, if you want to see a beautiful boot screen, let it go. In any case, disable this service. If you want to disable it, you can also comment out the splashp_w_picpath line in the/boot/GRUB/menu. LST file to remove the splash core options.

57. vbesave-video card BIOS Configuration tool. It can save the status of your video card. I will enable it.

58. Xorg-common-set X service ice socket. I started it from S to 2, 3, 4, 5. If I direct to the single-user mode, I do not need this service. This method will not take up time during initial boot.

59. adjtimex-this is also a tool for adjusting the core HW clock. Usually you will not see it in the boot list. In rare cases, if you see it in the boot process, it is a reason, so it is best to let it go. In my case, it is disabled.

60. dirmngr-certification lists management tool ). Work with GnuPG. You must check whether you need it. In my case, I switched it off.

61. hwtools-An irqs optimized tool. Not sure about the benefits of opening it. In my case, I switched it off.

62. libpam-devperm-a daemon used to repair the device file license after a system crash. It sounds good, so I opened it.

63. lm-sensors-if your motherboard has some sensor chips built in, it may be helpful to view the HW status through user space. I ran it, But it prompts "No sensor found", so I disabled this service. 64. The mdadm-raid-function is the same as that of the mdadm service. Used to manage raid devices. If you do not have such a device, turn it off.

65. Screen-cleanup-a script used to clear the boot screen. Well, whether or not to close it is up to you. In my case, I opened it.

66. xinetd-An inetd super daemon used to manage other daemon. In my system, xinetd manages Chargen, daytime, ECHO, and time (in/etc/xinetd. d directory found), I do not have any relationship, so I disabled this service. If you do have some important services in Xinetd, open it.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.