freeipmi-users
[Top][All Lists]
Advanced

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

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


From: Albert Chu
Subject: Re: [Freeipmi-users] is any way to ordering ipmi-sensors's ouput ?
Date: Thu, 02 Mar 2017 10:35:29 -0800

Yes, I think you want to look at the -B/--buffer-output option.

Al

On Thu, 2017-03-02 at 17:22 +0900, 손서락 wrote:
> 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
> address@hidden
> https://lists.gnu.org/mailman/listinfo/freeipmi-users

-- 
Albert Chu
address@hidden
Computer Scientist
High Performance Systems Division
Lawrence Livermore National Laboratory





reply via email to

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