Command is used to manage different types of systemd objects, called units
Right Ans - systemctl
List of available unit types Right Ans - systemctl -t help
Have a .service extension and represent system services Right Ans - Service
units
have a .socket extension and represent inter-process communication (IPC)
sockets Right Ans - Socket Units
have a .path extension and are used to delay the activation of a service until a
specific file system change occurs. Right Ans - Path Units
Systemctl Status - Unit configuration file has been processed. Right Ans -
loaded
Systemctl Status - Running with one or more continuing processes. Right
Ans - active (running)
Systemctl Status - Successfully completed a one-time configuration Right
Ans - active (exited)
Systemctl Status - Running but waiting for an event Right Ans - active
(waiting)
Systemctl Status - not running Right Ans - inactive
Systemctl Status - will be started @ boot time Right Ans - enabled
Systemctl status - will not be started @ boot time Right Ans - disabled
Systemctl status - Can not be enabled, but may be started by an enabled unit
automatically Right Ans - static
Query the state of only the service units. Right Ans - systemctl --
type=service
, Investigate any units which are in a failed or maintenance state. Optionally,
add the -l option to show the full output Right Ans - systemctl status
<service> -l
status argument may also be used to determine if a particular unit is active
Right Ans - systemctl is-active <service>
show if the unit is enabled to start at boot time Right Ans - systemctl is-
enabled <service>
List the active state of all loaded units. The --all option will add inactive units.
Right Ans - systemctl list-units --type=service
systemctl list-units --type=service --all
View the enabled and disabled settings for all units Right Ans - systemctl
list-unit-files --type=service
View only failed services. Right Ans - systemctl --failed --type=service
View the status of a service. Right Ans - systemctl status <service>
stop the service Right Ans - systemctl stop <service>
Start the service Right Ans - systemctl start <service>
restart service Right Ans - systemctl restart <service>
Issue instructions for a service to read and reload its configuration file
without a complete stop and start. Right Ans - systemctl reload <service>
command can be used to print out a tree of what other units must be started if
the specified unit is started. Right Ans - systemctl list-dependencies UNIT
prevent an administrator from accidentally starting a service Right Ans -
systemctl mask|unmask <service>
Disable the service Right Ans - systemctl disable <service>
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller LeCrae. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $10.49. You're not tied to anything after your purchase.