Hi,

You can find a sample in the "contribs" directory.  In my install it's
here:

/usr/share/doc/freeipmi/contrib/libipmimonitoring
/usr/share/doc/freeipmi/contrib/libipmimonitoring/ipmimonitoring-sel.c
/usr/share/doc/freeipmi/contrib/libipmimonitoring/ipmimonitoring-
sensors.c

If you can't find them, perhaps its because the "devel" (i.e. freeipmi-
devel) package also needs to be installed.

Al


On Thu, 2018-03-15 at 15:46 -0400, Aleksey Yakovlev wrote:
> My first post here.
> 
> There are no samples in the FreeIPMI package (I'm looking at the
> 1.6.1
> version) - and I'm interested in the libipmimonitoring library in
> particular. It looks like the ipmi-sensors program (from this
> package)
> doesn't depend on this library at all.
> 
> Where can I find any samples, showing at least sequence of
> libipmimonitoring
> function calls with most common parameters? Or at least a real
> program with
> sources, depending on this library, which can be traced with
> debugger?
> 
> In particular, the function
> "ipmi_monitoring_sensor_readings_by_record_id"
> has two arguments (among others) - config and flags. What should be
> their
> values if I want inband sensing only?
> 
> Thank you,
> ~AY
> _______________________________________________
> Freeipmi-users mailing list
> Freeipmi-users@gnu.org
> https://lists.gnu.org/mailman/listinfo/freeipmi-users
-- 
Albert Chu
ch...@llnl.gov
Computer Scientist
High Performance Systems Division
Lawrence Livermore National Laboratory


_______________________________________________
Freeipmi-users mailing list
Freeipmi-users@gnu.org
https://lists.gnu.org/mailman/listinfo/freeipmi-users

Reply via email to