How to view and stop Linux-initiated services

Source: Internet
Author: User
Tags snmp

1. View Linux-initiated services

Chkconfig--list queries all currently running Services Chkconfig--list ATD Query ATD The current status of the service 2. Stop all services and do not start the next time the system starts, as follows: Chkconfig--levels 12345 NetworkManager off if you want to see the service that is currently running, use the following statement to filter Chkconfig--list |grep on 3. If you just want the current setting to be valid, it won't take effect after the system restarts. You can use the following command to stop the service for the sshd stop Additionally, a description of the more complete service included in the Linux system and instructions for whether to start
Service Name Function Enabled by default Recommended Description
NetworkManager Services to automatically connect to the network X Can not
Acpid Advanced Configuration and Power management interfaces 0 Open, Advanced power management
Anacron An automated service to run tasks X More advanced than Crond, you can use it.
Apmd Advanced Power Management (legacy hardware supported) X No, apmdacpid. Two Choose one
Atd Cron-like task scheduling system X Enable on-demand, general cron
Auditd Kernel Audit Daemon X No, seliux related.
AutoFS CD-ROM NFSSMB auto-load unload function Enable on Demand

Service Name Function Enabled by default Recommended Description
Avahi-daemon Find machines based on the ZEROCONF protocol X Can not
Avahi-dnsconfd Avahi DNS Demo X Can not
Bluetooth Bluetooth wireless Communication X Can not
Clvmd Cluster LVM X Cluster-related
Cman X Cluster-related
Conman Remote consoles managed by Conmand X Can not
Cpuspeed Adjusting the CPU frequency may cause time problems X Can not
Crond and Scheduled Tasks 0 It is highly recommended to open
Cups Print Service X Can not
Dnsmasq DNS cache server X Can not
Dund Supports dialup networking over Bluetooth X Can not
Firstboot Initial Setup tool after system installation X Can not
Gfs Global file System X Cluster-related
Gfs2 X Cluster-related
gpm Mouse support in the console environment 0 Recommended to open
Haldaemon Enable hardware Auto-detect Mount functionality 0 Recommended to open (dependent Messagebus service)
Hidd Bluetooth H.I.D. Service X Can not
httpd Apache Enable on Demand
Ibmasm IBM Hardware Management X Can not
Ip6tables IPv6 firewall X Can not
Ipmi Intelligent Platform Management interface to monitor system status X Can not
Iptables IPv4 Firewall Enable on Demand
Ipvsadm Cluster load dispersion correlation X Cluster-related
Irda Infrared communication X Can not
Irqbalance CPU Load Balancing 0 Multi-core CPU above required
Kdump Dump memory run parameters with kernel crash X Can not
Kudzu Hardware Change Detection Program X Can not
Lm_sensors CPU Temperature Detection Tool (?) X Can not
Luci Cluster Service related X Cluster-related
Lvm2-monitor LVM-related X Cluster-related
Mcstrans Used to check the context under SELinux. X Can not be related to SELinux
Mdmonitor Soft RAID management Tools Enable on Demand
Mdmpd Soft RAID Management monitoring tool Enable on Demand
Messagebus Responsible for passing messages between the various system processes 0 Opening Haldaemon must be
Microcode_ctl X Can not
Modclusterd Cluster related X Can not
Multipathd Monitoring multi-Path devices X Can not
Mysqld MySQL Database Enable on Demand
Named BIND9 DNS Server Enable on Demand
Netconsole Initializing the network control log X Can not
Netfs Installing and uninstalling NFS, Samba, and NCP network file systems X Can not
Netplugd Network card daemon process cable hot swap monitoring X Can not
Network Network Services 0 Open
Nfs NFS Network File System X Can not
Nfslock NFS File Lock Daemon X Can not
Nscd Name cache, Service cache daemon X No, named related.
Ntpd Network/system Clock Synchronization Service X Can not
Oddjobd Related to D-bus X Can not
Openais associated with cluster, heartbeat similar Cluster-related
Pand BlueZ Bluetooth PAN X No, Bluetooth-related
Pcscd Smart card, Card reader support X Can not
Piranha-gui Related to cluster X Cluster-related
Portmap Nfs/nis daemon for RPC dynamic port allocation X Not available, NFS-related
Psacct Process Audit Daemon X Can not
Pulse LVS LVM Related X Cluster-related
Qdiskd Related to cluster X Cluster-related
Rdisc Implementing the ICMP Router Discovery protocol for the client X Only one router can be used without
Readahead_early Pre-loading specific applications into memory to provide performance 0 Open
Readahead_later Ditto X system default Settings
Restorecond SELinux related Projects X Can not use, selinux phase magnetic
Rgmanager Related to cluster X Cluster-related
Ricci Related to cluster X Cluster-related
Rpcgssd NFS-related X Not available, NFS-related
Rpcidmapd RPC Name to Uid/gid Mapper X Not available, NFS-related
Rpcsvcgssd NFS-related X Not available, NFS-related
Saslauthd Using SASL's authentication daemon, sendmail related X No, sendmail related.
Scsi_reserve SCSI Persistent Reservations cluster related X Cluster-related
SendMail Mail Demo Enable on-demand, sendmail related
Setroubleshoot Procedures for viewing SELinux logs, SELinux-related X No, SELinux-related
Smartd The daemon of hard disk automatic detection 0 Open
Smb Samba File Server Enable on Demand
Snmpd SNMP-related Enabled on demand, time synchronization between clusters is required
Snmptrapd SNMP-related X Enabled on demand, time synchronization between clusters is required
Sshd SSH Service 0 Open
Syslog System login, log necessary program 0 Open
Tog-pegasus Cluster-related X No, cluster-related
Vncserver VNC Remote Control Enable on Demand
Wdaemon X World2.1 part of the Web mail system to provide the HTTP interface client X Can not
Winbind Allows UNIX systems to take advantage of Windows NT user account information, Samba related X Can not
Wpa_supplicant WIFI-WPA Certification Enable on Demand
Xfs X Window Font Server daemon X Can not
Ypbind Network Information Service (NIS) client Enable on Demand
Yum-updatesd Yum Auto Upgrade Automatic upgrade. Sometimes an automatic upgrade can cause problems, especially when using PHP.
example, you can write a service that does not need to be started into a script, directly with the SH file name can be executed chkconfig--levels 0123456 NetworkManager offchkconfig--levels 0123456 Anacron Offchkconfig--levels 0123456 auditd offchkconfig--levels 0123456 avahi-daemon offchkconfig--levels 0123456 bluetooth of Fchkconfig--levels 0123456 clvmd offchkconfig--levels 0123456 cman offchkconfig--levels 0123456 cups offchkconfig--lev Els 0123456 GFs offchkconfig--levels 0123456 gfs2 offchkconfig--levels 0123456 hidd offchkconfig--levels 0123456 httpd Offchkconfig--levels 0123456 iptables offchkconfig--levels 0123456 ip6tables offchkconfig--levels 0123456 ipvsadm offch Kconfig--levels 0123456 Luci offchkconfig--levels 0123456 mcstrans offchkconfig--levels 0123456 pand offchkconfig--lev Els 0123456 nrestorecond offchkconfig--levels 0123456 Ricci offchkconfig--levels 0123456 rmanager offchkconfig--levels 0123456 saslauthd offchkconfig--levels 0123456 sendmail offchkconfig--levels 0123456 SMB offchkconfig--levels 0123456 s NMP offchkconfig--levels 0123456 SNMPTRAPD offchkconfig--levels 0123456 tog-pegasus offchkconfig--levels 0123456 Wdaemon off

Turn from "http://blog.chinaunix.net/uid-16844439-id-3241471.html"

How to view and stop Linux-initiated services

Related Article

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.