1 (* 'top'-like tool for libvirt domains.
3 * This file contains all code which requires CSV support.
6 (* Output channel, or None if CSV output not enabled. *)
11 chan := Some (open_out filename) ;;
16 | None -> () (* CSV output not enabled. *)
18 Csv.save_out chan [row];
19 (* Flush the output to the file immediately because we don't
20 * explicitly close this file.