---
title: "chkconfig Command Examples for Red Hat and CentOS"
source: "https://docs.nexcess.com/hosting/server-administration/linux/chkconfig-command-examples-for-red-hat-and-centos/"
description: "Working from a CentOS 7 server as root, these instructions are intended specifically for checking and updating chkconfig."
vertical: "Hosting"
date: "2014-09-29"
last_modified: "2026-07-29"
---

# chkconfig Command Examples for Red Hat and CentOS

chkconfig is a command for checking and updating runlevel information for system services. For a primer on runlevels, check out our tutorial: [Linux Runlevels Explained.](https://www.liquidweb.com/blog/linux-runlevels-explained/)

Pre-Flight Check

- These instructions are intended specifically for checking and updating chkconfig.
- I’ll be working from both a Liquid Web Core Managed CentOS 7 server, and I’ll be logged in as root.
- Your can learn more about our [Linux dedicated server options](https://www.liquidweb.com/dedicated-server-hosting/) on our website.

View Full List of Services Using chkconfig

`chkconfig --list`

View Full List of Services That Start at Boot (Normally, Runlevel 3)

`chkconfig --list | grep 3:on`

Turn On a Service for the Default Run Levels (2,3,4,5)

`chkconfig httpd on`

Turn Off a Service for the Default Run Levels (2,3,4,5)

`chkconfig httpd off`

Turn On a Service for a Selected Run Level

`chkconfig --level 3 httpd on`

It is also possible to combine multiple levels into one command:

`chkconfig --level 35 httpd on`

Turn Off a Service for a Selected Run Level

`chkconfig --level 3 httpd off`

It is also possible to combine multiple levels into one command:

`chkconfig --level 35 httpd off`
