Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I NEED HELP THIS THIS LINUX IN CENTOS OS, How do i dos this rite a systemd service unit called heartbeat. The function of this

I NEED HELP THIS THIS LINUX IN CENTOS OS, How do i dos this

rite a systemd service unit called heartbeat. The function of this service is to write a log message to /var/log/messages every ten seconds. Start this service.

When you run the command systemctl status heartbeat, you should see output similar to the following:

[root@localhost system]$ systemctl status heartbeat.service  heartbeat.service - heartbeat service Loaded: loaded (/etc/systemd/system/heartbeat.service; disabled; vendor preset: disabled) Active: active (running) since Mon 2018-01-08 21:15:14 EST; 1min 34s ago Main PID: 24626 (bash) CGroup: /system.slice/heartbeat.service 24626 /usr/bin/bash -c while sleep 10; do /usr/bin/logger Still alive...; done 27946 sleep 10 Jan 08 21:15:14 localhost.localdomain systemd[1]: Started heartbeat service. Jan 08 21:15:14 localhost.localdomain systemd[1]: Starting heartbeat service... 

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Securing SQL Server Protecting Your Database From Attackers

Authors: Denny Cherry

2nd Edition

1597499471, 978-1597499477

More Books

Students also viewed these Databases questions

Question

Write a function that concatenates all the values of a dictionary.

Answered: 1 week ago