History log of /openbmc/phosphor-fan-presence/docs/control/fanctl/README.md (Results 1 – 5 of 5)
Revision Date Author Comments
# 6631eee0 05-Aug-2024 George Liu <liuxiwei@ieisystem.com>

docs/control/fanctl/README.md: Fix MD026 warnings

The following warnings are generated by using markdownlint analysis:
```
docs/control/fanctl/README.md:60:12 MD026/no-trailing-punctuation Trailing

docs/control/fanctl/README.md: Fix MD026 warnings

The following warnings are generated by using markdownlint analysis:
```
docs/control/fanctl/README.md:60:12 MD026/no-trailing-punctuation Trailing punctuation in heading [Punctuation: ':']
```
Refer to markdown-lint [1] to fix MD026
[1]: https://github.com/updownpress/markdown-lint/blob/master/rules/026-no-trailing-punctuation.md

Signed-off-by: George Liu <liuxiwei@ieisystem.com>
Change-Id: Icf87d4d60f406b0b936bddd98b7dbe91099ef58e

show more ...


# 64fb88c1 05-Aug-2024 George Liu <liuxiwei@ieisystem.com>

Fix MD040 warnings

The following warnings are generated by using markdownlint analysis:
```
MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "```"]
```
Refer

Fix MD040 warnings

The following warnings are generated by using markdownlint analysis:
```
MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "```"]
```
Refer to markdown-lint [1] to fix MD040
[1]: https://github.com/updownpress/markdown-lint/blob/master/rules/040-fenced-code-language.md

Signed-off-by: George Liu <liuxiwei@ieisystem.com>
Change-Id: Ie866ac8c3d8e33d2c8811f7c6a5965d6dad1f88a

show more ...


# a49e3f19 08-Dec-2022 Patrick Williams <patrick@stwcx.xyz>

prettier: re-format

Prettier is enabled in openbmc-build-scripts on Markdown, JSON, and YAML
files to have consistent formatting for these file types. Re-run the
formatter on the whole repository.

prettier: re-format

Prettier is enabled in openbmc-build-scripts on Markdown, JSON, and YAML
files to have consistent formatting for these file types. Re-run the
formatter on the whole repository.

Change-Id: I961ec77b2617da3e097e64e0d8e8980bb7e5b426
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...


# b564e15a 29-Oct-2021 Matt Spinler <spinler@us.ibm.com>

fanctl: Add query_dump cmd to search dump contents

Add a 'query_dump' subcommand to fanctl to assist in looking at the
content of the dump file /tmp/fan_control.json generated by the 'fa

fanctl: Add query_dump cmd to search dump contents

Add a 'query_dump' subcommand to fanctl to assist in looking at the
content of the dump file /tmp/fan_control.json generated by the 'fanctl
dump' command. This dump file contains the flight recorder as well as
fan control's objects, service, and parameter cache.

The command's output is in JSON.

It has the following parameters:
--section
The section of the dump: objects, parameters, or services

--name
The name of the top level JSON dictionary key to match on.
This can match on substrings, like 'sensors' for all sensors.
Optional - if not provided it matches on every name.

--properties
List of property names to match on.
Geared toward printing property values from the objects cache.
Optional, if not provided the whole JSON objects under the
name is printed.

Examples:

Print the flight recorder:
fanctl query_dump --section flight_recorder
{
"0": "Oct 29 03:41:29.468444: main: Startup"
}

Print the altitude:
fanctl query_dump -s objects -n Altitude -p Value
{
"/xyz/openbmc_project/sensors/altitude/Altitude": {
"Value": 1032.82
}
}

Print all temperatures:
fanctl query_dump -s objects -n sensors/temp -p Value
{
"/xyz/openbmc_project/sensors/temperature/Ambient_Virtual_Temp": {
"Value": 25.0
},
...
}

Print every interface and property of the ambient sensor
fanctl query_dump -s objects -n Ambient
{
... interfaces with their property names and values ...
}

Print every Value property in the cache:
fanctl query_dump -s objects -p Value
{
"/xyz/openbmc_project/sensors/altitude/Altitude": {
"Value": 1032.82
},
"/xyz/openbmc_project/sensors/temperature/Ambient_Virtual_Temp": {
"Value": 25.0
}
}

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: If66a74b432481f337f02813f2e61ae5767a57d1d

show more ...


# ea5a8fcb 24-Sep-2021 Mike Capps <mikepcapps@gmail.com>

fanctl: Added README.md

instructions and examples on how to use fanctl, links to fanctl
README.md from the control README.

Change-Id: Ib98f8c33f8be1a3e1600584dfbd38d37360fde5d

fanctl: Added README.md

instructions and examples on how to use fanctl, links to fanctl
README.md from the control README.

Change-Id: Ib98f8c33f8be1a3e1600584dfbd38d37360fde5d
Signed-off-by: Mike Capps <mikepcapps@gmail.com>

show more ...