You should periodically review what services are running and remove any that are no longer needed. One way to check is to use the following command: (Note that this command checks for services running in run level 3)
chkconfig –-list |grep ‘3:on’
If you see any services you need to stop and disable you can use these commands:
service <servicename> stop
chkconfig <servicename> off
the first one stops the service; the second one removes it from the list of services that start when you initialize a runlevel (such as system startup).
No comments:
Post a Comment