Skip to content

Commit

Permalink
1. Minor grammar changes in man file of hw-management-tc.service
Browse files Browse the repository at this point in the history
2. Add new hw-management-tc service to README file

Signed-off-by: Michael Shych <[email protected]>
  • Loading branch information
Michael Shych committed Aug 6, 2020
1 parent e01326f commit 78fb579
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 9 deletions.
22 changes: 16 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,13 +181,23 @@ sudo apt-get install devscripts build-essential lintian
* remove with: `yum remove hw-management` or `rpm -e hw-management`
## Activation, de-activation and reading status
hw-management can be initialized and de-initialized by systemd service.
The next command could be used in order to configure persistent initialization and de-initialization of hw-management:
- `systemctl enable hw-management`
- `systemctl disable hw-management`
The running status of hw-management unit can be obtained by the following command:
hw-management package from release 7.0010.1300 contains 2 separate services:
one-shot hw-management and hw-management-tc thermal control service.
hw-management services can be initialized and de-initialized by systemd commands.
The next command could be used in order to configure persistent initialization and
de-initialization of hw-management service:
- `systemctl enable hw-management`
- `systemctl disable hw-management`
The next command could be used in order to configure persistent initialization and de-initialization of
thermal control hw-management-tc service:
- `systemctl enable hw-management-tc`
- `systemctl disable hw-management-tc`
The running status of hw-management units can be obtained by the following command:
- `systemctl status hw-management`
- `systemctl status hw-management-tc`
Logging records of the thermal control written by systemd-journald.service can be queried by the following commands:
- `journalctl --unit=hw-management`
Expand Down
6 changes: 3 additions & 3 deletions doc/man/hw-management-tc.service.8
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ hw-management-tc.service \- service used to run hw-management-thermal-control.sh
.SH SYNOPSIS
Thermal control for Mellanox systems.
A method for performing switch or router system thermal control monitoring, such as that employed
for complex system's configuration with a single FAN control and with multi points of temperature
measure, is disclosed. The technique, referred as the Optimized Thermal Monitoring Algorithm
(OTMA) approach, periodically re-calculates the highest temperature score of the all thermal zones
for complex system's configuration with a single FAN control and with multi-points of temperature
measure is disclosed. The technique referred to as the Optimized Thermal Monitoring Algorithm
(OTMA) approach, periodically re-calculates the highest temperature score of all thermal zones
and enforce thermal control to following the thermal zone with the highest score.
.SH OPTIONS
.TP
Expand Down

0 comments on commit 78fb579

Please sign in to comment.