System V style init and systemd in practice

Slashdot it! Delicious Share on Facebook Tweet! Digg!

Listing Processes (systemd)

The administration via systemd puts each service into its own kernel control group or cgroup . This lets you determine, at a glance, which processes belong to which unit.

You will find a tree view similar to the one in pstree (Figure 8).

Figure 8: A process tree presented with systemd-cgls.

Creating a Container (systemd)

You can create containers with the systemd-nspawn instruction. This topic is too big for the space restrictions of this article, so that subject matter receives only a mention here. Containers can be queried with the following command:

systemctl list-machines

See Figure 9.

Figure 9: Listing of a container.

Buy this article as PDF

Express-Checkout as PDF

Pages: 1

Price $0.99
(incl. VAT)

Buy Ubuntu User

Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Systemd as central control for the Linux system

    Some Linux followers see systemd as the best thing since sliced bread – for others, it's the work of the devil. However, it also has the stuff to clear out old trenches and form a unified base for Linux.

  • Innovation in the Linux environment

    Testers constantly encounter new trends in the experimental branches of Linux distributions. I look at who drives Linux forward and how the future is shaping up.

  • What is Upstart?

    Originally created for use in Ubuntu, Upstart is suitable for deployment in all Linux distributions as an alternative to the System-V init.

  • Installing and testing Nextcloud

    Leading ownCloud developers, including the project founder Frank Karlitschek, became dissatisfied with the direction of the project, so they started Nextcloud, a fork of the code and a new company. The goal is to create a better balance among the company, clients, and users. We take a look at how Nextcloud is faring.

  • Use multiple distributions at the same time with Bedrock Linux

    Bedrock transparently combines virtually any number of distributions with different architectures, package management, and init systems under a filesystem.