What command would you execute to list socket units ordered by the listening address, and
also show the type of socket that it is? Correct Ans-systemctl list-sockets --show-types
What command would you execute to display all units that failed at the last system boot?
Correct Ans-systemctl --failed
What command would you execute to check the current operational status of the sshd service
and its location in the cgroup subtree? Correct Ans-systemctl status sshd
What command would you execute to prevent the crond service from starting at system boot?
Correct Ans-systemctl disable crond
What command would you execute to see if the rsyslog service is running? Correct Ans-
systemctl is-active rsyslog
What command would you execute to start the cups service Correct Ans-systemctl start cups
What command would you execute to display details for the libvirtd service? Correct Ans-
systemctl show libvirtd
, What command would you execute to transition into the multi-user target, equivalent to
switching to runlevel 3? Correct Ans-systemctl isolate multi-user.target
What command would you execute to reboot the system? Correct Ans-systemctl reboot
What command would you execute to power off the system? Correct Ans-systemctl
poweroff
What command would you execute to display the total amount of time that the last boot
process had taken? Correct Ans-systemd-analyze
What command would you execute to display the amount of time it had taken to start each
service during the last system boot? Correct Ans-systemd-analyze blame
What command would you execute to display the cgroup hierarchy of Systemd processes?
Correct Ans-systemd-cgls
What command would you execute to display resource consumption by cgroup, which is
constantly updated? Correct Ans-systemd-cgtop
What command would you execute to set the CPUShares property for the rsyslog service to
2048?? Correct Ans-systemctl set-propery rsyslog CPUShares=2048
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 TheeGrades. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $8.99. You're not tied to anything after your purchase.