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
_______________________________________________
Freeipmi-users mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/freeipmi-users

Reply via email to