Exemplo n.º 1
0
def bootstrap(args):
    if args.cluster and args.cluster.lower() not in ["none", "false"]:
        fetch_collectl(args.econfig, args.cluster,
                       utils.safe_makedir(args.rawdir), args.verbose)

    data, hardware, steps = bcbio_graph.resource_usage(bcbio_log=args.log,
                                                       rawdir=args.rawdir,
                                                       verbose=args.verbose)
    bcbio_graph.generate_graphs(data_frames=data,
                                hardware_info=hardware,
                                steps=steps,
                                outdir=utils.safe_makedir(args.outdir),
                                verbose=args.verbose)
Exemplo n.º 2
0
def bootstrap(args):
    if args.cluster and args.cluster.lower() not in ["none", "false"]:
        fetch_collectl(args.econfig, args.cluster,
                       utils.safe_makedir(args.rawdir),
                       args.verbose)

    data, hardware, steps = bcbio_graph.resource_usage(bcbio_log=args.log,
                                                       rawdir=args.rawdir,
                                                       verbose=args.verbose)
    bcbio_graph.generate_graphs(data_frames=data,
                                hardware_info=hardware,
                                steps=steps,
                                outdir=utils.safe_makedir(args.outdir),
                                verbose=args.verbose)
Exemplo n.º 3
0
def bootstrap(args):
    if args.cluster and args.cluster.lower() not in ["none", "false"]:
        fetch_collectl(args.econfig, args.cluster, args.log,
                       utils.safe_makedir(args.rawdir),
                       args.verbose)

    data, hardware, steps = bcbio_graph.resource_usage(bcbio_log=args.log,
                                                       cluster=args.cluster,
                                                       rawdir=args.rawdir,
                                                       verbose=args.verbose)

    # Collectl_info is cleaned up data ready to be plotted/mangled
    collectl_info = bcbio_graph.generate_graphs(data_frames=data,
                                                hardware_info=hardware,
                                                steps=steps,
                                                outdir=utils.safe_makedir(args.outdir),
                                                verbose=args.verbose)

    if args.serialize:
        pre_graph_info = (data, hardware, steps)
        bcbio_graph.serialize_plot_data(collectl_info, pre_graph_info, args.outdir, "collectl_info.pickle.gz")
Exemplo n.º 4
0
def bootstrap(args):
    if args.cluster and args.cluster.lower() not in ["none", "false"]:
        fetch_collectl(args.econfig, args.cluster, args.log,
                       utils.safe_makedir(args.rawdir), args.verbose)

    data, hardware, steps = bcbio_graph.resource_usage(bcbio_log=args.log,
                                                       cluster=args.cluster,
                                                       rawdir=args.rawdir,
                                                       verbose=args.verbose)

    # Collectl_info is cleaned up data ready to be plotted/mangled
    collectl_info = bcbio_graph.generate_graphs(data_frames=data,
                                                hardware_info=hardware,
                                                steps=steps,
                                                outdir=utils.safe_makedir(
                                                    args.outdir),
                                                verbose=args.verbose)

    if args.serialize:
        pre_graph_info = (data, hardware, steps)
        bcbio_graph.serialize_plot_data(collectl_info, pre_graph_info,
                                        args.outdir, "collectl_info.pickle.gz")