2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-12-24 12:11:52 +00:00

Correct formatting page in nodesensors man page

This commit is contained in:
Jarrod Johnson 2016-11-08 14:50:10 -05:00
parent 61bd415ec4
commit eeb668bdfa
2 changed files with 23 additions and 19 deletions

View File

@ -55,7 +55,11 @@ if options.biosmode:
bootmode = 'bios'
else:
bootmode = 'uefi'
sys.exit(
session.simple_noderange_command(noderange, '/boot/nextdevice', bootdev,
rc = session.simple_noderange_command(noderange, '/boot/nextdevice', bootdev,
bootmode=bootmode,
persistent=options.persist))
persistent=options.persist)
if rc:
sys.exit(rc)
else:
sys.exit(session.simple_noderange_command(noderange, '/power/state', 'boot'))

View File

@ -30,7 +30,7 @@ interval of 1 second is used.
otherwise indicated.
## EXAMPLES
* Retrieving all temperature related sensors from one system
* Retrieving all temperature related sensors from one system
`# nodesensors n1 temperature`
`n1: CPU 1 Overtemp: Ok`
`n1: CPU 2 Overtemp: Ok`
@ -38,18 +38,18 @@ interval of 1 second is used.
`n1: PCH Overtemp: Ok`
`n1: LOM Temp: Ok`
* Retrieving a sensor named "Inlet Temp" for 4 systems over a 3 second period of time:
'nodesensors n1-n4 'Inlet Temp' -c -n 3
'time,node,Inlet Temp (°C)`
'2016-10-04T15:09:20,n1,19.0`
'2016-10-04T15:09:20,n2,18.0`
'2016-10-04T15:09:20,n3,18.0`
'2016-10-04T15:09:20,n4,17.0`
'2016-10-04T15:09:21,n1,19.0`
'2016-10-04T15:09:21,n2,18.0`
'2016-10-04T15:09:21,n3,18.0`
'2016-10-04T15:09:21,n4,17.0`
'2016-10-04T15:09:22,n1,19.0`
'2016-10-04T15:09:22,n2,18.0`
'2016-10-04T15:09:22,n3,18.0`
'2016-10-04T15:09:22,n4,17.0`
* Retrieving a sensor named "Inlet Temp" for 4 systems over a 3 second period of time:
`# nodesensors n1-n4 'Inlet Temp' -c -n 3`
`time,node,Inlet Temp (°C)`
`2016-10-04T15:09:20,n1,19.0`
`2016-10-04T15:09:20,n2,18.0`
`2016-10-04T15:09:20,n3,18.0`
`2016-10-04T15:09:20,n4,17.0`
`2016-10-04T15:09:21,n1,19.0`
`2016-10-04T15:09:21,n2,18.0`
`2016-10-04T15:09:21,n3,18.0`
`2016-10-04T15:09:21,n4,17.0`
`2016-10-04T15:09:22,n1,19.0`
`2016-10-04T15:09:22,n2,18.0`
`2016-10-04T15:09:22,n3,18.0`
`2016-10-04T15:09:22,n4,17.0`