• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • VCS
  • Interview Questions
  • Database
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

CentOS / RHEL 7 : Shutting Down, Suspending, or Rebooting Commands (systemctl)

by admin

In CentOS/RHEL 7, the systemctl utility replaces some older power management commands used in previous versions. The table below compares the older and new equivalent systemctl commands. The old commands listed in the table still exist for compatibility reasons.

Older Command systemctl equivalent Description
halt systemctl halt Halts the system
poweroff systemctl poweroff Powers off the system
reboot systemctl reboot Restarts the system
pm-suspend systemctl suspend Suspends the system
pm-hibernate systemctl hibernate Hibernates the system
pm-suspend-hybrid systemctl hybrid-sleep Hibernates and suspends the system

Suspend

– Suspending the system saves the system state in RAM and with the exception of the RAM module, powers off most of the devices in the machine.
– When you turn the machine back on, the system then restores its state from RAM without having to boot again.
– Because the system state is saved in RAM and not on the hard disk, restoring the system from suspend mode is significantly faster than restoring it from hibernation, but as a consequence, a suspended system state is also vulnerable to power outages.

Hibernate

– Hibernating the system saves the system state on the hard disk drive and powers off the machine.
– When you turn the machine back on, the system then restores its state from the saved data without having to boot again.
– Because the system state is saved on the hard disk and not in RAM, the machine does not have to maintain electrical power to the RAM module, but as a consequence, restoring the system from hibernation is significantly slower than restoring it from suspend mode.

Filed Under: Linux

Some more articles you might also be interested in …

  1. git hash-object: Computes the unique hash key of content and optionally creates an object with specified type
  2. amass enum – Find subdomains of a domain (Command Examples)
  3. test: command not found
  4. composer-require-checker: A CLI tool to analyze Composer dependencies for soft dependencies
  5. terminator Command Examples in Linux
  6. hardinfo Command Examples in Linux
  7. CentOS / RHEL 6 : How to configure 802.1q VLAN On NIC
  8. clockwork-cli: A command-line interface for the Clockwork PHP debugging framework
  9. kcat Command Examples
  10. alex – A tool that catches insensitive, inconsiderate writing (Command Examples)

You May Also Like

Primary Sidebar

Recent Posts

  • Vanilla OS 2 Released: A New Era for Linux Enthusiasts
  • mk Command Examples
  • mixxx Command Examples
  • mix Command Examples

© 2025 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright