freeipmi-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Freeipmi-users] is any way to ordering ipmi-sensors's ouput ?


From: 손서락
Subject: [Freeipmi-users] is any way to ordering ipmi-sensors's ouput ?
Date: Thu, 2 Mar 2017 17:22:31 +0900

Hi, I'm test ipmi using free ipmi

i want to know there is a way ipmi-sensors's result ordering by hostname
and id?

for example :
when i command like this : ipmi-sensors -h host1,host2,host3 -u .....

i want to make ouput's order like this

*host1: 0*  | UID Light        | OEM Reserved | N/A        | N/A   | 'OEM
Event = 0001h'
*host1: 1*  | Health LED       | OEM Reserved | N/A        | N/A   | N/A
*host1: 2*  | 01-Inlet Ambient | Temperature  | 31.00      | C     | 'OK'
*host1: 3 * | 02-CPU 1         | Temperature  | 40.00      | C     | 'OK'
*host1: 4*  | 03-P1 DIMM 1-4   | Temperature  | 37.00      | C     | 'OK'
.....
*host2: 0*  | UID Light        | OEM Reserved | N/A        | N/A   | 'OEM
Event = 0001h'
*host2: 1 * | Health LED       | OEM Reserved | N/A        | N/A   | N/A
*host2: 2*  | 01-Inlet Ambient | Temperature  | 31.00      | C     | 'OK'
*host2: 3*  | 02-CPU 1         | Temperature  | 40.00      | C     | 'OK'
*host2: 4*  | 03-P1 DIMM 1-4   | Temperature  | 37.00      | C     | 'OK'
.............
)


is it possible?


current result ordering like this
*host1: 0*  | UID Light        | OEM Reserved | N/A        | N/A   | 'OEM
Event = 0001h'
*host2: 0*  | UID Light        | OEM Reserved | N/A        | N/A   | 'OEM
Event = 0001h'
*host1: 1*  | Health LED       | OEM Reserved | N/A        | N/A   | N/A
*host2: 1 * | Health LED       | OEM Reserved | N/A        | N/A   | N/A
*host1: 2*  | 01-Inlet Ambient | Temperature  | 31.00      | C     | 'OK'
*host2: 2*  | 01-Inlet Ambient | Temperature  | 31.00      | C     | 'OK'
*host1: 3 * | 02-CPU 1         | Temperature  | 40.00      | C     | 'OK'
*host2: 3*  | 02-CPU 1         | Temperature  | 40.00      | C     | 'OK'
*host1: 4*  | 03-P1 DIMM 1-4   | Temperature  | 37.00      | C     | 'OK'
*host2: 4*  | 03-P1 DIMM 1-4   | Temperature  | 37.00      | C     | 'OK'
.....

or sometimes randomly print ouput


reply via email to

[Prev in Thread] Current Thread [Next in Thread]