Psu-sample
From DorePublicWiki
Contents |
PSU-sample
A bash script which samples the measured voltage and amp from a lxi-enabled PSU. Based on this data a graphical power chart image file (.png) is generated.
Download
Download source code from here:
Release v1.0 - http://dev.doredevelopment.dk/psu-sample/psu-sample-1.0.tar.gz
Requirements
Make sure the following dependencies are installed:
- lxi-control
- gnuplot
- tr
Install
- Run 'make' to compile msleep util
- Customize plot.cfg, psu-sample.cfg, and psu-sample.sh as needed
Note: The current psu-sample.sh script is based on sampling LXI output from a TTI PL155-P PSU. Depending on your PSU this output might differently formatted - if so you need to modify the psu-sample.sh script to rearrange the output so that that lines in the samples.log resembles the following output line format: <time> <amp> <voltage>
Usage
- Run psu-sample.sh to start sampling data from remote PSU
Example
Example power chart image file for a beagleboard HW revision B6 booting Linux.
