[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: |
손서락 |
Subject: |
Re: [Freeipmi-users] is any way to ordering ipmi-sensors's ouput ? |
Date: |
Fri, 3 Mar 2017 10:26:39 +0900 |
It works
Thank you for your help
2017-03-03 3:35 GMT+09:00 Albert Chu <address@hidden>:
> 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
>
>
>