Syndicate content

systemd — got to learn that one now

systemd has come as the default boot loader since Ubuntu 15.04. The old version, upstart, is now considered deprecated. Systemd has an interface pretty similar to the upstart service command line.

Command Description Support Persist
systemctl start SERVICE
Start SERVICE Always No
systemctl stop SERVICE
Stop SERVICE Always No
systemctl restart SERVICE
Restart SERVICE Always No
systemctl reload SERVICE
Reload SERVICE Optional Yes
systemctl status SERVICE
Show SERVICE status Always n.a.
systemctl enable SERVICE
Enable SERVICE Always Yes
systemctl disable SERVICE
Disable SERVICE Always Yes
systemctl is-enabled SERVICE
Check whether SERVICE is enabled Always n.a.
systemctl is-active SERVICE
Check whether SERVICE is currently active Always n.a.
systemctl show SERVICE
Show all of SERVICE's information Always n.a.

Also, when a daemon has problem starting, it may print information about it in the console. However, systemd hides all console output from you.

To see the latest output of a process, you'll have to use the journalctl command. In most cases, something like this will work as expected:

    journalctl -a -u SERVICE

It automatically uses less to display the data.

Syndicate content

Diverse Realty

Diverse Realty Team

Want a New Home?
Want to Sell Your House?

Call Alex at
+1 (916)
220 6482

Alexis Wilke, Realtor
Salesperson
Lic. # 02024063

Cory Marcus, Broker
Lic. # 01079165

     

Terms of Site Index

Find the page/content you are looking for with our index.

  • Badger
  • dump

    The dump command, under a Unix system, is used to dump the entire file system to another device. By default, the dump output device is a tape device (/dev/tape). Now a day, however, it is often used with other devices such as another file system (from one hard drive to another.)

    Other systems use that same keyword. It is particularly the case of database systems. For instance, the PostgreSQL database has a pg_dump command.

    The opposite command is restore. That command is used to get the data from the output device and put it back on your hard drive.

  • gVIM
  • register
  • width