On Thu, Jan 6, 2011 at 9:56 AM, Denis Heidtmann <[email protected]> wrote: > I am writing a little script to record the battery voltage v.s. time. I > want to run it until the system shuts down due to low voltage. Is it > reasonable to expect that the system will write the file buffer to the disk > prior to shutdown? If not, what is a reasonable way to handle the problem? > The system is ubuntu 10.04, the hardware is an ASU eee pc 900.
If the system does it's own monitoring to do the shutdown then you will need a signal handler to catch the shutdown and/or term signal to go record record a reading and flush your buffers. _______________________________________________ PLUG mailing list [email protected] http://lists.pdxlinux.org/mailman/listinfo/plug
