How Check Run Level in Linux?

How Check Run Level in Linux?
Contents

What is the run level in Linux?

A runlevel is one of the modes that a Unix-based, dedicated server or a VPS server OS will run on. Each runlevel has a certain number of services stopped or started, giving the user control over the behavior of the machine. Conventionally, seven runlevels exist, numbered from zero to six.

How do I check my current runlevel details?

Check the Runlevel In Linux (Systemd)

  1. runlevel0.target, poweroff.target – Halt.
  2. runlevel1.target, rescue.target – Single-user text mode.
  3. runlevel2.target, multi-user.target – Not used (user-definable)
  4. runlevel3.target, multi-user.target – Full multi-user text mode.

10 июн. 2017 г.

Sarah Jenkins
Author

Sarah Jenkins

Sarah Jenkins is a veteran tech journalist with over 12 years of experience covering artificial intelligence, mobile innovations, and digital ethics. Her insights have appeared in leading technology publications worldwide.