├── .github ├── compat │ ├── build-install.sh │ ├── compat-test-munge.sh │ ├── compat-test.sh │ ├── list_samp.py │ ├── list_samp.sh │ └── prep.sh ├── data │ └── dispatch.yaml ├── enum-check │ ├── enum-check.sh │ ├── enumsym.py │ ├── ovis-4.3.10-enum.list │ ├── ovis-4.3.11-enum.list │ ├── ovis-4.3.3-enum.list │ ├── ovis-4.3.4-enum.list │ ├── ovis-4.3.5-enum.list │ ├── ovis-4.3.6-enum.list │ ├── ovis-4.3.7-enum.list │ ├── ovis-4.3.8-enum.list │ └── ovis-4.3.9-enum.list └── workflows │ ├── 4.3.3-compat-test.yaml │ ├── build-test-alma-8.yaml │ ├── build-test-alma-9.yaml │ ├── build-test-centos7.yaml │ ├── build-test-opensuse-15.yaml │ ├── build-test-rtd.yml │ ├── build-test-ubuntu-22.04.yaml │ ├── build-test-ubuntu-24.04.yaml │ ├── create-release.yaml │ ├── ldms-test-build.yaml │ ├── space-check.yaml │ └── test-make-dist.yaml ├── .gitignore ├── .gitmodules ├── .readthedocs.yaml ├── 0_AVOID_GITHUB_ZIP_FILES └── README.md ├── COPYING ├── INSTALL ├── Makefile.am ├── README.rst ├── autogen.sh ├── config ├── .gitignore ├── config.rpath └── git-version-gen ├── configure.ac ├── docs ├── .gitignore ├── Makefile.am ├── README.rst ├── _templates │ ├── autosummary │ │ ├── attribute.rst │ │ ├── class.rst │ │ ├── member.rst │ │ ├── method.rst │ │ └── minimal_module.rst │ ├── header.html │ ├── hero.html │ └── repo.html ├── asf │ ├── asf-quickstart.rst │ ├── asf-tutorial.rst │ ├── deployment │ │ ├── index.rst │ │ └── test.rst │ ├── grafanapanel.rst │ ├── grafanause.rst │ ├── index.rst │ └── pyanalysis.rst ├── conf.py ├── contributing │ ├── index.rst │ ├── samplerwrite.rst │ └── storewrite.rst ├── deployment │ ├── index.rst │ └── ldms-test.rst ├── images │ ├── appsysfusion.png │ ├── darshanConnector.png │ └── grafana │ │ ├── grafana_output.png │ │ ├── grafana_query.png │ │ ├── grafana_time.png │ │ ├── grafana_timerange.png │ │ ├── grafanapanel.png │ │ └── grafanapanel_variables.png ├── index.rst ├── intro │ └── quick-start.rst ├── requirements.txt ├── rst_man │ └── index.rst └── streams │ └── ldms-streams-apps.rst ├── gnulib ├── .gitignore ├── Makefile.am └── dummy.c ├── gpl-2.0.txt ├── kernel └── kldms │ ├── .gitignore │ ├── Kbuild │ ├── Kconfig │ ├── Makefile │ ├── ghal.c │ ├── ghal.h │ ├── gpcd_kapi.h │ ├── gpcd_lib.h │ ├── gpcd_pub.h │ ├── gpcdr.c │ ├── gpcdr_pub.h │ ├── kgpcdr.c │ ├── kldms.c │ ├── kldms.h │ ├── kldms_ibm_pwr.c │ └── kldms_vmstat.c ├── kokkosConnector ├── Makefile ├── README.md ├── kp_kernel_info.h ├── kp_kernel_ldms.cpp └── kp_kernel_timer.h ├── ldms ├── .gitignore ├── AUTHORS ├── Doxyfile.in ├── Makefile.am ├── NEWS ├── etc │ ├── .gitignore │ ├── Makefile.am │ ├── aggregator.conf │ ├── aggregator.conf.cray_xc.example │ ├── init.d │ │ ├── Makefile.am │ │ ├── ldmsd_aggregator.in │ │ └── ldmsd_sampler.in │ ├── kokkos.conf │ ├── ldms.cfg │ ├── ldms.plugstack.env.in │ ├── ldmsauth.conf │ ├── ldmsd.aggregator.env.cray_xc.example │ ├── ldmsd.aggregator.env.in │ ├── ldmsd.kokkos.env.in │ ├── ldmsd.sampler.env.cray_xc.example │ ├── ldmsd.sampler.env.in │ ├── logrotate.d │ │ ├── Makefile.am │ │ ├── ldmsd_aggregator │ │ └── ldmsd_sampler │ ├── papi-sampler.conf │ ├── papi-sampler.env.in │ ├── sampler.conf │ ├── sampler.conf.cray_xc.example │ └── systemd │ │ ├── .gitignore │ │ ├── Makefile.am │ │ ├── ldmsd.aggregator.service.in │ │ ├── ldmsd.kokkos.service.in │ │ ├── ldmsd.sampler.service.in │ │ └── papi-sampler.service.in ├── examples │ ├── cmdline-opts │ │ ├── agg_cmdline_opts.conf │ │ └── sampler_cmdline_opts.conf │ ├── ldmsctl │ │ └── flatfile.src │ ├── ldmsd-rotate-log.sh │ ├── set_array │ │ ├── .gitignore │ │ ├── set_array_agg.cfg │ │ ├── set_array_sampler.cfg │ │ ├── start_agg.sh │ │ └── start_sampler.sh │ └── update-auto-interval │ │ ├── agg-disable-auto-interval.conf │ │ ├── agg.conf │ │ ├── env.sh │ │ └── samplerd.conf ├── man │ ├── .gitignore │ ├── Makefile.am │ ├── ldms-plugins.rst │ ├── ldms-reverse-conf.rst │ ├── ldms_authentication.rst │ ├── ldms_build_install.rst │ ├── ldms_lsdate.rst │ ├── ldms_msg.rst │ ├── ldms_quickstart.rst │ ├── ldmsd_controller.rst │ ├── ldmsd_peer_daemon_advertisement.rst │ ├── ldmsd_qgroup.rst │ ├── ldmsd_yaml_parser.rst │ └── make_exits_man.sh ├── python │ ├── .gitignore │ ├── Makefile.am │ ├── __init__.py │ ├── cmds │ │ ├── Makefile.am │ │ └── kq │ ├── ldms.pxd │ ├── ldms.pyx │ ├── ldms │ │ └── test │ │ │ └── test_ldms_ls.py │ ├── ldmsd │ │ ├── Makefile.am │ │ ├── __init__.py │ │ ├── examples │ │ │ └── run_ldmsd.py │ │ ├── hostlist.py │ │ ├── ldmsd_communicator.py │ │ ├── ldmsd_config.py │ │ ├── ldmsd_controller │ │ ├── ldmsd_profiling.py │ │ ├── ldmsd_setup.py │ │ ├── ldmsd_util.py │ │ ├── ldmsd_yaml_parser │ │ └── parser_util.py │ ├── ldmsd_test │ │ ├── __init__.py │ │ ├── conftest.py │ │ ├── ldmsd_test_util.py │ │ └── robustness │ │ │ ├── __init__.py │ │ │ ├── conftest.py │ │ │ ├── dynamic_cfg │ │ │ ├── __init__.py │ │ │ └── test_2level_end2end.py │ │ │ └── static_cfg │ │ │ ├── test_1level_end2end.py │ │ │ └── test_2level_end2end.py │ ├── ldmsd_test_config │ │ └── ldmsd_test_config.py │ └── test │ │ ├── cython │ │ ├── .gitignore │ │ ├── README.md │ │ ├── agg.py │ │ ├── async_server.py │ │ ├── ldmsd.cfg │ │ ├── set_test.py │ │ ├── sync_server.py │ │ └── test.py │ │ ├── ldmsd │ │ ├── .gitignore │ │ ├── ldms_perm.py │ │ ├── ldms_set_array.py │ │ ├── ldmsctl.py │ │ ├── ldmsd_auth_munge.py │ │ ├── ldmsd_auth_ovis.py │ │ ├── ldmsd_cfg.py │ │ ├── ldmsd_cmd_exp.py │ │ ├── ldmsd_ctrl.py │ │ ├── ldmsd_failover.py │ │ ├── ldmsd_interface_msg_boundary.py │ │ ├── ldmsd_long_config.py │ │ ├── ldmsd_perm.py │ │ ├── ldmsd_push.py │ │ ├── ldmsd_req_resp.py │ │ ├── ldmsd_set_array.py │ │ └── ldmsd_tsampler.py │ │ ├── lookup-update │ │ └── test.py │ │ ├── manysets │ │ └── test.py │ │ └── record │ │ ├── agg.py │ │ ├── common.py │ │ ├── ldmsd.conf │ │ └── samp.py ├── rules.mk ├── scripts │ ├── .gitignore │ ├── CHANGES │ ├── Makefile.am │ ├── envldms.sh.in │ ├── examples │ │ ├── .canned │ │ ├── README │ │ ├── aggl2 │ │ ├── aggl2.1 │ │ ├── aggl2.2 │ │ ├── aggl2.3 │ │ ├── aggl2.4 │ │ ├── aggl2simple │ │ ├── aggl2simple.1 │ │ ├── aggl2simple.2 │ │ ├── aggl2simple.3 │ │ ├── all_example │ │ ├── all_example.1 │ │ ├── all_example.2 │ │ ├── all_example.sos │ │ ├── all_example.sos.1 │ │ ├── all_example.sos.2 │ │ ├── app_sampler │ │ ├── app_sampler.1 │ │ ├── app_sampler.2 │ │ ├── array_example │ │ ├── array_example.1 │ │ ├── array_example.2 │ │ ├── auto-interval │ │ ├── auto-interval.1 │ │ ├── auto-interval.2 │ │ ├── auto-interval.3 │ │ ├── auto-interval.4 │ │ ├── auto-interval.5 │ │ ├── blob_writer │ │ ├── blob_writer.1 │ │ ├── blob_writer.2 │ │ ├── clock │ │ ├── clock.1 │ │ ├── clock.2 │ │ ├── clock.3 │ │ ├── clock.job │ │ ├── clock.job.1 │ │ ├── clock.job.2 │ │ ├── clock.job.3 │ │ ├── conf_csv │ │ ├── conf_csv.1 │ │ ├── conf_csv.2 │ │ ├── conf_csv.3 │ │ ├── conf_file_csv │ │ ├── conf_file_csv.1 │ │ ├── conf_file_csv.2 │ │ ├── conf_file_csv.3 │ │ ├── csvcheckattrs │ │ ├── csvcheckattrs.1 │ │ ├── csvcheckattrs.2 │ │ ├── dcgm1 │ │ ├── dcgm1.1 │ │ ├── dcgm1.2 │ │ ├── dstat │ │ ├── dstat.1 │ │ ├── dstat.2 │ │ ├── dstat.3 │ │ ├── dstat.job │ │ ├── dstat.job.1 │ │ ├── dstat.job.2 │ │ ├── dstat.job.3 │ │ ├── edac │ │ ├── edac.1 │ │ ├── edac.2 │ │ ├── fail_sampler_procnetdev │ │ ├── fail_sampler_procnetdev.1 │ │ ├── fail_sampler_procnetdev.2 │ │ ├── filesingle │ │ ├── filesingle.1 │ │ ├── filesingle.2 │ │ ├── fptrans │ │ ├── fptrans.1 │ │ ├── fptrans.2 │ │ ├── ibmad_sampler │ │ ├── ibmad_sampler.1 │ │ ├── ibmad_sampler.2 │ │ ├── ibmad_sampler.3 │ │ ├── ibnet │ │ ├── ibnet.1 │ │ ├── ibnet.2 │ │ ├── linux_proc_sampler │ │ ├── linux_proc_sampler.1 │ │ ├── linux_proc_sampler.2 │ │ ├── linux_proc_sampler.3 │ │ ├── lnet_stats │ │ ├── lnet_stats.1 │ │ ├── lnet_stats.2 │ │ ├── lnet_stats.3 │ │ ├── loadavg │ │ ├── loadavg.1 │ │ ├── loadavg.2 │ │ ├── loadavg.3 │ │ ├── loadavg.4 │ │ ├── lustre2_client │ │ ├── lustre2_client.1 │ │ ├── lustre2_client.2 │ │ ├── lustre2_client.3 │ │ ├── lustre_client │ │ ├── lustre_client.1 │ │ ├── lustre_client.2 │ │ ├── lustre_client.3 │ │ ├── lustre_mdc │ │ ├── lustre_mdc.1 │ │ ├── lustre_mdc.2 │ │ ├── lustre_mdc.3 │ │ ├── many │ │ ├── many.1 │ │ ├── many.2 │ │ ├── many.3 │ │ ├── meminfo │ │ ├── meminfo.1 │ │ ├── meminfo.2 │ │ ├── meminfo.3 │ │ ├── meminfo.job │ │ ├── meminfo.job.1 │ │ ├── meminfo.job.2 │ │ ├── meminfo.job.3 │ │ ├── munge │ │ ├── munge.1 │ │ ├── munge.2 │ │ ├── opa2 │ │ ├── opa2.1 │ │ ├── opa2.2 │ │ ├── opa2.3 │ │ ├── proc_stream │ │ ├── proc_stream.1 │ │ ├── proc_stream.2 │ │ ├── proc_stream.3 │ │ ├── procdiskstats │ │ ├── procdiskstats.1 │ │ ├── procdiskstats.2 │ │ ├── procdiskstats.3 │ │ ├── procinterrupts │ │ ├── procinterrupts.1 │ │ ├── procinterrupts.2 │ │ ├── procinterrupts.3 │ │ ├── procnet │ │ ├── procnet.1 │ │ ├── procnet.2 │ │ ├── procnetdev │ │ ├── procnetdev.1 │ │ ├── procnetdev.2 │ │ ├── procnfs │ │ ├── procnfs.1 │ │ ├── procnfs.2 │ │ ├── procnfs.3 │ │ ├── procsensors │ │ ├── procsensors.1 │ │ ├── procsensors.2 │ │ ├── procstat │ │ ├── procstat.1 │ │ ├── procstat.2 │ │ ├── procstat.3 │ │ ├── procstat.job │ │ ├── procstat.job.1 │ │ ├── procstat.job.2 │ │ ├── procstat.job.3 │ │ ├── prolog.jobid │ │ ├── prolog.jobid.sampler │ │ ├── prolog.jobid.store3 │ │ ├── prolog.jobidinfo │ │ ├── prolog.sampler │ │ ├── prolog.store2 │ │ ├── prolog.store2.sos │ │ ├── prolog.store2.xprt │ │ ├── prolog.store2_createuid │ │ ├── prolog.store2_rename │ │ ├── prolog.store3 │ │ ├── rabbitkw │ │ ├── rabbitkw.1 │ │ ├── rabbitkw.2 │ │ ├── rabbitkw.3 │ │ ├── rabbitkwl2 │ │ ├── rabbitkwl2.1 │ │ ├── rabbitkwl2.2 │ │ ├── rabbitkwl2.3 │ │ ├── rabbitl2remote │ │ ├── rabbitl2remote.1 │ │ ├── rabbitl2remote.2 │ │ ├── rabbitl2remote.3 │ │ ├── rabbitv3 │ │ ├── rabbitv3.1 │ │ ├── rabbitv3.2 │ │ ├── rabbitv3.3 │ │ ├── rdc_sampler │ │ ├── rdc_sampler.1 │ │ ├── rdc_sampler.2 │ │ ├── rdc_sampler.3 │ │ ├── renamecsv │ │ ├── renamecsv.1 │ │ ├── renamecsv.2 │ │ ├── rollagain │ │ ├── rollagain.1 │ │ ├── rollagain.2 │ │ ├── rollagain.3 │ │ ├── rollagain.4 │ │ ├── rollemptycsv │ │ ├── rollemptycsv.1 │ │ ├── rollemptycsv.2 │ │ ├── rollemptycsv.3 │ │ ├── sampler_atasmart │ │ ├── sampler_atasmart.1 │ │ ├── sampler_atasmart.2 │ │ ├── sequence_unsupp │ │ ├── sequence_unsupp.1 │ │ ├── sequence_unsupp.2 │ │ ├── sequence_unsupp.3 │ │ ├── sequence_unsupp.4 │ │ ├── setclones │ │ ├── setclones.1 │ │ ├── setclones.2 │ │ ├── shm │ │ ├── shm.1 │ │ ├── shm.2 │ │ ├── shm.3 │ │ ├── stream_store │ │ ├── stream_store.1 │ │ ├── strict_kill │ │ ├── strict_kill.1 │ │ ├── strict_kill.2 │ │ ├── synthetic │ │ ├── synthetic.1 │ │ ├── synthetic.2 │ │ ├── synthetic.3 │ │ ├── sysclassib │ │ ├── sysclassib.1 │ │ ├── sysclassib.2 │ │ ├── sysclassib.3 │ │ ├── sysclassib.job │ │ ├── sysclassib.job.1 │ │ ├── sysclassib.job.2 │ │ ├── sysclassib.job.3 │ │ ├── tx2mon │ │ ├── tx2mon.1 │ │ ├── tx2mon.2 │ │ ├── tx2mon.3 │ │ ├── tx2mon.4 │ │ ├── tx2mon.5 │ │ ├── tx2mon.6 │ │ ├── uidgidcsv │ │ ├── uidgidcsv.1 │ │ ├── uidgidcsv.2 │ │ ├── variable │ │ ├── variable.1 │ │ ├── variable.2 │ │ ├── variable.3 │ │ ├── vg_csv │ │ ├── vg_csv.1 │ │ ├── vg_csv.2 │ │ ├── vg_csv.3 │ │ ├── vg_sos │ │ ├── vg_sos.1 │ │ ├── vg_sos.2 │ │ ├── vg_sos.3 │ │ ├── vmstat │ │ ├── vmstat.1 │ │ ├── vmstat.2 │ │ ├── xprt_fabric │ │ ├── xprt_fabric.1 │ │ ├── xprt_fabric.2 │ │ ├── xprt_fabric.3 │ │ ├── xprt_fabric2 │ │ ├── xprt_fabric2.1 │ │ ├── xprt_fabric2.2 │ │ ├── xprt_fabric2.3 │ │ ├── xprt_fabric2.4 │ │ ├── xprt_fabric2.5 │ │ └── xprt_fabric2.6 │ ├── ldms-csv-anonymize │ ├── ldms-csv-anonymize.rst │ ├── ldms-csv-export-sos │ ├── ldms-csv-export-sos.rst │ ├── ldms-l2_test.sh.in │ ├── ldms-meminfo.sh.in │ ├── ldms-plugins.sh.in │ ├── ldms-py-rename.sh.in │ ├── ldms-py-subset_test.sh.in │ ├── ldms-py-syslog.sh.in │ ├── ldms-py-varset.sh.in │ ├── ldms-python-test.sh.in │ ├── ldms-reverse-conf.sh │ ├── ldms-static-test.rst │ ├── ldms-static-test.sh.in │ ├── ldms-wrapper.in │ ├── ldms_ban.sh.in │ ├── ldms_local_opa2test.sh.in │ ├── ldms_pll-ldms-static-test.rst │ ├── ldmsd-check-env │ ├── ldmsd.in │ ├── lsdate │ ├── ovis-roll-over.py │ ├── pll-ldms-static-test.sh.in │ └── slurm-examples │ │ ├── .canned │ │ ├── README │ │ ├── cluster │ │ ├── cluster.1 │ │ ├── cluster.2 │ │ ├── cluster.3 │ │ ├── pll.producer │ │ └── sbatch.cluster ├── src │ ├── .gitignore │ ├── Makefile.am │ ├── auth │ │ ├── Makefile.am │ │ ├── ldms_auth_munge.c │ │ ├── ldms_auth_munge.rst │ │ ├── ldms_auth_naive.c │ │ ├── ldms_auth_naive.rst │ │ ├── ldms_auth_none.c │ │ ├── ldms_auth_none.rst │ │ ├── ldms_auth_ovis.c │ │ └── ldms_auth_ovis.rst │ ├── contrib │ │ ├── Makefile.am │ │ ├── sampler │ │ │ ├── Makefile.am │ │ │ ├── daos │ │ │ │ ├── COPYING-TPP │ │ │ │ ├── Makefile.am │ │ │ │ ├── README.md │ │ │ │ ├── daos.c │ │ │ │ ├── daos.h │ │ │ │ ├── ldms-sampler_daos_sampler.rst │ │ │ │ ├── pool_target.c │ │ │ │ ├── pool_target.h │ │ │ │ ├── rank_target.c │ │ │ │ ├── rank_target.h │ │ │ │ └── test │ │ │ │ │ ├── Makefile.am │ │ │ │ │ ├── mocks.c │ │ │ │ │ ├── mocks.h │ │ │ │ │ └── test_daos_sampler.c │ │ │ ├── geopm_sampler │ │ │ │ ├── .gitignore │ │ │ │ ├── COPYING-TPP │ │ │ │ ├── Makefile.am │ │ │ │ ├── README.md │ │ │ │ ├── ldms-sampler_geopm_sampler.rst │ │ │ │ ├── ldms_geopm_sampler.c │ │ │ │ ├── ldms_geopm_sampler.h │ │ │ │ ├── ldms_geopm_sampler_test.c │ │ │ │ ├── ldms_geopm_sampler_test.conf │ │ │ │ ├── ldms_geopm_sampler_test.expect │ │ │ │ ├── ldms_geopm_sampler_test.sh │ │ │ │ ├── ldms_geopm_sampler_test_domain.conf │ │ │ │ ├── ldms_geopm_sampler_test_domain.expect │ │ │ │ ├── ldms_geopm_sampler_test_domain.sh │ │ │ │ ├── ldms_geopm_sampler_test_helper.sh │ │ │ │ ├── ldms_geopm_sampler_test_index.conf │ │ │ │ ├── ldms_geopm_sampler_test_index.expect │ │ │ │ ├── ldms_geopm_sampler_test_index.sh │ │ │ │ ├── ldms_geopm_sampler_test_missing.conf │ │ │ │ ├── ldms_geopm_sampler_test_missing.expect │ │ │ │ ├── ldms_geopm_sampler_test_missing.sh │ │ │ │ ├── ldms_geopm_sampler_test_neg.sh │ │ │ │ ├── ldms_geopm_sampler_test_newline.conf │ │ │ │ ├── ldms_geopm_sampler_test_newline.expect │ │ │ │ ├── ldms_geopm_sampler_test_newline.sh │ │ │ │ ├── ldms_geopm_sampler_test_noent.expect │ │ │ │ ├── ldms_geopm_sampler_test_noent.sh │ │ │ │ ├── ldms_geopm_sampler_test_signal.conf │ │ │ │ ├── ldms_geopm_sampler_test_signal.expect │ │ │ │ └── ldms_geopm_sampler_test_signal.sh │ │ │ ├── gpu_metrics_sampler │ │ │ │ ├── Makefile.am │ │ │ │ ├── gather_gpu_metrics.cpp │ │ │ │ ├── gather_gpu_metrics_from_one_api.c │ │ │ │ ├── gather_gpu_metrics_from_one_api.h │ │ │ │ ├── gmg_common_util.c │ │ │ │ ├── gmg_common_util.h │ │ │ │ ├── gmg_ldms_util.c │ │ │ │ ├── gmg_ldms_util.h │ │ │ │ ├── gmg_log.c │ │ │ │ ├── gmg_log.h │ │ │ │ └── gpu_metrics_ldms_sampler.c │ │ │ ├── ipmireader │ │ │ │ ├── Makefile.am │ │ │ │ ├── ipmireader.c │ │ │ │ ├── ipmisensors.c │ │ │ │ ├── ldms-sampler_ipmireader.rst │ │ │ │ └── ldms-sampler_ipmisensors.rst │ │ │ ├── tutorial │ │ │ │ ├── Makefile.am │ │ │ │ ├── ldms-sampler_tutorial_sampler.rst │ │ │ │ └── tutorial_sampler.c │ │ │ └── variorum_sampler │ │ │ │ ├── Makefile.am │ │ │ │ ├── README.md │ │ │ │ ├── ldms-sampler_variorum_sampler.rst │ │ │ │ └── variorum_sampler.c │ │ └── store │ │ │ ├── Makefile.am │ │ │ ├── timescale │ │ │ ├── Makefile.am │ │ │ ├── README.txt │ │ │ ├── example.conf │ │ │ ├── ldms-store_timescale.rst │ │ │ └── store_timescale.c │ │ │ └── tutorial │ │ │ ├── Makefile.am │ │ │ ├── ldms-store_tutorial.rst │ │ │ └── store_tutorial.c │ ├── core │ │ ├── Makefile.am │ │ ├── kldms_req.h │ │ ├── ldms.c │ │ ├── ldms.h │ │ ├── ldms_auth.c │ │ ├── ldms_auth.h │ │ ├── ldms_core.h │ │ ├── ldms_heap.c │ │ ├── ldms_heap.h │ │ ├── ldms_msg.c │ │ ├── ldms_msg.h │ │ ├── ldms_msg_avro_ser.c │ │ ├── ldms_msg_avro_ser.h │ │ ├── ldms_private.h │ │ ├── ldms_qgroup.c │ │ ├── ldms_qgroup.h │ │ ├── ldms_rail.c │ │ ├── ldms_rail.h │ │ ├── ldms_xprt.c │ │ ├── ldms_xprt.h │ │ ├── ldms_xprt_auth.c │ │ ├── rrbt.c │ │ └── rrbt.h │ ├── decomp │ │ ├── Makefile.am │ │ ├── as_is │ │ │ ├── Makefile.am │ │ │ └── decomp_as_is.c │ │ ├── flex │ │ │ ├── Makefile.am │ │ │ └── decomp_flex.c │ │ ├── ldmsd_decomposition.rst │ │ └── static │ │ │ ├── Makefile.am │ │ │ └── decomp_static.c │ ├── ldmsd │ │ ├── .gitignore │ │ ├── Makefile.am │ │ ├── input │ │ │ ├── bad_test_plugattr.txt │ │ │ └── test_plugattr.txt │ │ ├── ldms_ldmsctl.rst │ │ ├── ldms_ls.c │ │ ├── ldms_ls.rst │ │ ├── ldmsctl.c │ │ ├── ldmsd.c │ │ ├── ldmsd.h │ │ ├── ldmsd.rst │ │ ├── ldmsd_auth.c │ │ ├── ldmsd_cfgobj.c │ │ ├── ldmsd_config.c │ │ ├── ldmsd_decomp.c │ │ ├── ldmsd_failover.c │ │ ├── ldmsd_failover.rst │ │ ├── ldmsd_group.c │ │ ├── ldmsd_plug_api.c │ │ ├── ldmsd_plug_api.h │ │ ├── ldmsd_plugattr.c │ │ ├── ldmsd_plugattr.h │ │ ├── ldmsd_prdcr.c │ │ ├── ldmsd_request.c │ │ ├── ldmsd_request.h │ │ ├── ldmsd_request_util.c │ │ ├── ldmsd_row_cache.c │ │ ├── ldmsd_setgroup.rst │ │ ├── ldmsd_stream.c │ │ ├── ldmsd_stream.h │ │ ├── ldmsd_strgp.c │ │ ├── ldmsd_updtr.c │ │ ├── ldmsd_upload.c │ │ └── test │ │ │ ├── .gitignore │ │ │ ├── Makefile.am │ │ │ ├── fvt_stream_test.json │ │ │ ├── ldmsd_stream_publish.c │ │ │ ├── ldmsd_stream_publish.rst │ │ │ ├── ldmsd_stream_subscribe.c │ │ │ └── ldmsd_stream_subscribe.rst │ ├── ovis-ldms-configvars.sh.in │ ├── sampler │ │ ├── Makefile.am │ │ ├── app_sampler │ │ │ ├── Makefile.am │ │ │ ├── README.txt │ │ │ ├── app_sampler.c │ │ │ ├── get_stat_field.c │ │ │ ├── ldms-gen-syscall-map │ │ │ ├── ldms-sampler_app_sampler.rst │ │ │ ├── ldms-sampler_linux_proc_sampler.rst │ │ │ ├── linux_proc_sampler.c │ │ │ └── test_fd_timing.c │ │ ├── appinfo.c │ │ ├── appinfo_lib │ │ │ ├── Makefile.am │ │ │ ├── ldms_appinfo.c │ │ │ ├── ldms_appinfo.h │ │ │ └── ldms_appinfo_shm.h │ │ ├── aries_mmr │ │ │ ├── Makefile.am │ │ │ ├── aries_linkstatus.c │ │ │ ├── aries_mmr.c │ │ │ ├── aries_mmr_configurable.c │ │ │ ├── aries_mmr_set_configs │ │ │ │ ├── Makefile.am │ │ │ │ ├── metric_set_nic │ │ │ │ ├── metric_set_rtr_0 │ │ │ │ ├── metric_set_rtr_0_1_c │ │ │ │ ├── metric_set_rtr_0_1_s │ │ │ │ ├── metric_set_rtr_0_2_c │ │ │ │ ├── metric_set_rtr_0_2_s │ │ │ │ ├── metric_set_rtr_0_4_c │ │ │ │ ├── metric_set_rtr_0_4_s │ │ │ │ ├── metric_set_rtr_1 │ │ │ │ ├── metric_set_rtr_1_1_c │ │ │ │ ├── metric_set_rtr_1_1_s │ │ │ │ ├── metric_set_rtr_1_2_c │ │ │ │ ├── metric_set_rtr_1_2_s │ │ │ │ ├── metric_set_rtr_1_4_c │ │ │ │ ├── metric_set_rtr_1_4_s │ │ │ │ ├── metric_set_rtr_2 │ │ │ │ ├── metric_set_rtr_2_1_c │ │ │ │ ├── metric_set_rtr_2_2_c │ │ │ │ ├── metric_set_rtr_2_2_s │ │ │ │ ├── metric_set_rtr_2_4_c │ │ │ │ ├── metric_set_rtr_2_4_s │ │ │ │ ├── metric_set_rtr_3 │ │ │ │ ├── metric_set_rtr_3_1_c │ │ │ │ ├── metric_set_rtr_3_2_c │ │ │ │ ├── metric_set_rtr_3_2_s │ │ │ │ ├── metric_set_rtr_3_4_c │ │ │ │ └── metric_set_rtr_3_4_s │ │ │ ├── aries_nic_mmr.c │ │ │ ├── aries_rtr_mmr.c │ │ │ ├── check_mmr_configurable.c │ │ │ ├── ldms-sampler_aries_linkstatus.rst │ │ │ ├── ldms-sampler_aries_mmr.rst │ │ │ └── ldms-sampler_aries_mmr_configurable.rst │ │ ├── blob_stream │ │ │ ├── Makefile.am │ │ │ ├── blob_stream_writer.c │ │ │ ├── ldms-csv-from-blobs │ │ │ ├── ldms-sampler_blob_stream_writer.rst │ │ │ └── ldms-sampler_ldms-csv-from-blobs.rst │ │ ├── clock │ │ │ ├── Makefile.am │ │ │ ├── clock.c │ │ │ └── ldms-sampler_clock.rst │ │ ├── comp_id_helper.c │ │ ├── comp_id_helper.h │ │ ├── coretemp │ │ │ ├── Makefile.am │ │ │ ├── coretemp.c │ │ │ └── ldms-sampler_coretemp.rst │ │ ├── cray_system_sampler │ │ │ ├── Makefile.am │ │ │ ├── aries_metrics_gpcdr.c │ │ │ ├── aries_metrics_gpcdr.h │ │ │ ├── cray_aries_r_sampler.c │ │ │ ├── cray_gemini_r_sampler.c │ │ │ ├── cray_sampler_base.c │ │ │ ├── cray_sampler_base.h │ │ │ ├── dvs_sampler.c │ │ │ ├── gemini.h │ │ │ ├── gemini_metrics.h │ │ │ ├── gemini_metrics_gpcdr.c │ │ │ ├── gemini_metrics_gpcdr.h │ │ │ ├── general_metrics.c │ │ │ ├── general_metrics.h │ │ │ ├── ldms-sampler_cray_dvs_sampler.rst │ │ │ ├── ldms-sampler_cray_system_sampler_variants.rst │ │ │ ├── lustre_metrics.c │ │ │ ├── lustre_metrics.h │ │ │ ├── nvidia_metrics.c │ │ │ ├── nvidia_metrics.h │ │ │ ├── rca_metrics.c │ │ │ ├── rca_metrics.h │ │ │ ├── rtr_util.c │ │ │ └── rtr_util.h │ │ ├── cxi_sampler │ │ │ ├── Makefile.am │ │ │ ├── cxi_sampler.c │ │ │ └── ldms-sampler_cxi_sampler.rst │ │ ├── dcgm_sampler │ │ │ ├── Makefile.am │ │ │ ├── dcgm_sampler.c │ │ │ └── ldms-sampler_dcgm_sampler.rst │ │ ├── dstat │ │ │ ├── .gitignore │ │ │ ├── Makefile.am │ │ │ ├── dstat.c │ │ │ ├── ldms-sampler_dstat.rst │ │ │ ├── ldms_dstat_schema_name.rst │ │ │ ├── parse_stat.c │ │ │ └── parse_stat.h │ │ ├── examples │ │ │ ├── Makefile.am │ │ │ ├── array_example │ │ │ │ ├── Makefile.am │ │ │ │ ├── all_example.c │ │ │ │ ├── array_example.c │ │ │ │ ├── ldms-sampler_all_example.rst │ │ │ │ └── ldms-sampler_array_example.rst │ │ │ ├── list_sampler │ │ │ │ ├── Makefile.am │ │ │ │ └── list_sampler.c │ │ │ ├── record_sampler │ │ │ │ ├── Makefile.am │ │ │ │ └── record_sampler.c │ │ │ ├── synthetic │ │ │ │ ├── Makefile.am │ │ │ │ ├── ldms-sampler_synthetic.rst │ │ │ │ └── synthetic.c │ │ │ └── test_sampler │ │ │ │ ├── Makefile.am │ │ │ │ └── test_sampler.c │ │ ├── filesingle │ │ │ ├── Makefile.am │ │ │ ├── filesingle.c │ │ │ ├── ldms-sampler_filesingle.rst │ │ │ ├── ldms-sensors-config │ │ │ ├── ldms-sensors-config.rst │ │ │ ├── test_input │ │ │ │ ├── empty │ │ │ │ ├── lscpu.1 │ │ │ │ ├── lscpu.1.out │ │ │ │ ├── sensors.arm64 │ │ │ │ └── sensors.arm64.out │ │ │ ├── test_lscpu │ │ │ └── test_sensors │ │ ├── fptrans │ │ │ ├── Makefile.am │ │ │ ├── fptrans.c │ │ │ └── ldms-sampler_fptrans.rst │ │ ├── generic_sampler.c │ │ ├── grptest.c │ │ ├── hello_stream │ │ │ ├── .gitignore │ │ │ ├── Makefile.am │ │ │ ├── hello_sampler.c │ │ │ ├── ldms-sampler_hello_sampler.rst │ │ │ └── stream_configs │ │ │ │ ├── Makefile.am │ │ │ │ ├── README │ │ │ │ ├── hello_stream1.conf │ │ │ │ └── hello_stream_store.conf │ │ ├── hweventpapi │ │ │ ├── Makefile.am │ │ │ ├── hweventpapi.c │ │ │ └── ldms-sampler_hweventpapi.rst │ │ ├── ibm_occ │ │ │ ├── Makefile.am │ │ │ ├── ibm_occ.c │ │ │ └── ibm_occ.h │ │ ├── ibmad_records_sampler │ │ │ ├── Makefile.am │ │ │ ├── ibmad_records_sampler.c │ │ │ └── ldms-sampler_ibmad_records_sampler.rst │ │ ├── ibmad_sampler │ │ │ ├── Makefile.am │ │ │ ├── ibmad_sampler.c │ │ │ └── ldms-sampler_ibmad_sampler.rst │ │ ├── ibnet │ │ │ ├── .gitignore │ │ │ ├── Makefile.am │ │ │ ├── ibnet_data.c │ │ │ ├── ibnet_data.h │ │ │ ├── ibnet_plugin.c │ │ │ ├── ldms-ibnet-sampler-gen.rst │ │ │ ├── ldms-sampler_ibnet.rst │ │ │ ├── ldms_ibnet_schema_name.rst │ │ │ ├── scripts │ │ │ │ ├── ldms-gen-lidfile.sh │ │ │ │ ├── ldms-get-opa-network.sh │ │ │ │ └── ldms-ibnet-sampler-gen │ │ │ └── test │ │ │ │ ├── mlx5_d.c │ │ │ │ └── query_out │ │ ├── job_info │ │ │ ├── Makefile.am │ │ │ ├── jobinfo.c │ │ │ └── jobinfo.h │ │ ├── job_info_slurm │ │ │ ├── Makefile.am │ │ │ └── jobinfo_slurm.c │ │ ├── jobid_helper.c │ │ ├── jobid_helper.h │ │ ├── json │ │ │ ├── Makefile.am │ │ │ ├── json_stream_sampler.c │ │ │ └── ldms-sampler_json_stream_sampler.rst │ │ ├── kgnilnd │ │ │ ├── Makefile.am │ │ │ ├── kgnilnd.c │ │ │ └── ldms-sampler_kgnilnd.rst │ │ ├── ldms-sampler_jobid.rst │ │ ├── ldms_jobid.c │ │ ├── ldms_jobid.h │ │ ├── ldms_sampler_base.rst │ │ ├── llnl │ │ │ ├── LLNL_LICENSE_EDAC │ │ │ ├── Makefile.am │ │ │ ├── edac.c │ │ │ └── ldms-sampler_edac.rst │ │ ├── lnet_stats │ │ │ ├── Makefile.am │ │ │ ├── ldms-sampler_lnet_stats.rst │ │ │ └── lnet_stats.c │ │ ├── loadavg │ │ │ ├── Makefile.am │ │ │ ├── ldms-sampler_loadavg.rst │ │ │ └── loadavg.c │ │ ├── lustre │ │ │ ├── .clang_complete │ │ │ ├── Makefile.am │ │ │ ├── fnv_hash.h │ │ │ ├── ldms-sampler_lustre2_client.rst │ │ │ ├── llite1_keys.txt │ │ │ ├── lustre2_client.c │ │ │ ├── lustre2_mds.c │ │ │ ├── lustre2_oss.c │ │ │ ├── lustre_sampler.c │ │ │ └── lustre_sampler.h │ │ ├── lustre_client │ │ │ ├── Makefile.am │ │ │ ├── ldms-sampler_lustre_client.rst │ │ │ ├── lustre_client.c │ │ │ ├── lustre_client.h │ │ │ ├── lustre_client_general.c │ │ │ └── lustre_client_general.h │ │ ├── lustre_mdc │ │ │ ├── Makefile.am │ │ │ ├── NOTES │ │ │ ├── ldms-sampler_lustre_mdc.rst │ │ │ ├── lustre_mdc.c │ │ │ ├── lustre_mdc.h │ │ │ ├── lustre_mdc_general.c │ │ │ └── lustre_mdc_general.h │ │ ├── lustre_mdt │ │ │ ├── Makefile.am │ │ │ ├── ldms-sampler_lustre_mdt.rst │ │ │ ├── lustre_mdt.c │ │ │ ├── lustre_mdt.h │ │ │ ├── lustre_mdt_general.c │ │ │ ├── lustre_mdt_general.h │ │ │ ├── lustre_mdt_job_stats.c │ │ │ └── lustre_mdt_job_stats.h │ │ ├── lustre_ost │ │ │ ├── Makefile.am │ │ │ ├── ldms-sampler_lustre_ost.rst │ │ │ ├── lustre_ost.c │ │ │ ├── lustre_ost.h │ │ │ ├── lustre_ost_general.c │ │ │ ├── lustre_ost_general.h │ │ │ ├── lustre_ost_job_stats.c │ │ │ └── lustre_ost_job_stats.h │ │ ├── meminfo │ │ │ ├── Makefile.am │ │ │ ├── ldms-sampler_meminfo.rst │ │ │ └── meminfo.c │ │ ├── msr_interlagos │ │ │ ├── Makefile.am │ │ │ ├── ldms-sampler_msr_interlagos.rst │ │ │ └── msr_interlagos.c │ │ ├── netlink │ │ │ ├── .gitignore │ │ │ ├── Makefile.am │ │ │ ├── input │ │ │ │ └── test_slps.sh │ │ │ ├── ldms-netlink-notifier.conf │ │ │ ├── ldms-notify.service │ │ │ ├── ldms-sampler_ldms-notify.man │ │ │ ├── ldms-sampler_netlink-notifier.rst │ │ │ ├── netlink-notifier.c │ │ │ ├── simple_lps.c │ │ │ ├── simple_lps.h │ │ │ └── test_simple_lps.c │ │ ├── opa2 │ │ │ ├── Makefile.am │ │ │ ├── ldms-sampler_opa2.rst │ │ │ └── opa2.c │ │ ├── papi │ │ │ ├── Makefile.am │ │ │ ├── ldms-sampler_papi_sampler.rst │ │ │ ├── papi_config.c │ │ │ ├── papi_hook.c │ │ │ ├── papi_hook.h │ │ │ ├── papi_sampler.c │ │ │ ├── papi_sampler.h │ │ │ └── tests │ │ │ │ ├── papi-missing-events-config.json │ │ │ │ ├── papi-missing-schema-config.json │ │ │ │ ├── papi-ok-config.json │ │ │ │ └── papi-syntax-error-config.json │ │ ├── perfevent │ │ │ ├── Makefile.am │ │ │ ├── ldms-sampler_perfevent.rst │ │ │ └── perfevent.c │ │ ├── procdiskstats │ │ │ ├── Makefile.am │ │ │ ├── ldms-sampler_procdiskstats.rst │ │ │ └── procdiskstats.c │ │ ├── procinterrupts │ │ │ ├── Makefile.am │ │ │ ├── ldms-sampler_procinterrupts.rst │ │ │ └── procinterrupts.c │ │ ├── procnet │ │ │ ├── Makefile.am │ │ │ ├── ldms-sampler_procnet.rst │ │ │ └── procnet.c │ │ ├── procnetdev │ │ │ ├── Makefile.am │ │ │ ├── ldms-sampler_procnetdev.rst │ │ │ └── procnetdev.c │ │ ├── procnetdev2 │ │ │ ├── Makefile.am │ │ │ ├── ldms-sampler_procnetdev2.rst │ │ │ └── procnetdev2.c │ │ ├── procnfs │ │ │ ├── Makefile.am │ │ │ ├── ldms-sampler_procnfs.rst │ │ │ └── procnfs.c │ │ ├── procstat │ │ │ ├── Makefile.am │ │ │ ├── ldms-sampler_procstat.rst │ │ │ └── procstat.c │ │ ├── procstat2 │ │ │ ├── Makefile.am │ │ │ ├── ldms-sampler_procstat2.rst │ │ │ └── procstat2.c │ │ ├── rapl │ │ │ ├── Makefile.am │ │ │ ├── ldms-sampler_rapl.rst │ │ │ └── rapl.c │ │ ├── rdc_sampler │ │ │ ├── Makefile.am │ │ │ ├── ldms-sampler_rdc_sampler.rst │ │ │ ├── ldms_rdc_schema_name.rst │ │ │ ├── rdc_plugin.c │ │ │ ├── rdcinfo.c │ │ │ └── rdcinfo.h │ │ ├── sampler_atasmart │ │ │ ├── Makefile.am │ │ │ ├── ldms-sampler_atasmart.rst │ │ │ └── sampler_atasmart.c │ │ ├── sampler_base.c │ │ ├── sampler_base.h │ │ ├── shm │ │ │ ├── Makefile.am │ │ │ ├── README.md │ │ │ ├── ldms-sampler_shm_sampler.rst │ │ │ ├── mpi_profiler │ │ │ │ ├── Makefile.am │ │ │ │ ├── mpi_profiler.c │ │ │ │ ├── mpi_profiler.h │ │ │ │ ├── mpi_profiler_configuration.c │ │ │ │ ├── mpi_profiler_configuration.h │ │ │ │ ├── mpi_profiler_func_list.c │ │ │ │ ├── mpi_profiler_func_list.h │ │ │ │ ├── sample_mpi_application.c │ │ │ │ ├── userheader.h │ │ │ │ └── wrap │ │ │ │ │ ├── input.w │ │ │ │ │ └── wrap.py │ │ │ ├── outline │ │ │ ├── shm_sampler.c │ │ │ ├── shm_util │ │ │ │ ├── Makefile.am │ │ │ │ ├── ldms_shm_event_set.c │ │ │ │ ├── ldms_shm_event_set.h │ │ │ │ ├── ldms_shm_index.c │ │ │ │ ├── ldms_shm_index.h │ │ │ │ ├── ldms_shm_obj.c │ │ │ │ └── ldms_shm_obj.h │ │ │ └── test │ │ │ │ ├── example-mpi_profiler-conf.sh │ │ │ │ └── samplerd.conf │ │ ├── slingshot_info │ │ │ ├── Makefile.am │ │ │ ├── ldms-sampler_slingshot_info.rst │ │ │ └── slingshot_info.c │ │ ├── slingshot_metrics │ │ │ ├── Makefile.am │ │ │ ├── ldms-sampler_slingshot_metrics.rst │ │ │ └── slingshot_metrics.c │ │ ├── slurm │ │ │ ├── Makefile.am │ │ │ ├── ldms-sampler_slurm_sampler.rst │ │ │ ├── slurm_sampler.c │ │ │ ├── slurm_sampler.h │ │ │ └── slurm_sampler2.c │ │ ├── spank │ │ │ ├── Makefile.am │ │ │ ├── ldms-sampler_slurm_notifier.rst │ │ │ └── slurm_notifier.c │ │ ├── switchx.c │ │ ├── switchx_eth.c │ │ ├── sysclassib │ │ │ ├── Makefile.am │ │ │ ├── ldms-sampler_sysclassib.rst │ │ │ └── sysclassib.c │ │ ├── syspapi │ │ │ ├── Makefile.am │ │ │ ├── ldms-sampler_syspapi_sampler.rst │ │ │ ├── syspapi_sampler.c │ │ │ └── test │ │ │ │ ├── .gitignore │ │ │ │ └── ldmsd.sh │ │ ├── tsampler │ │ │ ├── Makefile.am │ │ │ ├── cray_power_sampler.c │ │ │ ├── hfclock.c │ │ │ ├── timer_base.c │ │ │ ├── timer_base.h │ │ │ ├── tsampler.c │ │ │ └── tsampler.h │ │ ├── tx2mon │ │ │ ├── Makefile.am │ │ │ ├── README.md │ │ │ ├── ldms-sampler_tx2mon.rst │ │ │ ├── tx2mon.c │ │ │ ├── tx2mon.h │ │ │ └── tx2mon_cli.c │ │ ├── variable │ │ │ ├── Makefile.am │ │ │ ├── ldms-sampler_variable.rst │ │ │ └── variable.c │ │ ├── vmstat │ │ │ ├── Makefile.am │ │ │ ├── ldms-sampler_vmstat.rst │ │ │ └── vmstat.c │ │ ├── zfs_leafvdevs │ │ │ ├── Makefile.am │ │ │ ├── ldms-sampler_zfs_leafvdevs.rst │ │ │ └── zfs_leafvdevs.c │ │ ├── zfs_topvdevs │ │ │ ├── Makefile.am │ │ │ ├── ldms-sampler_zfs_topvdevs.rst │ │ │ └── zfs_topvdevs.c │ │ └── zfs_zpool │ │ │ ├── Makefile.am │ │ │ ├── ldms-sampler_zfs_zpool.rst │ │ │ └── zfs_zpool.c │ ├── store │ │ ├── Makefile.am │ │ ├── avro_kafka │ │ │ ├── Makefile.am │ │ │ ├── examples │ │ │ │ ├── agg-decomp.conf │ │ │ │ ├── flex_decomp.json │ │ │ │ ├── kafka.conf │ │ │ │ └── serdes.conf │ │ │ ├── ldms-store_avro_kafka.rst │ │ │ └── store_avro_kafka.c │ │ ├── darshan │ │ │ ├── Makefile.am │ │ │ ├── darshan_stream_store.c │ │ │ └── ldms-store_darshan_stream_store.rst │ │ ├── influx │ │ │ ├── Makefile.am │ │ │ └── store_influx.c │ │ ├── kafka │ │ │ ├── Makefile.am │ │ │ ├── ldms-store_kafka.rst │ │ │ └── store_kafka.c │ │ ├── kokkos │ │ │ ├── Makefile.am │ │ │ ├── kokkos.h │ │ │ └── kokkos_store.c │ │ ├── kokkos_appmon │ │ │ ├── Makefile.am │ │ │ ├── kokkos_appmon.c │ │ │ └── kokkos_appmon.h │ │ ├── ldms-store_csv.rst │ │ ├── ldms-store_function_csv.rst │ │ ├── ldms-store_rabbitkw.rst │ │ ├── ldms-store_rabbitv3.rst │ │ ├── ldms-store_sos.rst │ │ ├── papi │ │ │ ├── Makefile.am │ │ │ ├── ldms-store_papi.rst │ │ │ └── store_papi.c │ │ ├── proc_store │ │ │ ├── Makefile.am │ │ │ ├── linux_proc_sampler_argv_store.c │ │ │ ├── linux_proc_sampler_env_store.c │ │ │ ├── linux_proc_sampler_files_store.c │ │ │ └── lpss_common.h │ │ ├── rabbit_utils.c │ │ ├── rabbit_utils.h │ │ ├── slurm │ │ │ ├── Makefile.am │ │ │ ├── ldms-store_slurm.rst │ │ │ └── store_slurm.c │ │ ├── store_amqp.c │ │ ├── store_app │ │ │ ├── Makefile.am │ │ │ ├── ldmsd_store_app.rst │ │ │ └── store_app.c │ │ ├── store_common.h │ │ ├── store_csv.c │ │ ├── store_csv_common.c │ │ ├── store_csv_common.h │ │ ├── store_flatfile │ │ │ ├── Makefile.am │ │ │ ├── ldms-store_flatfile.rst │ │ │ └── store_flatfile.c │ │ ├── store_function_csv.c │ │ ├── store_none.c │ │ ├── store_rabbitkw.c │ │ ├── store_rabbitv3.c │ │ ├── store_sos.c │ │ ├── stream │ │ │ ├── Makefile.am │ │ │ ├── ldms-store_stream_csv_store.rst │ │ │ └── stream_csv_store.c │ │ ├── stream_dump │ │ │ ├── Makefile.am │ │ │ └── stream_dump.c │ │ └── test │ │ │ ├── Makefile.am │ │ │ ├── csv_time_drops.cxx │ │ │ ├── ldms-csv-time-drops.rst │ │ │ └── test.csv │ ├── test │ │ ├── .gitignore │ │ ├── Makefile.am │ │ ├── ldms-run-static-tests.rst │ │ ├── ldms-run-static-tests.test.in │ │ ├── ldms-static-test-bypass.in │ │ ├── ldms-static-test-list.sh.in │ │ ├── test_ldms.c │ │ ├── test_ldms_mval_setter_getter.c │ │ ├── test_ldms_notify.c │ │ ├── test_ldms_push.c │ │ ├── test_ldms_record.c │ │ ├── test_ldms_set_info.c │ │ ├── test_ldms_set_new.c │ │ ├── test_ldms_xprt_reconnect.c │ │ ├── test_ldms_xprt_send_recv.c │ │ └── test_metric.c │ └── third-plugins │ │ ├── .gitignore │ │ ├── Makefile.am │ │ ├── README.third-plugins.md │ │ ├── exclude-third.txt │ │ └── my_plugin │ │ ├── .gitignore │ │ ├── LICENSE │ │ ├── Makefile.am │ │ ├── autogen.sh │ │ ├── config │ │ ├── README.config.rpath │ │ └── config.rpath │ │ ├── configure.ac │ │ ├── ldms_build.sh │ │ ├── m4 │ │ ├── .gitignore │ │ ├── ax_check_compile_flag.m4 │ │ ├── ax_prefix_config_h.gamblin.m4 │ │ ├── my_plugin_top.m4 │ │ ├── ovis_dev.m4 │ │ └── ovis_misc.m4 │ │ ├── my_build.sh │ │ ├── scripts │ │ ├── Makefile.am │ │ ├── check_banned.sh.in │ │ └── rm_banned.sh.in │ │ ├── src │ │ ├── Makefile.am │ │ ├── ldms_my_plugin.rst │ │ └── my_plugin.c │ │ └── test │ │ ├── Makefile.am │ │ ├── my_plugin │ │ ├── my_plugin.1 │ │ ├── my_plugin.2 │ │ └── my_plugin.3 └── test │ ├── failover-delay │ ├── agg11.sh │ ├── agg12.sh │ ├── env.sh │ ├── sampler1.sh │ └── sampler2.sh │ └── failover-simple │ ├── agg1.sh │ ├── agg2.sh │ └── sampler.sh ├── lib ├── .gitignore ├── AUTHORS ├── Doxyfile.in ├── Makefile.am ├── NEWS ├── bin │ ├── Makefile.am │ └── src │ │ ├── Makefile.am │ │ └── map_cmd.c ├── etc │ ├── Makefile.am │ ├── ld.so.conf.d │ │ ├── .gitignore │ │ ├── Makefile.am │ │ └── ovis-ld-so.conf.in │ └── ovis │ │ ├── .gitignore │ │ ├── Makefile.am │ │ ├── ovis-functions.sh │ │ ├── ovis-logrotate.in │ │ └── set-ovis-variables.sh.in └── src │ ├── .gitignore │ ├── Makefile.am │ ├── coll │ ├── Makefile.am │ ├── fnv_hash.c │ ├── fnv_hash.h │ ├── heap.c │ ├── heap.h │ ├── htbl.c │ ├── htbl.h │ ├── idx.c │ ├── idx.h │ ├── idx_priv.h │ ├── label-set.c │ ├── label-set.h │ ├── libmap.c │ ├── map.h │ ├── map_priv.h │ ├── ovis-map.c │ ├── ovis-map.h │ ├── rbt.c │ ├── rbt.h │ ├── str_map.c │ ├── str_map.h │ ├── test-label-set.c │ └── test-ovis-map.c │ ├── mmalloc │ ├── Makefile.am │ ├── mmalloc.c │ └── mmalloc.h │ ├── ovis-lib-configvars.sh.in │ ├── ovis-test │ └── test.h │ ├── ovis_auth │ ├── .gitignore │ ├── Makefile.am │ ├── auth.c │ └── auth.h │ ├── ovis_ctrl │ ├── Makefile.am │ ├── ctrl.c │ └── ctrl.h │ ├── ovis_ev │ ├── Makefile.am │ ├── ev.c │ ├── ev.h │ ├── ev_priv.h │ ├── evw.c │ └── ovis_ev_test.c │ ├── ovis_event │ ├── Makefile.am │ ├── ovis_event.c │ ├── ovis_event.h │ ├── ovis_event_net_test.c │ ├── ovis_event_periodic_test.c │ ├── ovis_event_priv.h │ └── ovis_event_test.c │ ├── ovis_json │ ├── .gitignore │ ├── Makefile.am │ ├── input │ │ └── ovis_json_perf_test.sh │ ├── ovis_json.c │ ├── ovis_json.h │ ├── ovis_json_lexer.l │ ├── ovis_json_parser.y │ ├── ovis_json_perf_test.c │ └── ovis_json_test.c │ ├── ovis_log │ ├── Makefile.am │ ├── ovis_log.c │ └── ovis_log.h │ ├── ovis_ref │ ├── Makefile.am │ └── ref.h │ ├── ovis_thrstats │ ├── Makefile.am │ ├── ovis_thrstats.c │ └── ovis_thrstats.h │ ├── ovis_util │ ├── .gitignore │ ├── Makefile.am │ ├── big_dstring.h │ ├── dstring.c │ ├── dstring.h │ ├── os_util.h │ ├── rmaninfo.c │ ├── rmaninfo.h │ ├── test_big_dstring.c │ ├── test_dstring.c │ ├── test_rman.c │ ├── test_util.c │ ├── util.c │ └── util.h │ ├── third │ ├── Makefile.am │ ├── b62encode-test.c │ ├── b62encode.c │ ├── b62encode.h │ ├── cencode-LICENSE.txt │ ├── cencode-test.c │ ├── cencode.c │ ├── cencode.h │ ├── city-LICENSE │ ├── city-README.md │ ├── city-test.c │ ├── city.c │ ├── city.h │ └── citycrc.h │ └── zap │ ├── Makefile.am │ ├── ZAP_THREAD_NOTE.md │ ├── fabric │ ├── Makefile.am │ ├── zap_fabric.c │ └── zap_fabric.h │ ├── rdma │ ├── Makefile.am │ ├── zap_rdma.c │ └── zap_rdma.h │ ├── sock │ ├── Makefile.am │ ├── zap_sock.c │ └── zap_sock.h │ ├── test │ ├── Makefile.am │ ├── zap_test.c │ ├── zap_test_big.c │ ├── zap_test_disconnect.c │ ├── zap_test_many_read.c │ ├── zap_test_reconnect.c │ ├── zap_test_reconnect_many.c │ └── zap_test_shared_map.c │ ├── ugni │ ├── Makefile.am │ ├── zap_ugni.c │ └── zap_ugni.h │ ├── zap.c │ ├── zap.h │ └── zap_priv.h ├── m4 ├── 00gnulib.m4 ├── Ovis-top.m4 ├── ac_python_devel.m4 ├── aries_mmr.m4 ├── ax_check_compile_flag.m4 ├── ax_check_openssl.m4 ├── ax_compare_version.m4 ├── ax_cxx_check_lib.m4 ├── ax_lib_readline.m4 ├── ax_mpi.m4 ├── ax_prefix_config_h.gamblin.m4 ├── ax_python_module.m4 ├── ax_python_module_version.m4 ├── boost.m4 ├── cython_check.m4 ├── gnulib-cache.m4 ├── gnulib-common.m4 ├── gnulib-comp.m4 ├── gnulib-tool.m4 ├── host-cpu-c-abi.m4 ├── lib-ld.m4 ├── lib-link.m4 ├── lib-prefix.m4 ├── options.m4 ├── verbs_enum_check.m4 └── zzgnulib.m4 └── util ├── Makefile.am ├── aries ├── gpcdr │ ├── README.gpcdr │ └── gpcdr-init_split.conf └── mmr_reader │ ├── function_store │ ├── README │ ├── function_store_config_gen.pl │ ├── function_store_mmr.conf │ └── header.pl │ ├── split_configs │ ├── backpressure.pl │ ├── metric_set_gen_nic.pl │ ├── metric_set_gen_rtr.pl │ ├── metric_set_nic │ ├── metric_set_rtr_0 │ ├── metric_set_rtr_1 │ ├── metric_set_rtr_2 │ └── metric_set_rtr_3 │ └── standalone │ ├── README │ ├── main_gpcd.c │ └── metrics.txt ├── cray_specific ├── aries_mmr_set_configs │ ├── metric_set_nic │ ├── metric_set_rtr_0 │ ├── metric_set_rtr_1 │ ├── metric_set_rtr_2 │ └── metric_set_rtr_3 ├── ovis │ ├── etc │ │ ├── README │ │ ├── aggregator_nodes │ │ │ └── ldmsd │ │ ├── compute_nodes │ │ │ └── ldmsd │ │ ├── ldmsd.agg │ │ ├── ldmsd.conf.fail-over │ │ ├── ldmsd.conf.trivial │ │ └── ldmsd.sampler │ ├── fail_over_scripts │ │ └── fail-over.sh │ └── trivial │ │ ├── agg_trivial.sh │ │ └── sampler_hosts └── rca │ ├── rca_test.c │ └── rca_test.sh ├── failover ├── cmd ├── gen-agg-config.pl └── grp ├── gemini ├── check_fma.sh ├── gpcdr │ ├── README.gpcdr │ └── gpcdr-init_ldms.conf └── parse_rtr_dump.c ├── lanl.sh ├── msr └── interlagos │ └── bw_msr_configs ├── nola.sh ├── nomagic.sh └── relocation ├── .gitignore ├── Makefile.am ├── bld_manifest.sh.in ├── relocate-paths.sh.in ├── target_locations └── unroll_rpms.sh /.github/compat/build-install.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | D=$(dirname $0) 4 | # go to src tree 5 | cd ${D}/../../ 6 | 7 | set -e 8 | set -x 9 | 10 | pwd 11 | 12 | BD=build 13 | 14 | git config --global --add safe.directory ${PWD} 15 | 16 | mkdir -p ${BD} 17 | pushd ${BD} 18 | ../configure --prefix=/opt/ovis-4 --enable-etc --enable-munge 19 | make 20 | make install 21 | -------------------------------------------------------------------------------- /.github/data/dispatch.yaml: -------------------------------------------------------------------------------- 1 | ref: dispatch 2 | inputs: 3 | TAG: LDMS_TAG 4 | # vars is a long string, alternating ATTR VALUE ... 5 | vars: LDMS_REPO LDMS_REPO_URL 6 | LDMS_BRANCH LDMS_TAG 7 | SOS_REPO https://github.com/ovis-hpc/sos 8 | SOS_BRANCH SOS-6 9 | MAESTRO_REPO https://github.com/ovis-hpc/maestro 10 | MAESTRO_BRANCH master 11 | NUMSOS_REPO https://github.com/narategithub/numsos 12 | NUMSOS_BRANCH compMinMeanMax-fix 13 | SOSDBUI_REPO https://github.com/nick-enoent/sosdb-ui 14 | SOSDBUI_BRANCH 500069d5388fc8d68fe9ae0d6b847c8ce1da95c0 15 | SOSDBGRAFANA_REPO https://github.com/nick-enoent/sosdb-grafana 16 | SOSDBGRAFANA_BRANCH e5eb5347f3864e2e3447e996cdbe28b8e74b2bb6 17 | -------------------------------------------------------------------------------- /.github/enum-check/enum-check.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -e 3 | set -x 4 | D=$(dirname $0) 5 | pushd ${D} 6 | for V in 4.3.{3..11}; do 7 | echo "getting enums from ${V}" 8 | ./enumsym.py /root/ldms-${V}/ -e ovis-${V}-enum.list > /test/${V}.enum 9 | ./enumsym.py ../../ -e ovis-${V}-enum.list > /test/HEAD-${V}.enum 10 | done 11 | for V in 4.3.{3..11}; do 12 | echo "comparing enums from ${V} with HEAD" 13 | diff -u /test/${V}.enum /test/HEAD-${V}.enum > /test/enum-${V}.diff 14 | done 15 | echo "DONE!" 16 | -------------------------------------------------------------------------------- /.github/workflows/test-make-dist.yaml: -------------------------------------------------------------------------------- 1 | name: Test "make dist" 2 | 3 | on: 4 | push: 5 | branches: 6 | - main 7 | - 'b[0-9]+.[0-9]+' 8 | pull_request: 9 | branches: 10 | - main 11 | - 'b[0-9]+.[0-9]+' 12 | 13 | jobs: 14 | build: 15 | # Make sure that create-release.yaml has the same "runs-on" and 16 | # "container" as used here. 17 | runs-on: ubuntu-latest 18 | container: 19 | image: ovishpc/ldms-dev-ubuntu-2204:latest-amd64 20 | 21 | steps: 22 | - uses: actions/checkout@v4 23 | - run: git config --global --add safe.directory ${PWD} 24 | - name: autogen 25 | run: sh autogen.sh 26 | - name: configure 27 | run: ./configure 28 | - name: make dist 29 | run: make dist 30 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /.version 2 | .deps* 3 | *~ 4 | *.o 5 | *.lo 6 | cscope* 7 | *.la 8 | autom4te.cache* 9 | .libs 10 | config.h 11 | config.log 12 | Makefile 13 | Makefile.in 14 | /configure 15 | /build* 16 | /config.h.in 17 | /config.status 18 | /ovis-ldms-config.h 19 | install-sh 20 | /libtool 21 | ltmain.sh 22 | missing 23 | compile 24 | py-compile 25 | /stamp-h1 26 | /SHA.txt 27 | 28 | aclocal.m4 29 | libtool.m4 30 | ltoptions.m4 31 | ltsugar.m4 32 | ltversion.m4 33 | lt~obsolete.m4 34 | *doxygen* 35 | *.pyc 36 | *.swp 37 | *.man 38 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/.gitmodules -------------------------------------------------------------------------------- /0_AVOID_GITHUB_ZIP_FILES/README.md: -------------------------------------------------------------------------------- 1 | Github "Download ZIP" button is not supported 2 | ============================================= 3 | Please use git clone instead. 4 | 5 | The "Download ZIP" button on Github has the problem that the 6 | archive does not contain Git metadata (.git directory) which 7 | is needed by OVIS when figuring out the version number. 8 | 9 | Others have asked GitHub for a way to disable the zip portion of this 10 | button without result. (see also project rose-compiler/rose for details.) 11 | 12 | This README lives in a directory whose name causes it to appear 13 | as close as possible to the "Download ZIP" button in the GitHub web 14 | interface. 15 | -------------------------------------------------------------------------------- /INSTALL: -------------------------------------------------------------------------------- 1 | ./configure --help=recursive for all the details. 2 | 3 | By default this builds ldms. 4 | To build with sos, 5 | x=`pwd` 6 | mkdir ../buildovis 7 | cd ../buildovis 8 | mkdir /tmp/inst 9 | $x/configure --enable-sos --prefix=/tmp/inst --disable-csv 10 | make install 11 | -------------------------------------------------------------------------------- /autogen.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | if ! test -f m4/options.m4; then 4 | echo "Missing file $i. You must use a repo clone and not a github zip download" 5 | exit 1 6 | fi 7 | 8 | # create config dir if not exist 9 | test -d config || mkdir config 10 | if test -d ldms ; then 11 | autoreconf --force --install -v -I m4 12 | else 13 | echo "this script for regenerating the ovis ldmsd. Cannot find ldms/." 14 | exit 1 15 | fi 16 | 17 | if test -f .git/hooks/pre-commit.sample; then 18 | if ! test -f .git/hooks/pre-commit; then 19 | cp .git/hooks/pre-commit.sample .git/hooks/pre-commit 20 | fi 21 | fi 22 | -------------------------------------------------------------------------------- /config/.gitignore: -------------------------------------------------------------------------------- 1 | /depcomp 2 | /test-driver 3 | /config.guess 4 | /config.sub 5 | /tap-driver.sh 6 | -------------------------------------------------------------------------------- /docs/.gitignore: -------------------------------------------------------------------------------- 1 | /ldms_stream.man 2 | -------------------------------------------------------------------------------- /docs/Makefile.am: -------------------------------------------------------------------------------- 1 | EXTRA_DIST = conf.py index.rst README.rst requirements.txt 2 | -------------------------------------------------------------------------------- /docs/_templates/autosummary/attribute.rst: -------------------------------------------------------------------------------- 1 | :orphan: 2 | 3 | {{ fullname | escape | underline}} 4 | 5 | .. currentmodule:: {{ module }} 6 | 7 | attribute 8 | 9 | .. auto{{ objtype }}:: {{ objname }} 10 | -------------------------------------------------------------------------------- /docs/_templates/autosummary/member.rst: -------------------------------------------------------------------------------- 1 | :orphan: 2 | 3 | {{ fullname | escape | underline}} 4 | 5 | .. currentmodule:: {{ module }} 6 | 7 | member 8 | 9 | .. auto{{ objtype }}:: {{ objname }} 10 | -------------------------------------------------------------------------------- /docs/_templates/autosummary/method.rst: -------------------------------------------------------------------------------- 1 | :orphan: 2 | 3 | {{ fullname | escape | underline}} 4 | 5 | .. currentmodule:: {{ module }} 6 | 7 | method 8 | 9 | .. auto{{ objtype }}:: {{ objname }} 10 | -------------------------------------------------------------------------------- /docs/_templates/autosummary/minimal_module.rst: -------------------------------------------------------------------------------- 1 | {{ fullname | escape | underline}} 2 | 3 | .. automodule:: {{ fullname }} 4 | 5 | {% block docstring %} 6 | {% endblock %} 7 | -------------------------------------------------------------------------------- /docs/_templates/hero.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/docs/_templates/hero.html -------------------------------------------------------------------------------- /docs/asf/asf-tutorial.rst: -------------------------------------------------------------------------------- 1 | Additional ASF Tutorial Material 2 | =============================== 3 | -------------------------------------------------------------------------------- /docs/asf/deployment/index.rst: -------------------------------------------------------------------------------- 1 | ASF Deployment 2 | =============== 3 | This section covers how to deploy and test AppSysFusion 4 | 5 | .. toctree:: 6 | :maxdepth: 2 7 | 8 | test 9 | -------------------------------------------------------------------------------- /docs/asf/deployment/test.rst: -------------------------------------------------------------------------------- 1 | Github 2 | ====== 3 | 4 | Documentation for this is currently under development. 5 | -------------------------------------------------------------------------------- /docs/asf/grafanause.rst: -------------------------------------------------------------------------------- 1 | Basic Grafana Usage 2 | =================== 3 | -------------------------------------------------------------------------------- /docs/contributing/index.rst: -------------------------------------------------------------------------------- 1 | .. _contributing: 2 | 3 | 4 | .. toctree:: 5 | :maxdepth: 2 6 | :caption: Source Code 7 | 8 | samplerwrite 9 | storewrite 10 | 11 | .. toctree:: 12 | :maxdepth: 2 13 | 14 | ../README 15 | -------------------------------------------------------------------------------- /docs/contributing/samplerwrite.rst: -------------------------------------------------------------------------------- 1 | How to write an LDMS Sampler Plugin 2 | ==================================== 3 | -------------------------------------------------------------------------------- /docs/contributing/storewrite.rst: -------------------------------------------------------------------------------- 1 | How to write an LDMS Store Plugin 2 | ==================================== 3 | -------------------------------------------------------------------------------- /docs/deployment/index.rst: -------------------------------------------------------------------------------- 1 | .. _deployment: 2 | 3 | ========== 4 | Deployment 5 | ========== 6 | 7 | This section covers how to deploy and test LDMS 8 | 9 | .. toctree:: 10 | :maxdepth: 2 11 | 12 | ldms-test 13 | -------------------------------------------------------------------------------- /docs/deployment/ldms-test.rst: -------------------------------------------------------------------------------- 1 | Github Repository for LDMS Functional Testing 2 | ---------------------------------------------- 3 | -------------------------------------------------------------------------------- /docs/images/appsysfusion.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/docs/images/appsysfusion.png -------------------------------------------------------------------------------- /docs/images/darshanConnector.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/docs/images/darshanConnector.png -------------------------------------------------------------------------------- /docs/images/grafana/grafana_output.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/docs/images/grafana/grafana_output.png -------------------------------------------------------------------------------- /docs/images/grafana/grafana_query.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/docs/images/grafana/grafana_query.png -------------------------------------------------------------------------------- /docs/images/grafana/grafana_time.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/docs/images/grafana/grafana_time.png -------------------------------------------------------------------------------- /docs/images/grafana/grafana_timerange.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/docs/images/grafana/grafana_timerange.png -------------------------------------------------------------------------------- /docs/images/grafana/grafanapanel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/docs/images/grafana/grafanapanel.png -------------------------------------------------------------------------------- /docs/images/grafana/grafanapanel_variables.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/docs/images/grafana/grafanapanel_variables.png -------------------------------------------------------------------------------- /docs/requirements.txt: -------------------------------------------------------------------------------- 1 | sphinx 2 | sphinxcontrib-spelling 3 | sphinx-rtd-theme>=1.0.0 4 | sphinx-copybutton 5 | docutils 6 | Jinja2<3.1 7 | markupsafe==2.0.1 8 | sphinx_immaterial 9 | pydantic 10 | recommonmark 11 | sphinx_markdown_tables 12 | myst-parser 13 | # For sphinx gallery examples 14 | matplotlib 15 | sphinx-gallery 16 | -------------------------------------------------------------------------------- /gnulib/.gitignore: -------------------------------------------------------------------------------- 1 | /libgnu.a 2 | -------------------------------------------------------------------------------- /kernel/kldms/.gitignore: -------------------------------------------------------------------------------- 1 | *.mod.c 2 | *.ko.cmd 3 | *.o.cmd 4 | *.ko 5 | *.unsigned 6 | *.ko.unsigned.cmd 7 | .tmp_versions 8 | Module.* 9 | modules.* 10 | !Makefile 11 | -------------------------------------------------------------------------------- /kernel/kldms/Kbuild: -------------------------------------------------------------------------------- 1 | 2 | CONFIG_LDMS=m 3 | CONFIG_LDMS_VMSTAT=m 4 | # CONFIG_LDMS_IBM_PWR=m - requires CONFIG_OF 5 | # CONFIG_LDMS_GPCDR=m 6 | 7 | obj-$(CONFIG_LDMS) += kldms.o 8 | obj-$(CONFIG_LDMS_VMSTAT) += kldms_vmstat.o 9 | obj-$(CONFIG_LDMS_IBM_PWR) += kldms_ibm_pwr.o 10 | # obj-$(CONFIG_LDMS_GPCDR) += kldms_gpcdr.o 11 | 12 | # kldms_gpcdr-objs := kgpcdr.o gpcdr.o ghal.o 13 | -------------------------------------------------------------------------------- /kernel/kldms/Makefile: -------------------------------------------------------------------------------- 1 | KDIR := /lib/modules/`uname -r`/build 2 | PWD := $(shell pwd) 3 | 4 | EXTRA_CFLAGS = -I./ -I${PWD}/../../ldms/src/core -g -O0 5 | 6 | default: modules 7 | 8 | modules: 9 | ${MAKE} -C ${KDIR} M=${PWD} NOSTDINC_FLAGS="$(EXTRA_CFLAGS)" 10 | 11 | clean: 12 | ${MAKE) -C ${KDIR} M=${PWD} clean 13 | -------------------------------------------------------------------------------- /kernel/kldms/gpcd_kapi.h: -------------------------------------------------------------------------------- 1 | /** 2 | * The Gemini Performance Counter driver. 3 | * 4 | * Copyright (C) 2013 Cray Inc. All Rights Reserved. 5 | * 6 | */ 7 | #ifndef _GPCD_KAPI_H_ 8 | #define _GPCD_KAPI_H_ 9 | 10 | #include 11 | 12 | int gpcd_invalid_read_registers(uint32_t num_mmrs, uint64_t *mmr_addrs); 13 | int gpcd_read_registers(uint32_t num_mmrs, 14 | uint64_t *mmr_addrs, uint64_t *mmr_data); 15 | 16 | 17 | #endif /* _GPCD_KAPI_H_ */ 18 | -------------------------------------------------------------------------------- /kokkosConnector/Makefile: -------------------------------------------------------------------------------- 1 | OVIS_DIR=[INSERT PATH TO OVIS INSTALL] 2 | KOKKOS_DIR=[INSERT PATH TO KOKKOS TOOLS INSTALL]/kokkos-tools/ 3 | CXX=g++ 4 | CXXFLAGS=-O3 -std=c++11 -g \ 5 | -I$(OVIS_DIR)/include/ -I./include -I$(KOKKOS_DIR)/profiling/all/ -I$(KOKKOS_DIR)/common/makefile-only/ 6 | 7 | SHARED_CXXFLAGS=-shared -fPIC 8 | LDFLAGS=-L$(OVIS_DIR)/lib 9 | LIBS=-lldmsd_stream -lldms -lrt 10 | 11 | all: kp_kernel_ldms.so 12 | MAKEFILE_PATH := $(subst Makefile,,$(abspath $(lastword $(MAKEFILE_LIST)))) 13 | 14 | CXXFLAGS+=-I${MAKEFILE_PATH} 15 | 16 | kp_kernel_ldms.so: ${MAKEFILE_PATH}kp_kernel_ldms.cpp ${MAKEFILE_PATH}kp_kernel_info.h 17 | $(CXX) $(SHARED_CXXFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ ${MAKEFILE_PATH}kp_kernel_ldms.cpp \ 18 | $(LIBS) 19 | clean: 20 | rm *.so 21 | -------------------------------------------------------------------------------- /kokkosConnector/kp_kernel_timer.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _H_KOKKOS_LDMS_CONNECTOR_TIMER 3 | #define _H_KOKKOS_LDMS_CONNECTOR_TIMER 4 | 5 | #include 6 | 7 | double seconds() { 8 | struct timespec now; 9 | clock_gettime( CLOCK_MONOTONIC, &now ); 10 | 11 | const double d_secs = static_cast( now.tv_sec ); 12 | const double d_nsecs = static_cast( now.tv_nsec ) * 1.0e-9; 13 | 14 | return (d_secs + d_nsecs); 15 | } 16 | 17 | uint64_t getEpochMS() { 18 | struct timeval tv; 19 | 20 | gettimeofday(&tv, NULL); 21 | 22 | const uint64_t millisecondsSinceEpoch = 23 | (uint64_t)(tv.tv_sec) * 1000 + 24 | (uint64_t)(tv.tv_usec) / 1000; 25 | 26 | return millisecondsSinceEpoch; 27 | } 28 | 29 | #endif 30 | -------------------------------------------------------------------------------- /ldms/.gitignore: -------------------------------------------------------------------------------- 1 | /Doxyfile 2 | -------------------------------------------------------------------------------- /ldms/AUTHORS: -------------------------------------------------------------------------------- 1 | Thomas Tucker 2 | Narate Taerat 3 | Nichamon Naksinehaboon 4 | Jim Brandt 5 | Ann Gentile 6 | Benjamin Allan 7 | -------------------------------------------------------------------------------- /ldms/NEWS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/NEWS -------------------------------------------------------------------------------- /ldms/etc/.gitignore: -------------------------------------------------------------------------------- 1 | /ldms.plugstack.env 2 | /ldmsd.aggregator.env 3 | /ldmsd.kokkos.env 4 | /ldmsd.sampler.env 5 | /papi-sampler.env 6 | -------------------------------------------------------------------------------- /ldms/etc/aggregator.conf: -------------------------------------------------------------------------------- 1 | # LDMS_XPRT is set in ldmsd.aggregator.env 2 | 3 | # Adding 1 producer per ldmsd.sampler, if you have thousands of nodes, feel free 4 | # to use a script to generate the configuration file. Producers take care only 5 | # the LDMS connection aspect. Updater will take care of the data updating logic. 6 | prdcr_add name=local host=localhost type=active xprt=${LDMSD_XPRT} port=10001 \ 7 | interval=2000000 8 | prdcr_start name=local 9 | 10 | # Create an updater for all producers and all sets. 11 | updtr_add name=update_all interval=2000000 offset=1000000 12 | # Add all producers. 13 | updtr_prdcr_add name=update_all regex=.* 14 | # By default, all sets in a producer will be updated. 15 | 16 | # Start the updater 17 | updtr_start name=update_all 18 | -------------------------------------------------------------------------------- /ldms/etc/aggregator.conf.cray_xc.example: -------------------------------------------------------------------------------- 1 | env COMPONENT_ID=$(cat /proc/cray_xt/nid) 2 | env NID=$(printf nid%05d $COMPONENT_ID) 3 | env AGGCONF=$(ls /opt/ovis/etc/ldms/agg_conf/agg[0-9][0-9].$NID.$LDMSD_PORT) 4 | 5 | include path=${AGGCONF} 6 | -------------------------------------------------------------------------------- /ldms/etc/init.d/Makefile.am: -------------------------------------------------------------------------------- 1 | docdir = $(datadir)/doc/@PACKAGE@/sample_init_scripts/opt/etc 2 | 3 | install-data-local: 4 | $(MKDIR_P) $(DESTDIR)/$(docdir)/init.d/ 5 | $(INSTALL_SCRIPT) $(builddir)/ldmsd_aggregator $(DESTDIR)/$(docdir)/init.d/ 6 | $(INSTALL_SCRIPT) $(builddir)/ldmsd_sampler $(DESTDIR)/$(docdir)/init.d/ 7 | 8 | uninstall-local: 9 | rm -f $(DESTDIR)/$(docdir)/init.d/ldmsd_aggregator 10 | rm -f $(DESTDIR)/$(docdir)/init.d/ldmsd_sampler 11 | -------------------------------------------------------------------------------- /ldms/etc/kokkos.conf: -------------------------------------------------------------------------------- 1 | # Load the meminfo sampler 2 | load name=kokkos_store 3 | config name=kokkos_store path=${KOKKOS_STORE_PATH} port=${KOKKOS_PORT} log=${KOKKOS_LOG_FILE} 4 | -------------------------------------------------------------------------------- /ldms/etc/ldms.cfg: -------------------------------------------------------------------------------- 1 | { 2 | "aggregators" : [ 3 | { "host" : "10.10.0.217", "port" : 20001, "level" : 1, "ctrl_host" : "localhost", "ctrl_port" : 30001, "secret" : "shhhhhhh" }, 4 | { "host" : "10.10.0.217", "port" : 20002, "level" : 1, "ctrl_host" : "localhost", "ctrl_port" : 30002, "secret" : "shhhhhhh" }, 5 | { "host" : "10.10.0.217", "port" : 20003, "level" : 2, "ctrl_host" : "localhost", "ctrl_port" : 30003, "secret" : "shhhhhhh" }, 6 | { "host" : "10.10.0.217", "port" : 20004, "level" : 2, "ctrl_host" : "localhost", "ctrl_port" : 30004, "secret" : "shhhhhhh" } 7 | ] 8 | } 9 | -------------------------------------------------------------------------------- /ldms/etc/ldms.plugstack.env.in: -------------------------------------------------------------------------------- 1 | # This is configuration for LDMS slurm spank plugins 2 | 3 | optional @LDMSD_PLUGIN_LIBPATH@/libjobinfo_slurm.so 4 | -------------------------------------------------------------------------------- /ldms/etc/ldmsauth.conf: -------------------------------------------------------------------------------- 1 | secretword=shhhhhhh 2 | -------------------------------------------------------------------------------- /ldms/etc/logrotate.d/Makefile.am: -------------------------------------------------------------------------------- 1 | EXTRA_DIST = ldmsd_aggregator ldmsd_sampler 2 | docdir = $(datadir)/doc/@PACKAGE@/sample_init_scripts/opt/etc 3 | 4 | install-data-local: 5 | $(MKDIR_P) $(DESTDIR)/$(docdir)/ovis/logrotate.d/ 6 | $(INSTALL_DATA) $(srcdir)/ldmsd_aggregator $(DESTDIR)/$(docdir)/ovis/logrotate.d/ 7 | $(INSTALL_DATA) $(srcdir)/ldmsd_sampler $(DESTDIR)/$(docdir)/ovis/logrotate.d/ 8 | 9 | uninstall-local: 10 | rm -f $(DESTDIR)/$(docdir)/ovis/logrotate.d/ldmsd_aggregator 11 | rm -f $(DESTDIR)/$(docdir)/ovis/logrotate.d/ldmsd_sampler 12 | -------------------------------------------------------------------------------- /ldms/etc/logrotate.d/ldmsd_aggregator: -------------------------------------------------------------------------------- 1 | "ldmsd_aggregator.log" { 2 | size 5M 3 | maxage 90 4 | rotate 168 5 | notifempty 6 | compress 7 | delaycompress 8 | copytruncate 9 | } 10 | -------------------------------------------------------------------------------- /ldms/etc/logrotate.d/ldmsd_sampler: -------------------------------------------------------------------------------- 1 | "ldmsd_sampler.log" { 2 | size 5M 3 | maxage 90 4 | rotate 168 5 | notifempty 6 | compress 7 | delaycompress 8 | copytruncate 9 | } 10 | -------------------------------------------------------------------------------- /ldms/etc/papi-sampler.conf: -------------------------------------------------------------------------------- 1 | load name=jobinfo 2 | config name=jobinfo producer=${HOSTNAME} instance=${HOSTNAME}/jobinfo component_id=${COMPONENT_ID} uid=0 gid=0 perm=0700 3 | load name=hweventpapi 4 | config name=hweventpapi producer=${HOSTNAME} instance=${HOSTNAME}/procnetdev job_set=${HOSTNAME}/jobinfo component_id=${COMPONENT_ID} metafile=/tmp/papi.conf uid=0 gid=0 perm=0700 5 | start name=hweventpapi interval=1000000 offset=0 6 | 7 | -------------------------------------------------------------------------------- /ldms/etc/papi-sampler.env.in: -------------------------------------------------------------------------------- 1 | PAPI_XPRT=sock 2 | PAPI_PORT=10002 3 | PAPI_CONFIG=/opt/ovis/etc/ldms/papi-sampler.conf 4 | PAPI_AUTH=munge 5 | PAPI_LOG=ERROR 6 | -------------------------------------------------------------------------------- /ldms/etc/sampler.conf: -------------------------------------------------------------------------------- 1 | # Load the meminfo sampler 2 | load name=meminfo 3 | config name=meminfo producer=${HOSTNAME} instance=${HOSTNAME}/meminfo 4 | start name=meminfo interval=1000000 offset=0 5 | -------------------------------------------------------------------------------- /ldms/etc/systemd/.gitignore: -------------------------------------------------------------------------------- 1 | /ldmsd.aggregator.service 2 | /ldmsd.kokkos.service 3 | /ldmsd.sampler.service 4 | /papi-sampler.service 5 | -------------------------------------------------------------------------------- /ldms/etc/systemd/Makefile.am: -------------------------------------------------------------------------------- 1 | docdir = $(datadir)/doc/@PACKAGE@/sample_init_scripts/opt/etc 2 | 3 | SYSTEMD_DIR = $(DESTDIR)$(docdir)/systemd/system 4 | 5 | do_subst = @LDMS_SUBST_RULE@ 6 | 7 | BUILT_FILES = \ 8 | ldmsd.sampler.service \ 9 | ldmsd.aggregator.service \ 10 | ldmsd.kokkos.service \ 11 | papi-sampler.service 12 | BUILT_FILES_SRC = $(BUILT_FILES:=.in) 13 | 14 | EXTRA_DIST = $(BUILT_FILES_SRC) 15 | 16 | sysconfsystemdsystemdir=$(docdir)/systemd/system 17 | nodist_sysconfsystemdsystem_DATA=$(BUILT_FILES) 18 | 19 | $(builddir)/%.service: $(srcdir)/%.service.in 20 | $(do_subst) < $< > $@ 21 | -------------------------------------------------------------------------------- /ldms/etc/systemd/ldmsd.aggregator.service.in: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description = LDMS Daemon 3 | Documentation = http://ovis.ca.sandia.gov 4 | 5 | [Service] 6 | Type = forking 7 | LimitNOFILE = ${LDMSD_ULIMIT_NOFILE} 8 | EnvironmentFile = @sysconfdir@/ldms/ldmsd.aggregator.env 9 | Environment = HOSTNAME=%H 10 | ExecStartPre = /bin/mkdir -p @localstatedir@/run/ldmsd 11 | ExecStart = @sbindir@/ldmsd \ 12 | -x ${LDMSD_XPRT}:${LDMSD_PORT} \ 13 | -c ${LDMSD_PLUGIN_CONFIG_FILE} \ 14 | -a ${LDMSD_AUTH_PLUGIN} \ 15 | -v ${LDMSD_VERBOSE} \ 16 | -m ${LDMSD_MEM} \ 17 | $LDMSD_LOG_OPTION \ 18 | -P ${LDMSD_NUM_THREADS} \ 19 | -r @localstatedir@/run/ldmsd/aggregator.pid 20 | 21 | [Install] 22 | WantedBy = default.target 23 | -------------------------------------------------------------------------------- /ldms/etc/systemd/ldmsd.kokkos.service.in: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description = LDMS Kokkos Daemon 3 | Documentation = http://ovis.ca.sandia.gov 4 | 5 | [Service] 6 | Type = forking 7 | EnvironmentFile = @sysconfdir@/ldms/ldmsd.kokkos.env 8 | LimitNOFILE = ${LDMSD_ULIMIT_NOFILE} 9 | Environment = HOSTNAME=%H 10 | ExecStartPre = /bin/mkdir -p @localstatedir@/run/ldmsd 11 | ExecStart = @sbindir@/ldmsd \ 12 | -x ${LDMSD_XPRT}:${LDMSD_PORT} \ 13 | -c ${LDMSD_PLUGIN_CONFIG_FILE} \ 14 | -a ${LDMSD_AUTH_PLUGIN} \ 15 | -v ${LDMSD_VERBOSE} \ 16 | -m ${LDMSD_MEM} \ 17 | $LDMSD_LOG_OPTION \ 18 | -P ${LDMSD_NUM_THREADS} \ 19 | -r @localstatedir@/run/ldmsd/kokkos.pid 20 | 21 | [Install] 22 | WantedBy = default.target 23 | -------------------------------------------------------------------------------- /ldms/etc/systemd/ldmsd.sampler.service.in: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description = LDMS Sampler Daemon 3 | Documentation = http://ovis.ca.sandia.gov 4 | 5 | [Service] 6 | Type = forking 7 | EnvironmentFile = @sysconfdir@/ldms/ldmsd.sampler.env 8 | Environment = HOSTNAME=%H 9 | ExecStartPre = /bin/mkdir -p @localstatedir@/run/ldmsd 10 | ExecStartPre = -/bin/bash -c "test -n \"${LDMS_JOBINFO_DATA_FILE}\" && touch ${LDMS_JOBINFO_DATA_FILE} || touch /var/run/ldms_jobinfo.data" 11 | ExecStart = @sbindir@/ldmsd \ 12 | -x ${LDMSD_XPRT}:${LDMSD_PORT} \ 13 | -c ${LDMSD_PLUGIN_CONFIG_FILE} \ 14 | -a ${LDMSD_AUTH_PLUGIN} \ 15 | -v ${LDMSD_VERBOSE} \ 16 | -m ${LDMSD_MEM} \ 17 | $LDMSD_LOG_OPTION \ 18 | -r @localstatedir@/run/ldmsd/sampler.pid 19 | 20 | [Install] 21 | WantedBy = default.target 22 | -------------------------------------------------------------------------------- /ldms/etc/systemd/papi-sampler.service.in: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description = LDMS PAPI Daemon 3 | Documentation = http://ovis.ca.sandia.gov 4 | 5 | [Service] 6 | Type = forking 7 | EnvironmentFile = /opt/ovis/etc/ldms/papi-sampler.env 8 | Environment=HOSTNAME=%H 9 | ExecStartPre = /bin/mkdir -p /opt/ovis/var/run/ldmsd 10 | ExecStart = /opt/ovis/sbin/ldmsd \ 11 | -x ${PAPI_XPRT}:${PAPI_PORT} \ 12 | -c ${PAPI_CONFIG} \ 13 | -a ${PAPI_AUTH} \ 14 | -r /opt/ovis/var/run/ldmsd/papi.pid 15 | 16 | [Install] 17 | WantedBy = default.target 18 | -------------------------------------------------------------------------------- /ldms/examples/ldmsctl/flatfile.src: -------------------------------------------------------------------------------- 1 | load flatfile 2 | init flatfile ignored 3 | config flatfile add=nfssrv1.ogc.int/meminfo&/tmp/meminfo.dat 4 | config flatfile add_metric=nfssrv1.ogc.int/meminfo&MemFree&1234 5 | config flatfile add=nfssrv1.ogc.int/vmstat&/tmp/vmstat.dat 6 | config flatfile add_metric=nfssrv1.ogc.int/vmstat&nr_free_pages&4321 7 | start flatfile 1000000 8 | -------------------------------------------------------------------------------- /ldms/examples/ldmsd-rotate-log.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | LOC="/var/log/ovis" 4 | 5 | mode=$1 6 | if [ "$mode" == "rename" ]; then 7 | echo "rename" 8 | CURNAME="agg.log" 9 | OLDNAME="${CURNAME}.`date +%s`" 10 | mv ${LOC}/${CURNAME} ${LOC}/${OLDNAME} 11 | echo "logrotate" | ldmsd_controller --host localhost --port 20002 --auth_file ~/.ldmsauth.conf 12 | else 13 | echo "new name" 14 | NEWNAME="agg-new-`date +%s`.log" 15 | echo "logrotate path=${LOC}/${NEWNAME}" | ldmsd_controller --host localhost --port 20002 --auth_file ~/.ldmsauth.conf 16 | fi 17 | -------------------------------------------------------------------------------- /ldms/examples/set_array/.gitignore: -------------------------------------------------------------------------------- 1 | csv/ 2 | -------------------------------------------------------------------------------- /ldms/examples/set_array/set_array_agg.cfg: -------------------------------------------------------------------------------- 1 | prdcr_add name=prdcr xprt=sock port=10001 host=localhost type=active \ 2 | interval=2000000 3 | prdcr_start name=prdcr 4 | 5 | # 1 Hz updater 6 | updtr_add name=updtr interval=1000000 offset=50000 7 | updtr_prdcr_add name=updtr regex=prdcr 8 | updtr_start name=updtr 9 | 10 | # Output to CSV for verification 11 | load name=store_csv 12 | config name=store_csv action=init path=${PWD} buffer=0 13 | strgp_add name=strgp plugin=store_csv container=csv schema=meminfo 14 | strgp_prdcr_add name=strgp regex=prdcr 15 | strgp_start name=strgp 16 | -------------------------------------------------------------------------------- /ldms/examples/set_array/set_array_sampler.cfg: -------------------------------------------------------------------------------- 1 | # 10 Hz sampling with 20 set buffer 2 | load name=meminfo 3 | config name=meminfo producer=localhost instance=localhost/meminfo \ 4 | set_array_card=20 5 | start name=meminfo interval=100000 offset=0 6 | -------------------------------------------------------------------------------- /ldms/examples/set_array/start_agg.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Run the sampler daemon in the foreground 4 | ldmsd -F -x sock:10000 -c set_array_agg.cfg -v INFO 5 | -------------------------------------------------------------------------------- /ldms/examples/set_array/start_sampler.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Run the sampler daemon in the foreground 4 | ldmsd -F -x sock:10001 -c set_array_sampler.cfg -v INFO 5 | -------------------------------------------------------------------------------- /ldms/examples/update-auto-interval/agg-disable-auto-interval.conf: -------------------------------------------------------------------------------- 1 | prdcr_add name=nid00001 host=localhost xprt=sock port=10001 interval=20000000 type=active 2 | prdcr_start name=nid00001 3 | updtr_add name=pull interval=5000000 offset=100000 auto_interval=false 4 | updtr_prdcr_add name=pull regex=.* 5 | updtr_start name=pull 6 | -------------------------------------------------------------------------------- /ldms/examples/update-auto-interval/agg.conf: -------------------------------------------------------------------------------- 1 | prdcr_add name=nid00001 host=localhost xprt=sock port=10001 interval=20000000 type=active 2 | prdcr_start name=nid00001 3 | updtr_add name=pull interval=5000000 offset=100000 4 | updtr_prdcr_add name=pull regex=.* 5 | updtr_start name=pull 6 | -------------------------------------------------------------------------------- /ldms/examples/update-auto-interval/env.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Change the offset increment 4 | # The unit is in microseconds. 5 | # The default is 100000 which is 100 milliseconds. 6 | # 7 | # export LDMSD_UPDTR_OFFSET_INCR=200000 8 | -------------------------------------------------------------------------------- /ldms/examples/update-auto-interval/samplerd.conf: -------------------------------------------------------------------------------- 1 | load name=meminfo 2 | config name=meminfo producer=nid00001 instance=nid00001/meminfo 3 | start name=meminfo interval=1000000 4 | load name=vmstat 5 | config name=vmstat producer=nid00001 instance=nid00001/vmstat 6 | start name=vmstat interval=5000000 offset=0 7 | -------------------------------------------------------------------------------- /ldms/man/.gitignore: -------------------------------------------------------------------------------- 1 | /ldmsd_exits.man 2 | -------------------------------------------------------------------------------- /ldms/man/make_exits_man.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # script to create exit code list man page from source code. 3 | # arguments are list of files calling cleanup(). 4 | cat << EOF 5 | .\" Manpage for ldmsd exit codes 6 | .\" Contact ovis-help@ca.sandia.gov to correct errors or typos. 7 | .TH man 8 "15 Nov 2016" "v3" "ldmsd exit codes" 8 | 9 | .SH Exit codes 10 | 11 | .PP 12 | Non-zero exit codes from ldmsd are as listed below. 13 | This list is machine generated from source code and may vary with 14 | any release. 15 | .RS 16 | EOF 17 | grep cleanup.[0-9] $* | sed -e 's/.*://g' -e 's/^$//g' -e 's/\t*//g' -e 's/.*NULL.*//' -e 's/cleanup.//g' -e 's/,//g' -e 's/".;//' -e 's/"//g' | grep '[0-9]' |sort -n | sed -e 's/^/.TP\n&/' 18 | cat << EOF 19 | .RE 20 | .SH SEE ALSO 21 | ldmsd(8) 22 | EOF 23 | -------------------------------------------------------------------------------- /ldms/python/.gitignore: -------------------------------------------------------------------------------- 1 | /ldms_pyx.c 2 | /cython_debug 3 | -------------------------------------------------------------------------------- /ldms/python/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/python/__init__.py -------------------------------------------------------------------------------- /ldms/python/cmds/Makefile.am: -------------------------------------------------------------------------------- 1 | dist_bin_SCRIPTS = 2 | 3 | if ENABLE_KOKKOS 4 | dist_bin_SCRIPTS += kq 5 | endif 6 | -------------------------------------------------------------------------------- /ldms/python/ldmsd/Makefile.am: -------------------------------------------------------------------------------- 1 | pkgpythondir=${pythondir}/ldmsd 2 | pkgpython_PYTHON = __init__.py ldmsd_setup.py ldmsd_util.py ldmsd_communicator.py ldmsd_config.py ldmsd_profiling.py parser_util.py hostlist.py 3 | dist_bin_SCRIPTS = ldmsd_controller ldmsd_yaml_parser 4 | -------------------------------------------------------------------------------- /ldms/python/ldmsd_test/robustness/dynamic_cfg/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/python/ldmsd_test/robustness/dynamic_cfg/__init__.py -------------------------------------------------------------------------------- /ldms/python/test/cython/.gitignore: -------------------------------------------------------------------------------- 1 | *.pyc 2 | __pycache__ 3 | -------------------------------------------------------------------------------- /ldms/python/test/cython/agg.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/python3 2 | 3 | # This is a wrapper of `ldmsd -F -c ldmsd.cfg` aggregator that requests SIGHUP 4 | # to be sent to `ldmsd` when the parent process (`test.py`) terminated. 5 | 6 | import os 7 | import ctypes 8 | 9 | libc = ctypes.CDLL(None) 10 | # prctl(PR_SET_PDEATHSIG, SIGHUP) 11 | libc.prctl(1, 1) 12 | os.execlp("ldmsd", "ldmsd", "-F", "-c", "ldmsd.cfg") 13 | -------------------------------------------------------------------------------- /ldms/python/test/cython/ldmsd.cfg: -------------------------------------------------------------------------------- 1 | # run with `ldmsd -F -c ldmsd.cfg` 2 | 3 | listen port=10002 xprt=sock 4 | 5 | prdcr_add name=p_async xprt=sock port=10000 host=localhost type=active interval=1000000 6 | prdcr_start name=p_async 7 | prdcr_add name=p_sync xprt=sock port=10001 host=localhost type=active interval=1000000 8 | prdcr_start name=p_sync 9 | 10 | updtr_add name=u0 interval=1000000 offset=0 11 | updtr_prdcr_add name=u0 regex=.* 12 | updtr_start name=u0 13 | -------------------------------------------------------------------------------- /ldms/python/test/ldmsd/.gitignore: -------------------------------------------------------------------------------- 1 | *.log 2 | csv/ 3 | -------------------------------------------------------------------------------- /ldms/python/test/record/agg.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/python3 import os 2 | import sys 3 | import logging 4 | 5 | from ovis_ldms import ldms 6 | 7 | from common import * 8 | 9 | ldms.init(16*1024*1024) 10 | 11 | def listen_cb(x, ev, arg): 12 | # no-op 13 | pass 14 | 15 | lx = ldms.Xprt("sock") 16 | lx.listen(port=AGG_PORT, cb=listen_cb) 17 | 18 | cx = ldms.Xprt("sock") 19 | cx.connect("localhost", port=SAMP_PORT) 20 | 21 | _dir = cx.dir() 22 | _sets = [ cx.lookup(d.name) for d in _dir ] 23 | for s in _sets: 24 | s.update() 25 | 26 | print(s.json(indent=2)) 27 | -------------------------------------------------------------------------------- /ldms/python/test/record/ldmsd.conf: -------------------------------------------------------------------------------- 1 | listen port=10000 xprt=sock 2 | load name=record_sampler 3 | config name=record_sampler producer=ldmsd instance=ldmsd/record_sampler 4 | start name=record_sampler interval=1000000 offset=0 5 | -------------------------------------------------------------------------------- /ldms/python/test/record/samp.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/python3 import os 2 | import sys 3 | import time 4 | import logging 5 | 6 | from ovis_ldms import ldms 7 | 8 | from common import * 9 | 10 | ldms.init(16*1024*1024) 11 | 12 | _set = ldms.Set("the_set", SCHEMA) 13 | _lst = _set["device_list"] 14 | 15 | sample_set(_set, 0) 16 | _set.publish() 17 | 18 | def listen_cb(x, ev, arg): 19 | # no-op 20 | pass 21 | 22 | xprt = ldms.Xprt("sock") 23 | xprt.listen(port=SAMP_PORT, cb=listen_cb) 24 | 25 | if not sys.flags.interactive: 26 | while True: 27 | time.sleep(1) 28 | -------------------------------------------------------------------------------- /ldms/scripts/CHANGES: -------------------------------------------------------------------------------- 1 | In porting from v2 to v3, the following substitutions come handy (perl style) 2 | to fix plugin path naming and verbosity 3 | #!/usr/bin/perl -pi.bak 4 | # converts x to y for the list 5 | s% -q % -v %g; 6 | s%ZAP_LIBPATH=.*%ZAP_LIBPATH=\@pkglibdir\@%g; 7 | s%LDMSD_PLUGIN_LIBPATH=.*%LDMSD_PLUGIN_LIBPATH=\@pkglibdir\@%g; 8 | s%LDMS_XPRT_LIBPATH=.*%ZAP_LIBPATH=\@pkglibdir\@%g; 9 | 10 | -------------------------------------------------------------------------------- /ldms/scripts/examples/README: -------------------------------------------------------------------------------- 1 | This directory should contain only ldms installed examples. 2 | Editing them or adding to them may cause loss of the user 3 | additions when unistalling or updating ldms. 4 | -------------------------------------------------------------------------------- /ldms/scripts/examples/aggl2: -------------------------------------------------------------------------------- 1 | # This tests what happens when redundant paths from source to L2 agg occur 2 | portbase=61300 3 | export plugname=meminfo 4 | export storename=store_csv 5 | LDMSD `seq 4` 6 | SLEEP 5 7 | MESSAGE ldms_ls on host 1: 8 | LDMS_LS 1 9 | MESSAGE ldms_ls on host 2: 10 | LDMS_LS 2 11 | MESSAGE ldms_ls on host 3: 12 | LDMS_LS 3 13 | MESSAGE ldms_ls on host 4: 14 | LDMS_LS 4 -l -v 15 | SLEEP 5 16 | KILL_LDMSD `seq 4` 17 | file_created $STOREDIR/store_csv/meminfo 18 | -------------------------------------------------------------------------------- /ldms/scripts/examples/aggl2.1: -------------------------------------------------------------------------------- 1 | load name=${plugname} 2 | config name=${plugname} producer=localhost${i} schema=${plugname} instance=localhost${i}/${plugname} component_id=${i} 3 | start name=${plugname} interval=1000000 offset=0 4 | -------------------------------------------------------------------------------- /ldms/scripts/examples/aggl2.2: -------------------------------------------------------------------------------- 1 | prdcr_add name=localhost1 host=${HOST} type=active xprt=${XPRT} port=${port1} interval=1000000 2 | prdcr_start name=localhost1 3 | 4 | updtr_add name=allhosts interval=1000000 offset=100000 5 | updtr_prdcr_add name=allhosts regex=.* 6 | updtr_start name=allhosts 7 | -------------------------------------------------------------------------------- /ldms/scripts/examples/aggl2.3: -------------------------------------------------------------------------------- 1 | prdcr_add name=localhost1 host=${HOST} type=active xprt=${XPRT} port=${port1} interval=1000000 2 | prdcr_start name=localhost1 3 | 4 | updtr_add name=allhosts interval=1000000 offset=100000 5 | updtr_prdcr_add name=allhosts regex=.* 6 | updtr_start name=allhosts 7 | -------------------------------------------------------------------------------- /ldms/scripts/examples/aggl2.4: -------------------------------------------------------------------------------- 1 | load name=${storename} 2 | config name=${storename} path=${STOREDIR} altheader=0 3 | 4 | prdcr_add name=localhost2 host=${HOST} type=active xprt=${XPRT} port=${port2} interval=1000000 5 | prdcr_start name=localhost2 6 | 7 | prdcr_add name=localhost3 host=${HOST} type=active xprt=${XPRT} port=${port3} interval=1000000 8 | prdcr_start name=localhost3 9 | 10 | updtr_add name=allhosts interval=1000000 offset=200000 11 | updtr_prdcr_add name=allhosts regex=.* 12 | updtr_start name=allhosts 13 | 14 | strgp_add name=${testname} plugin=${storename} schema=${plugname} container=${storename} 15 | strgp_prdcr_add name=${testname} regex=.* 16 | strgp_start name=${testname} 17 | -------------------------------------------------------------------------------- /ldms/scripts/examples/aggl2simple: -------------------------------------------------------------------------------- 1 | # This tests simple sampler/l1 agg/l2 agg 2 | portbase=61300 3 | export plugname=meminfo 4 | export storename=store_csv 5 | LDMSD `seq 3` 6 | SLEEP 5 7 | MESSAGE ldms_ls on host 1: 8 | LDMS_LS 1 9 | MESSAGE ldms_ls on host 2: 10 | LDMS_LS 2 11 | MESSAGE ldms_ls on host 3: 12 | LDMS_LS 3 -v 13 | SLEEP 5 14 | KILL_LDMSD `seq 3` 15 | file_created $STOREDIR/store_csv/meminfo 16 | -------------------------------------------------------------------------------- /ldms/scripts/examples/aggl2simple.1: -------------------------------------------------------------------------------- 1 | load name=${plugname} 2 | config name=${plugname} producer=localhost${i} schema=${plugname} instance=localhost${i}/${plugname} component_id=${i} 3 | start name=${plugname} interval=1000000 offset=0 4 | -------------------------------------------------------------------------------- /ldms/scripts/examples/aggl2simple.2: -------------------------------------------------------------------------------- 1 | prdcr_add name=localhost1 host=${HOST} type=active xprt=${XPRT} port=${port1} interval=1000000 2 | prdcr_start name=localhost1 3 | 4 | updtr_add name=allhosts interval=1000000 offset=100000 5 | updtr_prdcr_add name=allhosts regex=.* 6 | updtr_start name=allhosts 7 | -------------------------------------------------------------------------------- /ldms/scripts/examples/aggl2simple.3: -------------------------------------------------------------------------------- 1 | load name=${storename} 2 | config name=${storename} path=${STOREDIR} altheader=0 3 | prdcr_add name=localhost2 host=${HOST} type=active xprt=${XPRT} port=${port2} interval=1000000 4 | prdcr_start name=localhost2 5 | 6 | updtr_add name=allhosts interval=1000000 offset=200000 7 | updtr_prdcr_add name=allhosts regex=.* 8 | updtr_start name=allhosts 9 | 10 | strgp_add name=${testname} plugin=${storename} schema=${plugname} container=${storename} 11 | strgp_prdcr_add name=${testname} regex=.* 12 | strgp_start name=${testname} 13 | -------------------------------------------------------------------------------- /ldms/scripts/examples/all_example: -------------------------------------------------------------------------------- 1 | export plugname=all_example 2 | portbase=61000 3 | LDMSD -p prolog.sampler 1 4 | LDMSD -p prolog.sampler -p prolog.store2 2 5 | MESSAGE ldms_ls on host 1: 6 | LDMS_LS 1 -l 7 | MESSAGE ldms_ls on host 2: 8 | LDMS_LS 2 -l 9 | SLEEP 5 10 | KILL_LDMSD 1 2 11 | file_created $STOREDIR/node/$testname 12 | -------------------------------------------------------------------------------- /ldms/scripts/examples/all_example.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/scripts/examples/all_example.1 -------------------------------------------------------------------------------- /ldms/scripts/examples/all_example.2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/scripts/examples/all_example.2 -------------------------------------------------------------------------------- /ldms/scripts/examples/all_example.sos: -------------------------------------------------------------------------------- 1 | export plugname=all_example 2 | portbase=61000 3 | LDMSD -p prolog.sampler 1 4 | VGARGS="--track-origins=yes " 5 | vgon 6 | LDMSD -p prolog.sampler -p prolog.store2.sos 2 7 | vgoff 8 | MESSAGE ldms_ls on host 1: 9 | LDMS_LS 1 -l 10 | MESSAGE ldms_ls on host 2: 11 | LDMS_LS 2 -l 12 | SLEEP 5 13 | KILL_LDMSD 1 2 14 | file_created $STOREDIR/node/$testname 15 | -------------------------------------------------------------------------------- /ldms/scripts/examples/all_example.sos.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/scripts/examples/all_example.sos.1 -------------------------------------------------------------------------------- /ldms/scripts/examples/all_example.sos.2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/scripts/examples/all_example.sos.2 -------------------------------------------------------------------------------- /ldms/scripts/examples/app_sampler: -------------------------------------------------------------------------------- 1 | export plugname=app_sampler 2 | export dsname=$(ldms_dstat_schema_name mmalloc=1 io=1 fd=1 auto-schema=1) 3 | export dstat_schema=$dsname 4 | portbase=61060 5 | ${BUILDDIR}/sbin/ldms-netlink-notifier --port=61061 --auth=none --reconnect=1 -D 15 -r -j $LOGDIR/json.log --exclude-dir-path= --exclude-short-path= --exclude-programs & 6 | VGARGS="--leak-check=full --track-origins=yes --trace-children=yes" 7 | vgon 8 | LDMSD 1 9 | vgoff 10 | LDMSD 2 11 | MESSAGE ldms_ls on host 1: 12 | LDMS_LS 1 -v 13 | MESSAGE ldms_ls on host 2: 14 | SLEEP 1 15 | LDMS_LS 2 -l 16 | SLEEP 5 17 | LDMS_LS 2 -v 18 | KILL_LDMSD 1 2 19 | file_created $STOREDIR/node/$testname 20 | file_created $STOREDIR/node/$dsname 21 | -------------------------------------------------------------------------------- /ldms/scripts/examples/app_sampler.1: -------------------------------------------------------------------------------- 1 | load name=${testname} 2 | config name=${testname} producer=localhost${i} schema=${testname} instance=localhost${i}/${testname} component_id=${i} 3 | start name=${testname} interval=1000000 offset=0 4 | 5 | load name=dstat 6 | config name=dstat producer=localhost${i} instance=localhost${i}/${dstat_schema} component_id=${i} mmalloc=1 io=1 fd=1 auto-schema=1) 7 | start name=dstat interval=1000000 offset=0 8 | -------------------------------------------------------------------------------- /ldms/scripts/examples/array_example: -------------------------------------------------------------------------------- 1 | export plugname=array_example 2 | portbase=61004 3 | LDMSD -p prolog.sampler 1 4 | LDMSD -p prolog.sampler -p prolog.store2 2 5 | MESSAGE ldms_ls on host 1: 6 | LDMS_LS 1 -l 7 | MESSAGE ldms_ls on host 2: 8 | LDMS_LS 2 -l 9 | SLEEP 5 10 | KILL_LDMSD 1 2 11 | file_created $STOREDIR/node/$testname 12 | -------------------------------------------------------------------------------- /ldms/scripts/examples/array_example.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/scripts/examples/array_example.1 -------------------------------------------------------------------------------- /ldms/scripts/examples/array_example.2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/scripts/examples/array_example.2 -------------------------------------------------------------------------------- /ldms/scripts/examples/auto-interval.1: -------------------------------------------------------------------------------- 1 | load name=${plugname} 2 | config name=${plugname} producer=localhost${i} schema=${testname}_fast instance=localhost${i}/${testname} component_id=${i} 3 | start name=${plugname} interval=1000000 offset=0 4 | -------------------------------------------------------------------------------- /ldms/scripts/examples/auto-interval.2: -------------------------------------------------------------------------------- 1 | load name=${plugname} 2 | config name=${plugname} producer=localhost${i} schema=${testname}_medium instance=localhost${i}/${testname} component_id=${i} 3 | start name=${plugname} interval=5000000 offset=0 4 | -------------------------------------------------------------------------------- /ldms/scripts/examples/auto-interval.3: -------------------------------------------------------------------------------- 1 | load name=${plugname} 2 | config name=${plugname} producer=localhost${i} schema=${testname}_slow instance=localhost${i}/${testname} component_id=${i} 3 | start name=${plugname} interval=10000000 offset=0 4 | -------------------------------------------------------------------------------- /ldms/scripts/examples/blob_writer.1: -------------------------------------------------------------------------------- 1 | #load name=dstat 2 | #config name=dstat producer=localhost${i} instance=localhost${i}/${dstat_schema} component_id=${i} mmalloc=1 io=1 fd=1 auto-schema=1) 3 | #start name=dstat interval=1000000 offset=0 4 | -------------------------------------------------------------------------------- /ldms/scripts/examples/clock: -------------------------------------------------------------------------------- 1 | export plugname=clock 2 | portbase=61008 3 | LDMSD -p prolog.sampler 1 2 4 | LDMSD -p prolog.sampler -p prolog.store3 3 5 | MESSAGE ldms_ls on host 1: 6 | LDMS_LS 1 -l 7 | MESSAGE ldms_ls on host 2: 8 | LDMS_LS 2 -l 9 | MESSAGE ldms_ls on host 3: 10 | LDMS_LS 3 11 | SLEEP 5 12 | KILL_LDMSD `seq 3` 13 | file_created $STOREDIR/node/$testname 14 | -------------------------------------------------------------------------------- /ldms/scripts/examples/clock.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/scripts/examples/clock.1 -------------------------------------------------------------------------------- /ldms/scripts/examples/clock.2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/scripts/examples/clock.2 -------------------------------------------------------------------------------- /ldms/scripts/examples/clock.3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/scripts/examples/clock.3 -------------------------------------------------------------------------------- /ldms/scripts/examples/clock.job: -------------------------------------------------------------------------------- 1 | # this sampler uses the old job option 2 | export plugname=clock 3 | portbase=62008 4 | JOBDATA $TESTDIR/job.data 1 2 3 5 | LDMSD -p prolog.jobid -p prolog.sampler 1 2 6 | LDMSD -p prolog.jobid -p prolog.sampler -p prolog.jobid.store3 3 7 | MESSAGE ldms_ls on host 1: 8 | JOBDATA $TESTDIR/job.data 1 2 3 9 | LDMS_LS 1 -l 10 | MESSAGE ldms_ls on host 2: 11 | LDMS_LS 2 -l 12 | MESSAGE ldms_ls on host 3: 13 | LDMS_LS 3 14 | JOBDATA $TESTDIR/job.data 1 2 15 | SLEEP 3 16 | JOBDATA $TESTDIR/job.data 1 3 17 | SLEEP 2 18 | KILL_LDMSD `seq 3` 19 | file_created $STOREDIR/node/$testname 20 | file_created $STOREDIR/node/jobid 21 | -------------------------------------------------------------------------------- /ldms/scripts/examples/clock.job.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/scripts/examples/clock.job.1 -------------------------------------------------------------------------------- /ldms/scripts/examples/clock.job.2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/scripts/examples/clock.job.2 -------------------------------------------------------------------------------- /ldms/scripts/examples/clock.job.3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/scripts/examples/clock.job.3 -------------------------------------------------------------------------------- /ldms/scripts/examples/conf_csv: -------------------------------------------------------------------------------- 1 | portbase=61076 2 | MESSAGE starting agg and two collectors 3 | JOBDATA $TESTDIR/job.data 1 2 3 4 | #vgon 5 | #VGARGS="--track-origins=yes --leak-check=full --show-leak-kinds=all" 6 | LDMSD -p prolog.jobidinfo `seq 3` 7 | #vgoff 8 | LDMS_LS 1 9 | SLEEP 15 10 | KILL_LDMSD `seq 3` 11 | MESSAGE logs and data under ${TESTDIR} 12 | -------------------------------------------------------------------------------- /ldms/scripts/examples/csvcheckattrs: -------------------------------------------------------------------------------- 1 | export plugname=meminfo 2 | portbase=61098 3 | #export VGARGS="--track-origins=yes --leak-check=full --show-leak-kinds=all" 4 | LDMSD -p prolog.sampler 1 5 | #vgon 6 | LDMSD 2 7 | #vgoff 8 | MESSAGE ldms_ls on host 1: 9 | LDMS_LS 1 10 | MESSAGE ldms_ls on host 2: 11 | LDMS_LS 2 12 | SLEEP 10 13 | KILL_LDMSD `seq 2` 14 | file_created $STOREDIR/$HOSTNAME/$testname 15 | 16 | -------------------------------------------------------------------------------- /ldms/scripts/examples/csvcheckattrs.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/scripts/examples/csvcheckattrs.1 -------------------------------------------------------------------------------- /ldms/scripts/examples/csvcheckattrs.2: -------------------------------------------------------------------------------- 1 | load name=store_csv 2 | config name=store_csv path=${STOREDIR} altheader=0 bogon=2 3 | prdcr_add name=localhost1 host=${HOST} type=active xprt=${XPRT} port=${port1} interval=10000000 4 | prdcr_start name=localhost1 5 | 6 | updtr_add name=allhosts interval=1000000 offset=100000 7 | updtr_prdcr_add name=allhosts regex=.* 8 | updtr_start name=allhosts 9 | 10 | #config name=store_csv action=custom path=${STOREDIR} altheader=1 container=node schema=${testname} 11 | strgp_add name=store_${testname} plugin=store_csv schema=${testname} container=node 12 | strgp_prdcr_add name=store_${testname} regex=.* 13 | strgp_start name=store_${testname} 14 | -------------------------------------------------------------------------------- /ldms/scripts/examples/dcgm1: -------------------------------------------------------------------------------- 1 | export plugname=dcgm 2 | portbase=61073 3 | VGARGS="--leak-check=full --track-origins=yes --trace-children=yes" 4 | JOBDATA $TESTDIR/job.data 1 2 5 | vgoff 6 | LDMSD -p prolog.jobid 1 2 7 | vgoff 8 | MESSAGE ldms_ls on host 1: 9 | LDMS_LS 1 -lv 10 | SLEEP 1 11 | MESSAGE ldms_ls on host 2: 12 | LDMS_LS 2 -l 13 | SLEEP 5 14 | KILL_LDMSD 1 2 15 | file_created $STOREDIR/node/$testname 16 | -------------------------------------------------------------------------------- /ldms/scripts/examples/dcgm1.1: -------------------------------------------------------------------------------- 1 | load name=dcgm_sampler 2 | config name=dcgm_sampler producer=localhost${i} schema=${testname} instance=localhost${i}/${testname} component_id=${i} interval=1000000 perm=757 uid=3556 gid=3556 job_set=localhost${i}/jobid use_base=1 3 | start name=dcgm_sampler interval=1000000 offset=0 4 | -------------------------------------------------------------------------------- /ldms/scripts/examples/dcgm1.2: -------------------------------------------------------------------------------- 1 | # cannot load sampler instance on same node. 2 | 3 | load name=store_csv 4 | config name=store_csv path=${STOREDIR} altheader=0 5 | 6 | prdcr_add name=localhost1 host=${HOST} type=active xprt=${XPRT} port=${port1} interval=2000000 7 | prdcr_start name=localhost1 8 | 9 | updtr_add name=allhosts interval=1000000 offset=100000 10 | updtr_prdcr_add name=allhosts regex=.* 11 | updtr_start name=allhosts 12 | 13 | strgp_add name=store_${testname} plugin=store_csv schema=${testname} container=node 14 | strgp_prdcr_add name=store_${testname} regex=.* 15 | strgp_start name=store_${testname} 16 | 17 | strgp_add name=jobid.csv plugin=store_csv schema=jobid container=node 18 | strgp_prdcr_add name=jobid.csv regex=.* 19 | strgp_start name=jobid.csv 20 | -------------------------------------------------------------------------------- /ldms/scripts/examples/dstat: -------------------------------------------------------------------------------- 1 | export plugname=dstat 2 | portbase=61086 3 | LDMSD -p prolog.sampler 1 2 4 | LDMSD -p prolog.sampler -p prolog.store3 3 5 | MESSAGE ldms_ls on host 1: 6 | LDMS_LS 1 -l 7 | MESSAGE ldms_ls on host 2: 8 | LDMS_LS 2 -l 9 | MESSAGE ldms_ls on host 3: 10 | LDMS_LS 3 11 | SLEEP 5 12 | KILL_LDMSD `seq 3` 13 | file_created $STOREDIR/node/$testname 14 | -------------------------------------------------------------------------------- /ldms/scripts/examples/dstat.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/scripts/examples/dstat.1 -------------------------------------------------------------------------------- /ldms/scripts/examples/dstat.2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/scripts/examples/dstat.2 -------------------------------------------------------------------------------- /ldms/scripts/examples/dstat.3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/scripts/examples/dstat.3 -------------------------------------------------------------------------------- /ldms/scripts/examples/dstat.job.1: -------------------------------------------------------------------------------- 1 | load name=${plugname} 2 | config name=${plugname} producer=localhost${i} instance=localhost${i}/${testname} component_id=${i} mmalloc=1 io=1 auto-schema=1 fd=1 sc_clk_tck=1 3 | start name=${plugname} interval=1000000 offset=0 4 | -------------------------------------------------------------------------------- /ldms/scripts/examples/dstat.job.2: -------------------------------------------------------------------------------- 1 | load name=${plugname} 2 | config name=${plugname} producer=localhost${i} instance=localhost${i}/${testname} component_id=${i} mmalloc=1 io=1 auto-schema=1 fdtypes=1 sc_clk_tck=1 3 | start name=${plugname} interval=1000000 offset=0 4 | -------------------------------------------------------------------------------- /ldms/scripts/examples/dstat.job.3: -------------------------------------------------------------------------------- 1 | load name=${plugname} 2 | config name=${plugname} producer=localhost${i} schema=${testname} instance=localhost${i}/${testname} component_id=${i} mmalloc=1 io=1 auto-schema=1 sc_clk_tck=1 3 | start name=${plugname} interval=1000000 offset=0 4 | 5 | strgp_add name=store_${testname}.auto plugin=store_csv schema=${dsname1} container=node 6 | strgp_prdcr_add name=store_${testname}.auto regex=.* 7 | strgp_start name=store_${testname}.auto 8 | 9 | strgp_add name=store_${testname}.auto2 plugin=store_csv schema=${dsname2} container=node 10 | strgp_prdcr_add name=store_${testname}.auto2 regex=.* 11 | strgp_start name=store_${testname}.auto2 12 | -------------------------------------------------------------------------------- /ldms/scripts/examples/edac: -------------------------------------------------------------------------------- 1 | export plugname=edac 2 | portbase=61012 3 | # data comes from /sys/devices/system/edac/mc/mc*/csrow* 4 | export max_mc=$(ls /sys/devices/system/edac/mc/mc* -d |wc -l) 5 | export max_csrow=$(ls /sys/devices/system/edac/mc/mc0/csrow* -d |wc -l) 6 | for mc in $(seq 1 $(($max_mc -1))); do 7 | next_csrow=$(ls /sys/devices/system/edac/mc/mc$mc/csrow* -d |wc -l) 8 | if test "$next_csrow" != "$max_csrow"; then 9 | MESSAGE "Found non-rectangular edac data; sampler is not applicable" 10 | exit 1 11 | fi 12 | done 13 | LDMSD 1 14 | LDMSD -p prolog.store2 2 15 | MESSAGE ldms_ls on host 1: 16 | LDMS_LS 1 -l 17 | MESSAGE ldms_ls on host 2: 18 | LDMS_LS 2 -l 19 | SLEEP 5 20 | KILL_LDMSD 1 2 21 | file_created $STOREDIR/node/$testname 22 | -------------------------------------------------------------------------------- /ldms/scripts/examples/edac.1: -------------------------------------------------------------------------------- 1 | load name=${testname} 2 | config name=${testname} producer=localhost${i} schema=${testname} instance=localhost${i}/${testname} component_id=${i} max_mc=${max_mc} max_csrow=${max_csrow} 3 | start name=${testname} interval=1000000 offset=0 4 | -------------------------------------------------------------------------------- /ldms/scripts/examples/edac.2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/scripts/examples/edac.2 -------------------------------------------------------------------------------- /ldms/scripts/examples/fail_sampler_procnetdev: -------------------------------------------------------------------------------- 1 | # This test produces stop sampler 2 | export plugname=procnetdev 3 | IFACES=`ifconfig -a |grep UP |sed -e 's/:.*//g' | tr -s '[:space:]' , | sed -e 's/,$//g'` 4 | # extend list to fail at 21 5 | IFACES="${IFACES},a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z" 6 | export IFACES 7 | 8 | portbase=61024 9 | DAEMONS 1 2 10 | vgoff 11 | LDMSD 1 12 | vgoff 13 | vgoff 14 | LDMSD 2 15 | vgoff 16 | MESSAGE ldms_ls on host 1: 17 | LDMS_LS 1 -l 18 | MESSAGE ldms_ls on host 2: 19 | LDMS_LS 2 -l 20 | SLEEP 5 21 | KILL_LDMSD 1 2 22 | file_created $STOREDIR/node/$testname 23 | -------------------------------------------------------------------------------- /ldms/scripts/examples/fail_sampler_procnetdev.1: -------------------------------------------------------------------------------- 1 | load name=${plugname} 2 | config name=${plugname} producer=localhost${i} schema=${plugname} instance=localhost${i}/${plugname} component_id=${i} ifaces=lo 3 | start name=${plugname} interval=1000000 offset=0 4 | -------------------------------------------------------------------------------- /ldms/scripts/examples/filesingle: -------------------------------------------------------------------------------- 1 | export plugname=filesingle 2 | portbase=61060 3 | ldms-sensors-config > $LDMSD_RUN/filesingle.conf 4 | export FSCONF=$LDMSD_RUN/filesingle.conf 5 | vgon 6 | LDMSD 1 2 7 | vgoff 8 | MESSAGE ldms_ls on host 1: 9 | LDMS_LS 1 -l 10 | MESSAGE ldms_ls on host 2: 11 | LDMS_LS 2 -l 12 | SLEEP 5 13 | KILL_LDMSD 1 2 14 | file_created $STOREDIR/node/$testname 15 | -------------------------------------------------------------------------------- /ldms/scripts/examples/filesingle.1: -------------------------------------------------------------------------------- 1 | load name=${testname} 2 | config name=${testname} producer=localhost${i} schema=${testname} instance=localhost${i}/${testname} component_id=${i} conf=${FSCONF} timing batteries x=foo 3 | start name=${testname} interval=1000000 offset=0 4 | -------------------------------------------------------------------------------- /ldms/scripts/examples/fptrans: -------------------------------------------------------------------------------- 1 | export plugname=fptrans 2 | portbase=61014 3 | LDMSD -p prolog.sampler 1 4 | LDMSD -p prolog.sampler -p prolog.store2 2 5 | MESSAGE ldms_ls on host 1: 6 | LDMS_LS 1 -l 7 | MESSAGE ldms_ls on host 2: 8 | LDMS_LS 2 -l 9 | SLEEP 5 10 | KILL_LDMSD 1 2 11 | file_created $STOREDIR/node/$testname 12 | -------------------------------------------------------------------------------- /ldms/scripts/examples/fptrans.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/scripts/examples/fptrans.1 -------------------------------------------------------------------------------- /ldms/scripts/examples/fptrans.2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/scripts/examples/fptrans.2 -------------------------------------------------------------------------------- /ldms/scripts/examples/ibmad_sampler: -------------------------------------------------------------------------------- 1 | export plugname=ibmad_sampler 2 | portbase=61060 3 | DAEMONS 1 2 3 4 | LDMSD 3 5 | SLEEP 1 6 | LDMSD 1 2 7 | LDMS_LS 1 -l 8 | MESSAGE ldms_ls on host 2: 9 | LDMS_LS 2 -lv 10 | SLEEP 5 11 | KILL_LDMSD 1 2 3 12 | file_created $STOREDIR/node/$testname 13 | -------------------------------------------------------------------------------- /ldms/scripts/examples/ibmad_sampler.1: -------------------------------------------------------------------------------- 1 | load name=${testname} 2 | config name=${testname} producer=localhost${i} schema=${testname} instance=localhost${i}/${testname} component_id=${i} exclude=mlx5_0.2,mlx5_0 rate=1 3 | start name=${testname} interval=1000000 offset=0 4 | -------------------------------------------------------------------------------- /ldms/scripts/examples/ibmad_sampler.2: -------------------------------------------------------------------------------- 1 | load name=${testname} 2 | config name=${testname} producer=localhost${i} schema=${testname} instance=localhost${i}/${testname} component_id=${i} include=hfi1_0.1 rate=1 3 | start name=${testname} interval=1000000 offset=0 4 | -------------------------------------------------------------------------------- /ldms/scripts/examples/ibmad_sampler.3: -------------------------------------------------------------------------------- 1 | load name=store_csv 2 | config name=store_csv path=${STOREDIR} altheader=0 3 | 4 | prdcr_add name=localhost1 host=${HOST} type=active xprt=${XPRT} port=${port1} interval=2000000 5 | prdcr_start name=localhost1 6 | 7 | prdcr_add name=localhost2 host=${HOST} type=active xprt=${XPRT} port=${port2} interval=2000000 8 | prdcr_start name=localhost2 9 | 10 | updtr_add name=allhosts interval=1000000 offset=100000 11 | updtr_prdcr_add name=allhosts regex=.* 12 | updtr_start name=allhosts 13 | 14 | strgp_add name=store_${testname} plugin=store_csv schema=${testname} container=node 15 | strgp_prdcr_add name=store_${testname} regex=.* 16 | strgp_start name=store_${testname} 17 | -------------------------------------------------------------------------------- /ldms/scripts/examples/ibnet.1: -------------------------------------------------------------------------------- 1 | load name=${testname} 2 | config name=${testname} producer=localhost${i} component_id=${i} source-list=${LIDFILE} port-name=mlx5_0 node-name-map=${NODEMAP} timing=2 component_id=999 metric-conf=${CONFMETRICS} 3 | start name=${testname} interval=5000000 offset=0 4 | -------------------------------------------------------------------------------- /ldms/scripts/examples/linux_proc_sampler.1: -------------------------------------------------------------------------------- 1 | load name=${testname} 2 | config name=${testname} producer=localhost${i} schema=${testname} instance=localhost${i}/${testname} component_id=${i} perm=0644 cfg_file=${LDMSD_RUN}/metrics.input 3 | start name=${testname} interval=1000000 offset=0 4 | 5 | # load name=dstat 6 | # config name=dstat producer=localhost${i} instance=localhost${i}/${dstat_schema} component_id=${i} mmalloc=1 io=1 fd=1 auto-schema=1 stat=1) perm=777 7 | # start name=dstat interval=1000000 offset=0 8 | -------------------------------------------------------------------------------- /ldms/scripts/examples/linux_proc_sampler.3: -------------------------------------------------------------------------------- 1 | prdcr_add name=localhost2 host=${HOST} type=active xprt=${XPRT} port=${port2} interval=2000000 2 | prdcr_start name=localhost2 3 | 4 | updtr_add name=allhosts interval=1000000 offset=200000 5 | updtr_prdcr_add name=allhosts regex=.* 6 | updtr_start name=allhosts 7 | 8 | load name=store_csv 9 | config name=store_csv path=${STOREDIR} altheader=0 10 | 11 | strgp_add name=store_dstat plugin=store_csv schema=${dstat_schema} container=node 12 | strgp_prdcr_add name=store_dstat regex=.* 13 | strgp_start name=store_dstat 14 | 15 | -------------------------------------------------------------------------------- /ldms/scripts/examples/lnet_stats: -------------------------------------------------------------------------------- 1 | export plugname=lnet_stats 2 | portbase=61016 3 | export statfile=$LDMSD_RUN/lnet_dummy 4 | vgon 5 | LDMSD 1 6 | LDMSD 2 7 | vgoff 8 | LDMSD 3 9 | MESSAGE ldms_ls on host 1: 10 | LDMS_LS 1 -l 11 | MESSAGE ldms_ls on host 2: 12 | LDMS_LS 2 -l 13 | SLEEP 2 14 | echo "1 2 3 4 5 6 7 8 9 10 11" >$statfile 15 | SLEEP 2 16 | LDMS_LS 2 -v 17 | rm $statfile 18 | SLEEP 2 19 | echo "1 2 3 4 5 6 7 8 9 10 11" >$statfile 20 | SLEEP 1 21 | LDMS_LS 2 -v 22 | SLEEP 2 23 | rm $statfile 24 | MESSAGE ldms_ls on host 3: 25 | LDMS_LS 3 26 | SLEEP 5 27 | KILL_LDMSD `seq 3` 28 | file_created $STOREDIR/node/$testname 29 | -------------------------------------------------------------------------------- /ldms/scripts/examples/lnet_stats.1: -------------------------------------------------------------------------------- 1 | load name=${plugname} 2 | config name=${plugname} producer=localhost${i} schema=${testname} instance=localhost${i}/${testname} component_id=${i} 3 | start name=${plugname} interval=1000000 offset=0 4 | -------------------------------------------------------------------------------- /ldms/scripts/examples/lnet_stats.2: -------------------------------------------------------------------------------- 1 | load name=${plugname} 2 | config name=${plugname} producer=localhost${i} schema=${testname} instance=localhost${i}/${testname} component_id=${i} file=${statfile} 3 | start name=${plugname} interval=1000000 offset=0 4 | -------------------------------------------------------------------------------- /ldms/scripts/examples/loadavg: -------------------------------------------------------------------------------- 1 | export plugname=loadavg 2 | portbase=61060 3 | export LDMSD_MEM_SZ=60k 4 | 5 | #vgon 6 | LDMSD 1 2 3 4 7 | #vgoff 8 | MESSAGE ldms_ls on host 1: 9 | LDMS_LS 1 -lv 10 | MESSAGE ldms_ls on host 2: 11 | SLEEP 5 12 | LDMS_LS 1 -lv 13 | KILL_LDMSD 1 2 3 4 14 | file_created $STOREDIR/node/$testname 15 | -------------------------------------------------------------------------------- /ldms/scripts/examples/loadavg.2: -------------------------------------------------------------------------------- 1 | load name=${testname} 2 | config name=${testname} producer=localhost${i} instance=localhost${i}/${testname} component_id=${i} 3 | start name=${testname} interval=1000000 offset=0 4 | -------------------------------------------------------------------------------- /ldms/scripts/examples/loadavg.3: -------------------------------------------------------------------------------- 1 | load name=${testname} 2 | config name=${testname} producer=localhost${i} instance=localhost${i}/${testname} component_id=${i} force_integer 3 | start name=${testname} interval=1000000 offset=0 4 | -------------------------------------------------------------------------------- /ldms/scripts/examples/loadavg.4: -------------------------------------------------------------------------------- 1 | load name=${testname} 2 | config name=${testname} producer=localhost${i} instance=localhost${i}/${testname} component_id=${i} force_integer metrics=load1min 3 | start name=${testname} interval=1000000 offset=0 4 | -------------------------------------------------------------------------------- /ldms/scripts/examples/lustre2_client: -------------------------------------------------------------------------------- 1 | export plugname=lustre2_client 2 | x=`ls /proc/fs/lustre/llite /sys/kernel/debug/lustre/llite |sed -e 's/-[^ ]*//g'` 3 | export LDMSD_EXTRA="-m 1G" 4 | if test -z "$x"; then 5 | echo FAIL: no lustre llites to test 6 | exit 1 7 | fi 8 | export llites=`echo $x |sed -e 's/ /,/g'` 9 | portbase=61016 10 | JOBDATA $TESTDIR/job.data 1 2 3 11 | LDMSD -p prolog.jobid `seq 3` 12 | MESSAGE ldms_ls on host 1: 13 | LDMS_LS 1 -l 14 | MESSAGE ldms_ls on host 2: 15 | LDMS_LS 2 -l 16 | MESSAGE ldms_ls on host 3: 17 | LDMS_LS 3 18 | SLEEP 5 19 | KILL_LDMSD `seq 3` 20 | file_created $STOREDIR/node/Lustre_Client 21 | -------------------------------------------------------------------------------- /ldms/scripts/examples/lustre2_client.1: -------------------------------------------------------------------------------- 1 | load name=${plugname} 2 | config name=${plugname} producer=localhost${i} schema=${testname} instance=localhost${i}/${testname} component_id=${i} llite=${llites} mdc=* osc=* 3 | start name=${plugname} interval=1000000 offset=0 4 | -------------------------------------------------------------------------------- /ldms/scripts/examples/lustre2_client.2: -------------------------------------------------------------------------------- 1 | load name=${plugname} 2 | config name=${plugname} producer=localhost${i} schema=${testname} instance=localhost${i}/${testname} component_id=${i} llite=* mdc=* osc=* 3 | start name=${plugname} interval=1000000 offset=0 4 | -------------------------------------------------------------------------------- /ldms/scripts/examples/lustre_client: -------------------------------------------------------------------------------- 1 | export plugname=lustre_client 2 | export LDMSD_EXTRA="-m 1G" 3 | portbase=61016 4 | DAEMONS $(seq 3) 5 | JOBDATA $TESTDIR/job.data 1 2 3 6 | LDMSD -p prolog.jobid -p prolog.jobid.sampler 1 2 7 | LDMSD -p prolog.jobid.store3 3 8 | MESSAGE ldms_ls on host 1: 9 | LDMS_LS 1 -l 10 | MESSAGE ldms_ls on host 2: 11 | LDMS_LS 2 -l 12 | MESSAGE ldms_ls on host 3: 13 | LDMS_LS 3 14 | SLEEP 5 15 | KILL_LDMSD $(seq 3) 16 | file_created $STOREDIR/node/lustre_client 17 | -------------------------------------------------------------------------------- /ldms/scripts/examples/lustre_client.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/scripts/examples/lustre_client.1 -------------------------------------------------------------------------------- /ldms/scripts/examples/lustre_client.2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/scripts/examples/lustre_client.2 -------------------------------------------------------------------------------- /ldms/scripts/examples/lustre_client.3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/scripts/examples/lustre_client.3 -------------------------------------------------------------------------------- /ldms/scripts/examples/lustre_mdc: -------------------------------------------------------------------------------- 1 | export plugname=lustre_mdc 2 | #VGARGS="--tool=drd --gen-suppressions=all --suppressions=ldms/scripts/examples/sampler.drd.supp --trace-mutex=yes --trace-cond=yes" 3 | #VGARGS="--leak-check=full --track-origins=yes --trace-children=yes --show-leak-kinds=all" 4 | #vgon 5 | portbase=61060 6 | LDMSD -s 2000000 1 2 3 7 | #vgoff 8 | SLEEP 2 9 | MESSAGE ldms_ls on host 1: 10 | LDMS_LS 1 -v 11 | MESSAGE ldms_ls on host 2: 12 | LDMS_LS 2 -v 13 | MESSAGE ldms_ls on host 3: 14 | LDMS_LS 3 -vl 15 | SLEEP 5 16 | KILL_LDMSD 1 2 3 17 | file_created $STOREDIR/node/${testname}_ops 18 | file_created $STOREDIR/node/${testname}_ops_timing 19 | -------------------------------------------------------------------------------- /ldms/scripts/examples/lustre_mdc.1: -------------------------------------------------------------------------------- 1 | load name=${testname} 2 | config name=${testname} producer=localhost${i} component_id=${i} 3 | start name=${testname} interval=1000000 offset=0 4 | -------------------------------------------------------------------------------- /ldms/scripts/examples/lustre_mdc.2: -------------------------------------------------------------------------------- 1 | load name=${testname} 2 | config name=${testname} producer=localhost${i} component_id=${i} mdc_timing=0 uid=1 gid=1 perm=777 3 | start name=${testname} interval=1000000 offset=0 4 | -------------------------------------------------------------------------------- /ldms/scripts/examples/many: -------------------------------------------------------------------------------- 1 | portbase=61076 2 | MESSAGE starting agg and two collectors 3 | DAEMONS $(seq 3) 4 | JOBDATA $TESTDIR/job.data 1 2 3 5 | VGARGS="--tool=drd --gen-suppressions=all --suppressions=/ascldap/users/baallan/eclipse/drd.set.supp --segment-merging=no --trace-mutex=yes" 6 | VGARGS="--track-origins=yes --leak-check=full --show-leak-kinds=definite" 7 | /bin/rm ${LOGDIR}/log_config.* 8 | #vgon 9 | LDMSD_EXTRA="-L 15:${LOGDIR}/log_config.1" 10 | LDMSD -p prolog.jobidinfo 1 11 | LDMSD_EXTRA="-L 2:${LOGDIR}/log_config.2" 12 | LDMSD -p prolog.jobidinfo 2 13 | LDMSD_EXTRA="-L 31:${LOGDIR}/log_config.3" 14 | LDMSD -p prolog.jobidinfo 3 15 | vgoff 16 | LDMS_LS 1 17 | LDMS_LS 2 18 | LDMS_LS 3 19 | SLEEP 15 20 | KILL_LDMSD `seq 3` 21 | MESSAGE logs and data under ${TESTDIR} 22 | -------------------------------------------------------------------------------- /ldms/scripts/examples/meminfo: -------------------------------------------------------------------------------- 1 | export plugname=meminfo 2 | portbase=61020 3 | LDMSD -p prolog.sampler 1 2 4 | LDMSD -p prolog.sampler -p prolog.store3 3 5 | MESSAGE ldms_ls on host 1: 6 | LDMS_LS 1 -l 7 | MESSAGE ldms_ls on host 2: 8 | LDMS_LS 2 -l 9 | MESSAGE ldms_ls on host 3: 10 | LDMS_LS 3 11 | SLEEP 5 12 | KILL_LDMSD `seq 3` 13 | file_created $STOREDIR/node/$testname 14 | -------------------------------------------------------------------------------- /ldms/scripts/examples/meminfo.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/scripts/examples/meminfo.1 -------------------------------------------------------------------------------- /ldms/scripts/examples/meminfo.2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/scripts/examples/meminfo.2 -------------------------------------------------------------------------------- /ldms/scripts/examples/meminfo.3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/scripts/examples/meminfo.3 -------------------------------------------------------------------------------- /ldms/scripts/examples/meminfo.job: -------------------------------------------------------------------------------- 1 | # this sampler uses the new job option 2 | export plugname=meminfo 3 | portbase=62020 4 | JOBDATA $TESTDIR/job.data 1 2 3 5 | LDMSD -p prolog.jobid -p prolog.jobid.sampler 1 2 6 | LDMSD -p prolog.jobid -p prolog.jobid.sampler -p prolog.jobid.store3 3 7 | MESSAGE ldms_ls on host 1: 8 | JOBDATA $TESTDIR/job.data 1 2 3 9 | LDMS_LS 1 -l 10 | MESSAGE ldms_ls on host 2: 11 | LDMS_LS 2 -l 12 | MESSAGE ldms_ls on host 3: 13 | LDMS_LS 3 14 | JOBDATA $TESTDIR/job.data 1 2 15 | SLEEP 3 16 | JOBDATA $TESTDIR/job.data 1 3 17 | SLEEP 2 18 | KILL_LDMSD `seq 3` 19 | file_created $STOREDIR/node/$testname 20 | file_created $STOREDIR/node/jobid 21 | -------------------------------------------------------------------------------- /ldms/scripts/examples/meminfo.job.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/scripts/examples/meminfo.job.1 -------------------------------------------------------------------------------- /ldms/scripts/examples/meminfo.job.2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/scripts/examples/meminfo.job.2 -------------------------------------------------------------------------------- /ldms/scripts/examples/meminfo.job.3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/scripts/examples/meminfo.job.3 -------------------------------------------------------------------------------- /ldms/scripts/examples/munge: -------------------------------------------------------------------------------- 1 | export plugname=meminfo 2 | portbase=61014 3 | LDMSD_EXTRA="-a munge" 4 | LDMSD -p prolog.sampler 1 5 | LDMSD -p prolog.sampler -p prolog.store2 2 6 | MESSAGE ldms_ls on host 1: 7 | LDMS_LS 1 -l -a munge 8 | MESSAGE ldms_ls on host 2: 9 | # this one should fail (no munge option) 10 | LDMS_LS 2 -l 11 | SLEEP 2 12 | KILL_LDMSD 1 2 13 | file_created $STOREDIR/node/$testname 14 | -------------------------------------------------------------------------------- /ldms/scripts/examples/munge.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/scripts/examples/munge.1 -------------------------------------------------------------------------------- /ldms/scripts/examples/munge.2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/scripts/examples/munge.2 -------------------------------------------------------------------------------- /ldms/scripts/examples/opa2: -------------------------------------------------------------------------------- 1 | export plugname=opa2 2 | portbase=61078 3 | LDMSD -p prolog.sampler 1 2 4 | LDMSD -p prolog.sampler -p prolog.store3 3 5 | MESSAGE ldms_ls on host 1: 6 | LDMS_LS 1 -l 7 | MESSAGE ldms_ls on host 2: 8 | LDMS_LS 2 -l 9 | MESSAGE ldms_ls on host 3: 10 | LDMS_LS 3 11 | SLEEP 5 12 | KILL_LDMSD `seq 3` 13 | file_created $STOREDIR/node/$testname 14 | -------------------------------------------------------------------------------- /ldms/scripts/examples/opa2.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/scripts/examples/opa2.1 -------------------------------------------------------------------------------- /ldms/scripts/examples/opa2.2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/scripts/examples/opa2.2 -------------------------------------------------------------------------------- /ldms/scripts/examples/opa2.3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/scripts/examples/opa2.3 -------------------------------------------------------------------------------- /ldms/scripts/examples/proc_stream.1: -------------------------------------------------------------------------------- 1 | load name=linux_proc_sampler 2 | config name=linux_proc_sampler producer=localhost${i} schema=linux_proc_sampler instance=localhost${i}/linux_proc_sampler component_id=${i} perm=0644 cfg_file=${LDMSD_RUN}/metrics.input 3 | start name=linux_proc_sampler interval=1000000 offset=0 4 | 5 | # load name=dstat 6 | # config name=dstat producer=localhost${i} instance=localhost${i}/${dstat_schema} component_id=${i} mmalloc=1 io=1 fd=1 auto-schema=1 stat=1) perm=777 7 | # start name=dstat interval=1000000 offset=0 8 | -------------------------------------------------------------------------------- /ldms/scripts/examples/procdiskstats: -------------------------------------------------------------------------------- 1 | export plugname=procdiskstats 2 | portbase=61064 3 | LDMSD -p prolog.sampler 1 2 4 | LDMSD -p prolog.sampler -p prolog.store3 3 5 | MESSAGE ldms_ls on host 1: 6 | LDMS_LS 1 -l 7 | MESSAGE ldms_ls on host 2: 8 | LDMS_LS 2 -l 9 | MESSAGE ldms_ls on host 3: 10 | LDMS_LS 3 11 | SLEEP 5 12 | KILL_LDMSD `seq 3` 13 | file_created $STOREDIR/node/$testname 14 | -------------------------------------------------------------------------------- /ldms/scripts/examples/procdiskstats.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/scripts/examples/procdiskstats.1 -------------------------------------------------------------------------------- /ldms/scripts/examples/procdiskstats.2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/scripts/examples/procdiskstats.2 -------------------------------------------------------------------------------- /ldms/scripts/examples/procdiskstats.3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/scripts/examples/procdiskstats.3 -------------------------------------------------------------------------------- /ldms/scripts/examples/procinterrupts: -------------------------------------------------------------------------------- 1 | export plugname=procinterrupts 2 | portbase=61068 3 | export LDMSD_EXTRA="-m 1G" 4 | LDMSD -p prolog.sampler 1 2 5 | LDMSD -p prolog.sampler -p prolog.store3 3 6 | MESSAGE ldms_ls on host 1: 7 | LDMS_LS 1 -l 8 | MESSAGE ldms_ls on host 2: 9 | LDMS_LS 2 -l 10 | MESSAGE ldms_ls on host 3: 11 | LDMS_LS 3 12 | SLEEP 5 13 | KILL_LDMSD `seq 3` 14 | file_created $STOREDIR/node/$testname 15 | -------------------------------------------------------------------------------- /ldms/scripts/examples/procinterrupts.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/scripts/examples/procinterrupts.1 -------------------------------------------------------------------------------- /ldms/scripts/examples/procinterrupts.2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/scripts/examples/procinterrupts.2 -------------------------------------------------------------------------------- /ldms/scripts/examples/procinterrupts.3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/scripts/examples/procinterrupts.3 -------------------------------------------------------------------------------- /ldms/scripts/examples/procnet: -------------------------------------------------------------------------------- 1 | export plugname=procnet 2 | IFACES=`ifconfig -a |grep UP |sed -e 's/:.*//g' | tr -s '[:space:]' , | sed -e 's/,$//g'` 3 | export IFACES 4 | 5 | portbase=61024 6 | VGARGS="--leak-check=full --track-origins=yes --trace-children=yes --show-leak-kinds=definite" 7 | #vgon 8 | LDMSD 1 2 9 | vgoff 10 | MESSAGE ldms_ls on host 1: 11 | LDMS_LS 1 -l 12 | MESSAGE ldms_ls on host 2: 13 | LDMS_LS 2 -l 14 | SLEEP 5 15 | KILL_LDMSD 1 2 16 | file_created $STOREDIR/node/$testname 17 | -------------------------------------------------------------------------------- /ldms/scripts/examples/procnet.1: -------------------------------------------------------------------------------- 1 | load name=${testname} 2 | config name=${testname} producer=localhost${i} schema=${testname} instance=localhost${i}/${testname} component_id=${i} exclude_ports=lo 3 | start name=${testname} interval=1000000 offset=0 4 | 5 | load name=${testname}dev 6 | config name=${testname}dev producer=localhost${i} schema=${testname}dev instance=localhost${i}/${testname}dev component_id=${i} ifaces=lo,virbr0,ens33,ens34 7 | start name=${testname}dev interval=1000000 offset=0 8 | -------------------------------------------------------------------------------- /ldms/scripts/examples/procnetdev: -------------------------------------------------------------------------------- 1 | # This test produces inconsistent sets that the store_csv does not 2 | # handle correctly. 3 | export plugname=procnetdev 4 | IFACES=`ifconfig -a |grep UP |sed -e 's/:.*//g' | tr -s '[:space:]' , | sed -e 's/,$//g'` 5 | export IFACES 6 | 7 | portbase=61024 8 | LDMSD 1 2 9 | MESSAGE ldms_ls on host 1: 10 | LDMS_LS 1 -l 11 | MESSAGE ldms_ls on host 2: 12 | LDMS_LS 2 -l 13 | SLEEP 5 14 | KILL_LDMSD 1 2 15 | file_created $STOREDIR/node/$testname 16 | -------------------------------------------------------------------------------- /ldms/scripts/examples/procnetdev.1: -------------------------------------------------------------------------------- 1 | load name=${testname} 2 | config name=${testname} producer=localhost${i} schema=${testname} instance=localhost${i}/${testname} component_id=${i} ifaces=lo 3 | start name=${testname} interval=1000000 offset=0 4 | -------------------------------------------------------------------------------- /ldms/scripts/examples/procnfs: -------------------------------------------------------------------------------- 1 | export plugname=procnfs 2 | portbase=61028 3 | LDMSD -p prolog.sampler 1 2 4 | LDMSD -p prolog.sampler -p prolog.store3 3 5 | MESSAGE ldms_ls on host 1: 6 | LDMS_LS 1 -l 7 | MESSAGE ldms_ls on host 2: 8 | LDMS_LS 2 -l 9 | MESSAGE ldms_ls on host 3: 10 | LDMS_LS 3 11 | SLEEP 5 12 | KILL_LDMSD `seq 3` 13 | file_created $STOREDIR/node/$testname 14 | -------------------------------------------------------------------------------- /ldms/scripts/examples/procnfs.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/scripts/examples/procnfs.1 -------------------------------------------------------------------------------- /ldms/scripts/examples/procnfs.2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/scripts/examples/procnfs.2 -------------------------------------------------------------------------------- /ldms/scripts/examples/procnfs.3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/scripts/examples/procnfs.3 -------------------------------------------------------------------------------- /ldms/scripts/examples/procsensors: -------------------------------------------------------------------------------- 1 | export plugname=procsensors 2 | portbase=61032 3 | LDMSD -p prolog.sampler 1 4 | LDMSD -p prolog.sampler -p prolog.store2 2 5 | MESSAGE ldms_ls on host 1: 6 | LDMS_LS 1 -l 7 | MESSAGE ldms_ls on host 2: 8 | LDMS_LS 2 -l 9 | SLEEP 5 10 | KILL_LDMSD 1 2 11 | file_created $STOREDIR/node/$testname 12 | -------------------------------------------------------------------------------- /ldms/scripts/examples/procsensors.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/scripts/examples/procsensors.1 -------------------------------------------------------------------------------- /ldms/scripts/examples/procsensors.2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/scripts/examples/procsensors.2 -------------------------------------------------------------------------------- /ldms/scripts/examples/procstat: -------------------------------------------------------------------------------- 1 | portbase=61036 2 | LDMSD `seq 3` 3 | SLEEP 10 4 | MESSAGE ldms_ls on host 1: 5 | LDMS_LS 1 -l 6 | MESSAGE ldms_ls on host 2: 7 | LDMS_LS 2 -l 8 | MESSAGE ldms_ls on host 3: 9 | LDMS_LS 3 10 | SLEEP 5 11 | KILL_LDMSD `seq 3` 12 | file_created $STOREDIR/node/procstat_auto 13 | file_created $STOREDIR/node2/procstat2.HEADER 14 | -------------------------------------------------------------------------------- /ldms/scripts/examples/procstat.1: -------------------------------------------------------------------------------- 1 | load name=${testname} 2 | config name=${testname} producer=localhost${i} schema=${testname}_auto instance=localhost${i}/${testname}_auto component_id=${i} 3 | start name=${testname} interval=1000000 offset=0 4 | -------------------------------------------------------------------------------- /ldms/scripts/examples/procstat.2: -------------------------------------------------------------------------------- 1 | load name=${testname} 2 | config name=${testname} producer=localhost${i} schema=${testname}2 instance=localhost${i}/${testname}2 component_id=${i} maxcpu=2 3 | start name=${testname} interval=1000000 offset=0 4 | -------------------------------------------------------------------------------- /ldms/scripts/examples/procstat.job.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/scripts/examples/procstat.job.1 -------------------------------------------------------------------------------- /ldms/scripts/examples/procstat.job.2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/scripts/examples/procstat.job.2 -------------------------------------------------------------------------------- /ldms/scripts/examples/procstat.job.3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/scripts/examples/procstat.job.3 -------------------------------------------------------------------------------- /ldms/scripts/examples/prolog.jobid: -------------------------------------------------------------------------------- 1 | # start the text based jobid sampler on node i assuming the JOBDATA macro 2 | # has been applied. 3 | load name=jobid 4 | config name=jobid producer=localhost${i} instance=localhost${i}/jobid component_id=${i} schema=jobid file=${TESTDIR}/job.data.${i} 5 | start name=jobid interval=1000000 offset=-200000 6 | -------------------------------------------------------------------------------- /ldms/scripts/examples/prolog.jobid.sampler: -------------------------------------------------------------------------------- 1 | load name=${plugname} 2 | config name=${plugname} producer=localhost${i} schema=${testname} instance=localhost${i}/${testname} component_id=${i} job_set=localhost${i}/jobid 3 | start name=${plugname} interval=1000000 offset=0 4 | -------------------------------------------------------------------------------- /ldms/scripts/examples/prolog.jobidinfo: -------------------------------------------------------------------------------- 1 | # start the text based jobid sampler on node i assuming the JOBDATA macro 2 | # has been applied. 3 | load name=jobid 4 | config name=jobid producer=localhost${i} instance=localhost${i}/job_info component_id=${i} schema=job_info file=${TESTDIR}/job.data.${i} 5 | start name=jobid interval=1000000 offset=-200000 6 | -------------------------------------------------------------------------------- /ldms/scripts/examples/prolog.sampler: -------------------------------------------------------------------------------- 1 | load name=${plugname} 2 | config name=${plugname} producer=localhost${i} schema=${testname} instance=localhost${i}/${testname} component_id=${i} 3 | start name=${plugname} interval=1000000 offset=0 4 | -------------------------------------------------------------------------------- /ldms/scripts/examples/prolog.store2: -------------------------------------------------------------------------------- 1 | load name=store_csv 2 | config name=store_csv path=${STOREDIR} altheader=1 typeheader=2 ietfcsv=1 userdata=1 3 | 4 | prdcr_add name=localhost1 host=${HOST} type=active xprt=${XPRT} port=${port1} interval=10000000 5 | prdcr_start name=localhost1 6 | 7 | updtr_add name=allhosts interval=1000000 offset=100000 8 | updtr_prdcr_add name=allhosts regex=.* 9 | updtr_start name=allhosts 10 | 11 | strgp_add name=store_${testname} plugin=store_csv schema=${testname} container=node 12 | strgp_prdcr_add name=store_${testname} regex=.* 13 | strgp_start name=store_${testname} 14 | -------------------------------------------------------------------------------- /ldms/scripts/examples/prolog.store2.sos: -------------------------------------------------------------------------------- 1 | load name=store_sos 2 | config name=store_sos path=${STOREDIR} 3 | 4 | prdcr_add name=localhost1 host=${HOST} type=active xprt=${XPRT} port=${port1} interval=10000000 5 | prdcr_start name=localhost1 6 | 7 | updtr_add name=allhosts interval=1000000 offset=100000 8 | updtr_prdcr_add name=allhosts regex=.* 9 | updtr_start name=allhosts 10 | 11 | strgp_add name=store_${testname} plugin=store_sos schema=${testname} container=node 12 | strgp_prdcr_add name=store_${testname} regex=.* 13 | strgp_start name=store_${testname} 14 | -------------------------------------------------------------------------------- /ldms/scripts/examples/prolog.store2.xprt: -------------------------------------------------------------------------------- 1 | load name=store_csv 2 | config name=store_csv path=${STOREDIR} altheader=1 typeheader=2 ietfcsv=1 userdata=1 3 | 4 | prdcr_add name=localhost1 host=${HOST} type=active xprt=${XPRT} port=${PORT} interval=10000000 5 | prdcr_start name=localhost1 6 | 7 | updtr_add name=allhosts interval=1000000 offset=100000 8 | updtr_prdcr_add name=allhosts regex=.* 9 | updtr_start name=allhosts 10 | 11 | strgp_add name=store_${testname} plugin=store_csv schema=${testname} container=node.${HOST}.${PORT} 12 | strgp_prdcr_add name=store_${testname} regex=.* 13 | strgp_start name=store_${testname} 14 | -------------------------------------------------------------------------------- /ldms/scripts/examples/prolog.store2_createuid: -------------------------------------------------------------------------------- 1 | load name=store_csv 2 | config name=store_csv path=${STOREDIR} altheader=0 rollover=2 rolltype=1 rename_template=${STOREDIR}/%{HOSTNAME}/%B create_gid=99 create_uid=99 rename_uid=199 3 | 4 | prdcr_add name=localhost1 host=${HOST} type=active xprt=${XPRT} port=${port1} interval=10000000 5 | prdcr_start name=localhost1 6 | 7 | updtr_add name=allhosts interval=1000000 offset=100000 8 | updtr_prdcr_add name=allhosts regex=.* 9 | updtr_start name=allhosts 10 | 11 | strgp_add name=store_${testname} plugin=store_csv schema=${testname} container=node 12 | strgp_prdcr_add name=store_${testname} regex=.* 13 | strgp_start name=store_${testname} 14 | -------------------------------------------------------------------------------- /ldms/scripts/examples/prolog.store2_rename: -------------------------------------------------------------------------------- 1 | load name=store_csv 2 | config name=store_csv path=${STOREDIR} altheader=0 rollover=2 rolltype=1 rename_template=${STOREDIR}/%{HOSTNAME}/%B 3 | 4 | prdcr_add name=localhost1 host=${HOST} type=active xprt=${XPRT} port=${port1} interval=10000000 5 | prdcr_start name=localhost1 6 | 7 | updtr_add name=allhosts interval=1000000 offset=100000 8 | updtr_prdcr_add name=allhosts regex=.* 9 | updtr_start name=allhosts 10 | 11 | strgp_add name=store_${testname} plugin=store_csv schema=${testname} container=node 12 | strgp_prdcr_add name=store_${testname} regex=.* 13 | strgp_start name=store_${testname} 14 | -------------------------------------------------------------------------------- /ldms/scripts/examples/prolog.store3: -------------------------------------------------------------------------------- 1 | load name=store_csv 2 | config name=store_csv path=${STOREDIR} altheader=0 3 | 4 | prdcr_add name=localhost1 host=${HOST} type=active xprt=${XPRT} port=${port1} interval=10000000 5 | prdcr_start name=localhost1 6 | 7 | prdcr_add name=localhost2 host=${HOST} type=active xprt=${XPRT} port=${port2} interval=10000000 8 | prdcr_start name=localhost2 9 | 10 | updtr_add name=allhosts interval=1000000 offset=100000 11 | updtr_prdcr_add name=allhosts regex=.* 12 | updtr_start name=allhosts 13 | 14 | strgp_add name=store_${testname} plugin=store_csv schema=${testname} container=node 15 | strgp_prdcr_add name=store_${testname} regex=.* 16 | strgp_start name=store_${testname} 17 | -------------------------------------------------------------------------------- /ldms/scripts/examples/rabbitkw: -------------------------------------------------------------------------------- 1 | # rabbitmq-server.service and epmd.service need to be running 2 | # in the default configuration (insecure) for this test to pass. 3 | portbase=61090 4 | AUTHFILE=$TESTDIR/run/authfile 5 | export AUTHFILE 6 | echo "secretword=guest" > $AUTHFILE 7 | chmod 600 $AUTHFILE 8 | file_created $AUTHFILE 9 | MESSAGE starting agg and two collectors 10 | LDMSD 2 3 11 | LDMSD 1 12 | LDMS_LS 1 13 | SLEEP 10 14 | KILL_LDMSD `seq 2 3` 15 | SLEEP 1 16 | KILL_LDMSD 1 17 | MESSAGE logs and data under ${TESTDIR} 18 | -------------------------------------------------------------------------------- /ldms/scripts/examples/rabbitkw.2: -------------------------------------------------------------------------------- 1 | load name=meminfo 2 | config name=meminfo producer=localhost${i} instance=localhost${i}/meminfo schema=meminfo component_id=${i} 3 | start name=meminfo interval=1000000 offset=0 4 | 5 | load name=vmstat 6 | config name=vmstat producer=localhost${i} instance=localhost${i}/vmstat schema=vmstat component_id=${i} 7 | start name=vmstat interval=1000000 offset=0 8 | 9 | load name=array_example 10 | config name=array_example producer=localhost${i} instance=localhost${i}/ax schema=vmstat component_id=${i} num_metrics=2 num_ele=3 type=F32_ARRAY 11 | start name=array_example interval=1000000 offset=0 12 | -------------------------------------------------------------------------------- /ldms/scripts/examples/rabbitkw.3: -------------------------------------------------------------------------------- 1 | load name=meminfo 2 | config name=meminfo producer=localhost${i} instance=localhost${i}/meminfo schema=meminfo component_id=${i} 3 | start name=meminfo interval=1000000 offset=0 4 | load name=vmstat 5 | config name=vmstat producer=localhost${i} instance=localhost${i}/vmstat schema=vmstat component_id=${i} 6 | start name=vmstat interval=1000000 offset=0 7 | -------------------------------------------------------------------------------- /ldms/scripts/examples/rabbitkwl2.2: -------------------------------------------------------------------------------- 1 | 2 | updtr_add name=allhosts interval=1000000 offset=100000 3 | updtr_prdcr_add name=allhosts regex=.* 4 | updtr_start name=allhosts 5 | 6 | -------------------------------------------------------------------------------- /ldms/scripts/examples/rabbitkwl2.3: -------------------------------------------------------------------------------- 1 | load name=meminfo 2 | config name=meminfo producer=localhost${i} instance=localhost${i}/meminfo schema=meminfo component_id=${i} 3 | start name=meminfo interval=1000000 offset=0 4 | load name=vmstat 5 | config name=vmstat producer=localhost${i} instance=localhost${i}/vmstat schema=vmstat component_id=${i} 6 | start name=vmstat interval=1000000 offset=0 7 | load name=procnetdev 8 | config name=procnetdev producer=localhost${i} instance=localhost${i}/procnetdev schema=procnetdev component_id=${i} ifaces=lo 9 | start name=procnetdev interval=1000000 offset=0 10 | -------------------------------------------------------------------------------- /ldms/scripts/examples/rabbitl2remote.2: -------------------------------------------------------------------------------- 1 | load name=dstat 2 | config name=dstat producer=localhost${i} instance=localhost${i}/dstat schema=dstat component_id=${i} mmalloc=1 3 | start name=dstat interval=1000000 offset=0 4 | 5 | updtr_add name=allhosts interval=1000000 offset=100000 6 | updtr_prdcr_add name=allhosts regex=.* 7 | updtr_start name=allhosts 8 | 9 | -------------------------------------------------------------------------------- /ldms/scripts/examples/rabbitl2remote.3: -------------------------------------------------------------------------------- 1 | load name=meminfo 2 | config name=meminfo producer=localhost${i} instance=localhost${i}/meminfo schema=meminfo component_id=${i} 3 | start name=meminfo interval=1000000 offset=0 4 | load name=vmstat 5 | config name=vmstat producer=localhost${i} instance=localhost${i}/vmstat schema=vmstat component_id=${i} 6 | start name=vmstat interval=1000000 offset=0 7 | load name=procnetdev 8 | config name=procnetdev producer=localhost${i} instance=localhost${i}/procnetdev schema=procnetdev component_id=${i} ifaces=lo 9 | start name=procnetdev interval=1000000 offset=0 10 | -------------------------------------------------------------------------------- /ldms/scripts/examples/rabbitv3: -------------------------------------------------------------------------------- 1 | portbase=61040 2 | AUTHFILE=$TESTDIR/run/authfile 3 | export AUTHFILE 4 | echo "secretword=mcgregor" > $AUTHFILE 5 | chmod 600 $AUTHFILE 6 | file_created $AUTHFILE 7 | 8 | MESSAGE starting agg and two collectors 9 | LDMSD `seq 3` 10 | LDMS_LS 3 11 | SLEEP 15 12 | KILL_LDMSD `seq 3` 13 | MESSAGE logs and data under ${TESTDIR} 14 | -------------------------------------------------------------------------------- /ldms/scripts/examples/rabbitv3.2: -------------------------------------------------------------------------------- 1 | load name=meminfo 2 | config name=meminfo producer=localhost${i} instance=localhost${i}/meminfo schema=meminfo component_id=${i} 3 | start name=meminfo interval=1000000 offset=0 4 | load name=vmstat 5 | config name=vmstat producer=localhost${i} instance=localhost${i}/vmstat schema=vmstat component_id=${i} 6 | start name=vmstat interval=1000000 offset=0 7 | -------------------------------------------------------------------------------- /ldms/scripts/examples/rabbitv3.3: -------------------------------------------------------------------------------- 1 | load name=meminfo 2 | config name=meminfo producer=localhost${i} instance=localhost${i}/meminfo schema=meminfo component_id=${i} 3 | start name=meminfo interval=1000000 offset=0 4 | load name=vmstat 5 | config name=vmstat producer=localhost${i} instance=localhost${i}/vmstat schema=vmstat component_id=${i} 6 | start name=vmstat interval=1000000 offset=0 7 | -------------------------------------------------------------------------------- /ldms/scripts/examples/rdc_sampler: -------------------------------------------------------------------------------- 1 | export plugname=rdc_sampler 2 | portbase=61060 3 | dschema=$(ldms_rdc_schema_name |grep -v ERR) 4 | export dschema 5 | DAEMONS $(seq 3) 6 | LDMSD 3 7 | 8 | VGARGS="--leak-check=full --track-origins=yes --trace-children=yes --show-leak-kinds=definite" 9 | #vgon 10 | LDMSD 2 11 | vgoff 12 | SLEEP 6 13 | MESSAGE ldms_ls on host 2: 14 | LDMS_LS 2 -vl 15 | SLEEP 2 16 | KILL_LDMSD 2 17 | 18 | #vgon 19 | LDMSD 1 20 | vgoff 21 | SLEEP 6 22 | MESSAGE ldms_ls on host 1: 23 | LDMS_LS 1 -vl 24 | SLEEP 2 25 | KILL_LDMSD 1 26 | 27 | KILL_LDMSD 3 28 | 29 | file_created $STOREDIR/node/$dschema 30 | -------------------------------------------------------------------------------- /ldms/scripts/examples/rdc_sampler.1: -------------------------------------------------------------------------------- 1 | load name=${plugname} 2 | config name=${plugname} producer=localhost${i} instance=localhost${i}/${testname} component_id=${i} metrics=base 3 | start name=${plugname} interval=1000000 offset=0 4 | -------------------------------------------------------------------------------- /ldms/scripts/examples/rdc_sampler.2: -------------------------------------------------------------------------------- 1 | load name=${plugname} 2 | config name=${plugname} producer=localhost${i} instance=localhost${i}/${testname} component_id=${i} 3 | start name=${plugname} interval=1000000 offset=0 4 | -------------------------------------------------------------------------------- /ldms/scripts/examples/rdc_sampler.3: -------------------------------------------------------------------------------- 1 | load name=store_csv 2 | config name=store_csv path=${STOREDIR} altheader=0 3 | 4 | prdcr_add name=localhost1 host=${HOST} type=active xprt=${XPRT} port=${port1} interval=1000000 5 | prdcr_start name=localhost1 6 | 7 | prdcr_add name=localhost2 host=${HOST} type=active xprt=${XPRT} port=${port2} interval=1000000 8 | prdcr_start name=localhost2 9 | 10 | updtr_add name=allhosts interval=1000000 offset=100000 11 | updtr_prdcr_add name=allhosts regex=.* 12 | updtr_start name=allhosts 13 | 14 | strgp_add name=store_${testname}_device plugin=store_csv schema=${dschema} container=node 15 | strgp_prdcr_add name=store_${testname}_device regex=.* 16 | strgp_start name=store_${testname}_device 17 | -------------------------------------------------------------------------------- /ldms/scripts/examples/renamecsv: -------------------------------------------------------------------------------- 1 | export plugname=meminfo 2 | portbase=61096 3 | #export VGARGS="--track-origins=yes --leak-check=full" 4 | LDMSD -p prolog.sampler 1 5 | #vgon 6 | LDMSD -p prolog.store2_rename 2 7 | #vgoff 8 | MESSAGE ldms_ls on host 1: 9 | LDMS_LS 1 -l 10 | MESSAGE ldms_ls on host 2: 11 | LDMS_LS 2 -l 12 | SLEEP 15 13 | KILL_LDMSD `seq 2` 14 | rollover_created $STOREDIR/$HOSTNAME/$testname 15 | 16 | -------------------------------------------------------------------------------- /ldms/scripts/examples/renamecsv.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/scripts/examples/renamecsv.1 -------------------------------------------------------------------------------- /ldms/scripts/examples/renamecsv.2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/scripts/examples/renamecsv.2 -------------------------------------------------------------------------------- /ldms/scripts/examples/rollagain: -------------------------------------------------------------------------------- 1 | export plugname=meminfo 2 | portbase=61098 3 | #export VGARGS="--track-origins=yes --leak-check=full --show-leak-kinds=all" 4 | LDMSD -p prolog.sampler 1 5 | #vgon 6 | LDMSD $(seq 2 4) 7 | #vgoff 8 | MESSAGE ldms_ls on host 1: 9 | LDMS_LS 1 -l 10 | MESSAGE ldms_ls on host 2: 11 | LDMS_LS 2 -v 12 | SLEEP 30 13 | KILL_LDMSD `seq 4` 14 | rollover_created $STOREDIR/$HOSTNAME/$testname 15 | 16 | -------------------------------------------------------------------------------- /ldms/scripts/examples/rollagain.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/scripts/examples/rollagain.1 -------------------------------------------------------------------------------- /ldms/scripts/examples/rollagain.2: -------------------------------------------------------------------------------- 1 | load name=store_csv 2 | config name=store_csv path=${STOREDIR} altheader=0 rollover=5 rollagain=10 rolltype=5 rename_template=${STOREDIR}/%{HOSTNAME}/%B typeheader=2 create_perm=0643 3 | 4 | prdcr_add name=localhost1 host=${HOST} type=active xprt=${XPRT} port=${port1} interval=10000000 5 | prdcr_start name=localhost1 6 | 7 | updtr_add name=allhosts interval=1000000 offset=100000 8 | updtr_prdcr_add name=allhosts regex=.* 9 | updtr_start name=allhosts 10 | 11 | strgp_add name=store_${testname} plugin=store_csv schema=${testname} container=node 12 | strgp_prdcr_add name=store_${testname} regex=.* 13 | strgp_start name=store_${testname} 14 | -------------------------------------------------------------------------------- /ldms/scripts/examples/rollagain.3: -------------------------------------------------------------------------------- 1 | load name=store_csv 2 | config name=store_csv path=${STOREDIR} altheader=1 typeheader=2 rollover=5 rollagain=10 rolltype=5 rename_template=${STOREDIR}/%{HOSTNAME}_headers/%B rename_perm=0777 3 | 4 | prdcr_add name=localhost1 host=${HOST} type=active xprt=${XPRT} port=${port1} interval=10000000 5 | prdcr_start name=localhost1 6 | 7 | updtr_add name=allhosts interval=1000000 offset=100000 8 | updtr_prdcr_add name=allhosts regex=.* 9 | updtr_start name=allhosts 10 | 11 | strgp_add name=store_${testname} plugin=store_csv schema=${testname} container=node_headers 12 | strgp_prdcr_add name=store_${testname} regex=.* 13 | strgp_start name=store_${testname} 14 | -------------------------------------------------------------------------------- /ldms/scripts/examples/rollagain.4: -------------------------------------------------------------------------------- 1 | load name=store_csv 2 | config name=store_csv path=${STOREDIR} altheader=1 typeheader=2 rollover=5 rollagain=10 rolltype=5 rename_template=${STOREDIR}/%{HOSTNAME}_defperm/%B 3 | 4 | prdcr_add name=localhost1 host=${HOST} type=active xprt=${XPRT} port=${port1} interval=10000000 5 | prdcr_start name=localhost1 6 | 7 | updtr_add name=allhosts interval=1000000 offset=100000 8 | updtr_prdcr_add name=allhosts regex=.* 9 | updtr_start name=allhosts 10 | 11 | strgp_add name=store_${testname} plugin=store_csv schema=${testname} container=node_defperm 12 | strgp_prdcr_add name=store_${testname} regex=.* 13 | strgp_start name=store_${testname} 14 | -------------------------------------------------------------------------------- /ldms/scripts/examples/rollemptycsv.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/scripts/examples/rollemptycsv.1 -------------------------------------------------------------------------------- /ldms/scripts/examples/rollemptycsv.2: -------------------------------------------------------------------------------- 1 | load name=store_csv 2 | config name=store_csv path=${STOREDIR} altheader=0 rollover=2 rolltype=1 rollempty=0 rename_template=${STOREDIR}/%{HOSTNAME}/%C/%B 3 | 4 | prdcr_add name=localhost1 host=${HOST} type=active xprt=${XPRT} port=${port1} interval=10000000 5 | prdcr_start name=localhost1 6 | 7 | updtr_add name=allhosts interval=1000000 offset=100000 8 | updtr_prdcr_add name=allhosts regex=.* 9 | updtr_start name=allhosts 10 | 11 | strgp_add name=store_${testname} plugin=store_csv schema=${testname} container=rollempty0 12 | strgp_prdcr_add name=store_${testname} regex=.* 13 | strgp_start name=store_${testname} 14 | -------------------------------------------------------------------------------- /ldms/scripts/examples/rollemptycsv.3: -------------------------------------------------------------------------------- 1 | load name=store_csv 2 | config name=store_csv path=${STOREDIR} altheader=0 rollover=2 rolltype=1 rollempty=1 rename_template=${STOREDIR}/%{HOSTNAME}/%C/%B 3 | 4 | prdcr_add name=localhost1 host=${HOST} type=active xprt=${XPRT} port=${port1} interval=10000000 5 | prdcr_start name=localhost1 6 | 7 | updtr_add name=allhosts interval=1000000 offset=100000 8 | updtr_prdcr_add name=allhosts regex=.* 9 | updtr_start name=allhosts 10 | 11 | strgp_add name=store_${testname} plugin=store_csv schema=${testname} container=rollempty1 12 | strgp_prdcr_add name=store_${testname} regex=.* 13 | strgp_start name=store_${testname} 14 | -------------------------------------------------------------------------------- /ldms/scripts/examples/sampler_atasmart: -------------------------------------------------------------------------------- 1 | export plugname=sampler_atasmart 2 | portbase=61044 3 | LDMSD 1 2 4 | MESSAGE ldms_ls on host 1: 5 | LDMS_LS 1 -l 6 | MESSAGE ldms_ls on host 2: 7 | LDMS_LS 2 -l 8 | SLEEP 5 9 | KILL_LDMSD 1 2 10 | file_created $STOREDIR/node/$testname 11 | -------------------------------------------------------------------------------- /ldms/scripts/examples/sampler_atasmart.1: -------------------------------------------------------------------------------- 1 | load name=${plugname} 2 | config name=${plugname} producer=localhost${i} schema=${testname} instance=localhost${i}/${testname} component_id=${i} disks=/dev/sda1 3 | start name=${plugname} interval=1000000 offset=0 4 | -------------------------------------------------------------------------------- /ldms/scripts/examples/sequence_unsupp: -------------------------------------------------------------------------------- 1 | portbase=61048 2 | export sampler=meminfo 3 | LDMSD `seq 4` 4 | 5 | MESSAGE ldms_ls on host 3: 6 | LDMS_LS 3 7 | SLEEP 15 8 | KILL_LDMSD `seq 4` 9 | -------------------------------------------------------------------------------- /ldms/scripts/examples/sequence_unsupp.1: -------------------------------------------------------------------------------- 1 | load name=${sampler} 2 | config name=${sampler} producer=localhost${i} schema=${sampler} instance=localhost${i}/${sampler} component_id=${i} 3 | start name=${sampler} interval=1000000 4 | -------------------------------------------------------------------------------- /ldms/scripts/examples/setclones: -------------------------------------------------------------------------------- 1 | export plugname=synthetic 2 | portbase=61060 3 | LDMSD 1 2 4 | MESSAGE ldms_ls on host 2: 5 | LDMS_LS 2 -l 6 | SLEEP 5 7 | KILL_LDMSD 1 8 | SLEEP 5 9 | KILL_LDMSD 2 10 | file_created $STOREDIR/node/$plugname.500 11 | -------------------------------------------------------------------------------- /ldms/scripts/examples/setclones.1: -------------------------------------------------------------------------------- 1 | load name=${plugname} 2 | config name=${plugname} producer=localhost${i} schema=synthetic.500 instance=localhost${i}/synthetic.500 component_id=${i} extra=250 3 | start name=${plugname} interval=1000000 offset=0 4 | -------------------------------------------------------------------------------- /ldms/scripts/examples/setclones.2: -------------------------------------------------------------------------------- 1 | 2 | load name=store_csv 3 | config name=store_csv path=${STOREDIR} altheader=0 4 | 5 | prdcr_add name=localhost1 host=${HOST} type=active xprt=${XPRT} port=${port1} interval=2000000 6 | prdcr_start name=localhost1 7 | 8 | updtr_add name=allhosts interval=1000000 offset=100000 9 | updtr_prdcr_add name=allhosts regex=.* 10 | updtr_start name=allhosts 11 | 12 | strgp_add name=store_${testname} plugin=store_csv schema=synthetic.500 container=node 13 | strgp_prdcr_add name=store_${testname} regex=.* 14 | strgp_start name=store_${testname} 15 | -------------------------------------------------------------------------------- /ldms/scripts/examples/shm.1: -------------------------------------------------------------------------------- 1 | load name=${plugname} 2 | config name=${plugname} producer=localhost${i} schema=${plugname} instance=localhost${i}/${plugname} component_id=${i} 3 | start name=${plugname} interval=1000000 offset=0 4 | -------------------------------------------------------------------------------- /ldms/scripts/examples/shm.2: -------------------------------------------------------------------------------- 1 | load name=shm_sampler 2 | config name=shm_sampler producer=samplerd instance=samplerd/shm_sampler shm_index=/ldms_shm_mpi_index shm_boxmax=4 component_id=23 3 | start name=shm_sampler interval=1000000 offset=0 4 | 5 | -------------------------------------------------------------------------------- /ldms/scripts/examples/shm.3: -------------------------------------------------------------------------------- 1 | load name=store_csv 2 | config name=store_csv path=${STOREDIR} altheader=0 3 | 4 | prdcr_add name=localhost1 host=${HOST} type=active xprt=${XPRT} port=${port1} interval=10000000 5 | prdcr_start name=localhost1 6 | 7 | prdcr_add name=localhost2 host=${HOST} type=active xprt=${XPRT} port=${port2} interval=10000000 8 | prdcr_start name=localhost2 9 | 10 | updtr_add name=allhosts interval=1000000 offset=100000 11 | updtr_prdcr_add name=allhosts regex=.* 12 | updtr_start name=allhosts 13 | 14 | strgp_add name=store_${plugname} plugin=store_csv schema=${plugname} container=node 15 | strgp_prdcr_add name=store_${plugname} regex=.* 16 | strgp_start name=store_${plugname} 17 | -------------------------------------------------------------------------------- /ldms/scripts/examples/strict_kill: -------------------------------------------------------------------------------- 1 | export plugname=filesingle 2 | portbase=61060 3 | ldms-sensors-config > $LDMSD_RUN/filesingle.conf 4 | export FSCONF=$LDMSD_RUN/filesingle.conf 5 | vgon 6 | LDMSD 1 2 7 | vgoff 8 | MESSAGE ldms_ls on host 1: 9 | LDMS_LS 1 -l 10 | MESSAGE ldms_ls on host 2: 11 | LDMS_LS 2 -l 12 | SLEEP 5 13 | KILL_LDMSD strict 1 2 14 | file_created $STOREDIR/node/$testname 15 | -------------------------------------------------------------------------------- /ldms/scripts/examples/strict_kill.1: -------------------------------------------------------------------------------- 1 | load name=${testname} 2 | config name=${testname} producer=localhost${i} schema=${testname} instance=localhost${i}/${testname} component_id=${i} conf=${FSCONF} timing batteries x=foo 3 | start name=${testname} interval=1000000 offset=0 4 | -------------------------------------------------------------------------------- /ldms/scripts/examples/synthetic: -------------------------------------------------------------------------------- 1 | export plugname=synthetic 2 | portbase=61052 3 | LDMSD -p prolog.sampler 1 2 4 | LDMSD -p prolog.sampler -p prolog.store3 3 5 | MESSAGE ldms_ls on host 1: 6 | LDMS_LS 1 -l 7 | MESSAGE ldms_ls on host 2: 8 | LDMS_LS 2 -l 9 | MESSAGE ldms_ls on host 3: 10 | LDMS_LS 3 11 | SLEEP 5 12 | KILL_LDMSD `seq 3` 13 | file_created $STOREDIR/node/$testname 14 | -------------------------------------------------------------------------------- /ldms/scripts/examples/synthetic.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/scripts/examples/synthetic.1 -------------------------------------------------------------------------------- /ldms/scripts/examples/synthetic.2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/scripts/examples/synthetic.2 -------------------------------------------------------------------------------- /ldms/scripts/examples/synthetic.3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/scripts/examples/synthetic.3 -------------------------------------------------------------------------------- /ldms/scripts/examples/sysclassib: -------------------------------------------------------------------------------- 1 | export plugname=sysclassib 2 | portbase=61056 3 | LDMSD -p prolog.sampler 1 2 4 | LDMSD -p prolog.sampler -p prolog.store3 3 5 | MESSAGE ldms_ls on host 1: 6 | LDMS_LS 1 -l 7 | MESSAGE ldms_ls on host 2: 8 | LDMS_LS 2 -l 9 | MESSAGE ldms_ls on host 3: 10 | LDMS_LS 3 11 | SLEEP 5 12 | KILL_LDMSD `seq 3` 13 | file_created $STOREDIR/node/$testname 14 | -------------------------------------------------------------------------------- /ldms/scripts/examples/sysclassib.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/scripts/examples/sysclassib.1 -------------------------------------------------------------------------------- /ldms/scripts/examples/sysclassib.2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/scripts/examples/sysclassib.2 -------------------------------------------------------------------------------- /ldms/scripts/examples/sysclassib.3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/scripts/examples/sysclassib.3 -------------------------------------------------------------------------------- /ldms/scripts/examples/sysclassib.job: -------------------------------------------------------------------------------- 1 | export plugname=sysclassib 2 | portbase=62056 3 | JOBDATA $TESTDIR/job.data 1 2 3 4 | LDMSD -p prolog.jobid -p prolog.sampler 1 2 5 | LDMSD -p prolog.jobid -p prolog.sampler -p prolog.jobid.store3 3 6 | MESSAGE ldms_ls on host 1: 7 | JOBDATA $TESTDIR/job.data 1 2 3 8 | LDMS_LS 1 -l 9 | MESSAGE ldms_ls on host 2: 10 | LDMS_LS 2 -l 11 | MESSAGE ldms_ls on host 3: 12 | LDMS_LS 3 13 | JOBDATA $TESTDIR/job.data 1 2 14 | SLEEP 3 15 | JOBDATA $TESTDIR/job.data 1 3 16 | SLEEP 2 17 | KILL_LDMSD `seq 3` 18 | file_created $STOREDIR/node/$testname 19 | file_created $STOREDIR/node/jobid 20 | -------------------------------------------------------------------------------- /ldms/scripts/examples/sysclassib.job.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/scripts/examples/sysclassib.job.1 -------------------------------------------------------------------------------- /ldms/scripts/examples/sysclassib.job.2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/scripts/examples/sysclassib.job.2 -------------------------------------------------------------------------------- /ldms/scripts/examples/sysclassib.job.3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/scripts/examples/sysclassib.job.3 -------------------------------------------------------------------------------- /ldms/scripts/examples/tx2mon: -------------------------------------------------------------------------------- 1 | export plugname=tx2mon 2 | portbase=61086 3 | VGARGS="--leak-check=full --track-origins=yes" 4 | DAEMONS $(seq 1 6) 5 | vgoff 6 | LDMSD -p prolog.sampler 1 7 | LDMSD 2 3 4 5 8 | LDMSD -p prolog.sampler 6 9 | vgoff 10 | MESSAGE ldms_ls on host 1: 11 | LDMS_LS 1 -v 12 | MESSAGE ldms_ls on host 2: 13 | LDMS_LS 2 -v 14 | MESSAGE ldms_ls on host 3: 15 | LDMS_LS 3 -v 16 | MESSAGE ldms_ls on host 4: 17 | LDMS_LS 4 -v 18 | MESSAGE ldms_ls on host 5: 19 | LDMS_LS 5 -v 20 | MESSAGE ldms_ls on host 6: 21 | LDMS_LS 6 -l 22 | LDMS_LS 6 -v 23 | SLEEP 5 24 | KILL_LDMSD `seq 6` 25 | file_created $STOREDIR/node/$testname 26 | file_created $STOREDIR/node/${testname}_01 27 | file_created $STOREDIR/node/${testname}_10_* 28 | file_created $STOREDIR/node/${testname}_11_* 29 | -------------------------------------------------------------------------------- /ldms/scripts/examples/tx2mon.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/scripts/examples/tx2mon.1 -------------------------------------------------------------------------------- /ldms/scripts/examples/tx2mon.2: -------------------------------------------------------------------------------- 1 | load name=${plugname} 2 | config name=${plugname} producer=localhost${i} schema=${testname} instance=localhost${i}/${testname} component_id=${i} auto-schema=1 3 | start name=${plugname} interval=1000000 offset=0 4 | -------------------------------------------------------------------------------- /ldms/scripts/examples/tx2mon.3: -------------------------------------------------------------------------------- 1 | load name=${plugname} 2 | config name=${plugname} producer=localhost${i} instance=localhost${i}/${testname} component_id=${i} auto-schema=1 array=1 3 | start name=${plugname} interval=1000000 offset=0 4 | -------------------------------------------------------------------------------- /ldms/scripts/examples/tx2mon.4: -------------------------------------------------------------------------------- 1 | load name=${plugname} 2 | config name=${plugname} producer=localhost${i} instance=localhost${i}/${testname} component_id=${i} auto-schema=1 extra=1 3 | start name=${plugname} interval=1000000 offset=0 4 | -------------------------------------------------------------------------------- /ldms/scripts/examples/tx2mon.5: -------------------------------------------------------------------------------- 1 | load name=${plugname} 2 | config name=${plugname} producer=localhost${i} instance=localhost${i}/${testname} component_id=${i} auto-schema=1 array=1 extra=1 3 | start name=${plugname} interval=1000000 offset=0 4 | -------------------------------------------------------------------------------- /ldms/scripts/examples/uidgidcsv: -------------------------------------------------------------------------------- 1 | export plugname=meminfo 2 | portbase=61096 3 | #export VGARGS="--track-origins=yes --leak-check=full" 4 | LDMSD -p prolog.sampler 1 5 | #vgon 6 | LDMSD -p prolog.store2_createuid 2 7 | #vgoff 8 | MESSAGE ldms_ls on host 2: 9 | LDMS_LS 1 -v 10 | SLEEP 5 11 | ls -l $STOREDIR/node/${testname}.* 12 | KILL_LDMSD `seq 2` 13 | # give daemons and fs time to catch up at exits 14 | SLEEP 5 15 | ls -l $STOREDIR/$HOSTNAME/${testname}.* 16 | rollover_created $STOREDIR/$HOSTNAME/$testname 17 | 18 | -------------------------------------------------------------------------------- /ldms/scripts/examples/uidgidcsv.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/scripts/examples/uidgidcsv.1 -------------------------------------------------------------------------------- /ldms/scripts/examples/uidgidcsv.2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/scripts/examples/uidgidcsv.2 -------------------------------------------------------------------------------- /ldms/scripts/examples/variable.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/scripts/examples/variable.1 -------------------------------------------------------------------------------- /ldms/scripts/examples/variable.2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/scripts/examples/variable.2 -------------------------------------------------------------------------------- /ldms/scripts/examples/vg_csv: -------------------------------------------------------------------------------- 1 | portbase=61076 2 | MESSAGE starting agg and two collectors 3 | JOBDATA $TESTDIR/job.data 1 2 3 4 | DAEMONS $(seq 1 3) 5 | #VGARGS="--track-origins=yes --leak-check=full --show-leak-kinds=all" 6 | VGARGS="--tool=drd" 7 | vgon 8 | LDMSD -p prolog.jobidinfo 1 9 | LDMSD -p prolog.jobidinfo 2 10 | LDMSD -p prolog.jobidinfo 3 11 | vgoff 12 | LDMS_LS 1 13 | SLEEP 15 14 | KILL_LDMSD `seq 3` 15 | MESSAGE logs and data under ${TESTDIR} 16 | -------------------------------------------------------------------------------- /ldms/scripts/examples/vg_sos: -------------------------------------------------------------------------------- 1 | portbase=61076 2 | MESSAGE starting agg and two collectors 3 | JOBDATA $TESTDIR/job.data 1 2 3 4 | DAEMONS $(seq 1 3) 5 | #VGARGS="--track-origins=yes --leak-check=full --show-leak-kinds=all" 6 | VGARGS="--tool=drd" 7 | vgon 8 | LDMSD -p prolog.jobidinfo 1 9 | LDMSD -p prolog.jobidinfo 2 10 | LDMSD -p prolog.jobidinfo 3 11 | vgoff 12 | LDMS_LS 1 13 | SLEEP 15 14 | KILL_LDMSD `seq 3` 15 | MESSAGE logs and data under ${TESTDIR} 16 | -------------------------------------------------------------------------------- /ldms/scripts/examples/vmstat: -------------------------------------------------------------------------------- 1 | export plugname=vmstat 2 | portbase=61060 3 | LDMSD 1 2 4 | MESSAGE ldms_ls on host 1: 5 | LDMS_LS 1 -l 6 | MESSAGE ldms_ls on host 2: 7 | LDMS_LS 2 -l 8 | SLEEP 5 9 | KILL_LDMSD 1 2 10 | file_created $STOREDIR/node/$testname 11 | -------------------------------------------------------------------------------- /ldms/scripts/examples/vmstat.1: -------------------------------------------------------------------------------- 1 | load name=${testname} 2 | config name=${testname} producer=localhost${i} schema=${testname} instance=localhost${i}/${testname} component_id=${i} 3 | start name=${testname} interval=1000000 offset=0 4 | -------------------------------------------------------------------------------- /ldms/scripts/examples/vmstat.2: -------------------------------------------------------------------------------- 1 | load name=${testname} 2 | config name=${testname} producer=localhost${i} schema=${testname} instance=localhost${i}/${testname} component_id=${i} 3 | start name=${testname} interval=1000000 offset=0 4 | 5 | load name=store_csv 6 | config name=store_csv path=${STOREDIR} altheader=0 7 | 8 | prdcr_add name=localhost1 host=${HOST} type=active xprt=${XPRT} port=${port1} interval=2000000 9 | prdcr_start name=localhost1 10 | 11 | updtr_add name=allhosts interval=1000000 offset=100000 12 | updtr_prdcr_add name=allhosts regex=.* 13 | updtr_start name=allhosts 14 | 15 | strgp_add name=store_${testname} plugin=store_csv schema=${testname} container=node 16 | strgp_prdcr_add name=store_${testname} regex=.* 17 | strgp_start name=store_${testname} 18 | -------------------------------------------------------------------------------- /ldms/scripts/examples/xprt_fabric.1: -------------------------------------------------------------------------------- 1 | 2 | listen xprt=fabric port=413 host=${HOST} 3 | -------------------------------------------------------------------------------- /ldms/scripts/examples/xprt_fabric.2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/scripts/examples/xprt_fabric.2 -------------------------------------------------------------------------------- /ldms/scripts/examples/xprt_fabric2.1: -------------------------------------------------------------------------------- 1 | 2 | listen xprt=fabric port=417 host=${HOST} 3 | -------------------------------------------------------------------------------- /ldms/scripts/examples/xprt_fabric2.2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/scripts/examples/xprt_fabric2.2 -------------------------------------------------------------------------------- /ldms/scripts/examples/xprt_fabric2.3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/scripts/examples/xprt_fabric2.3 -------------------------------------------------------------------------------- /ldms/scripts/examples/xprt_fabric2.4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/scripts/examples/xprt_fabric2.4 -------------------------------------------------------------------------------- /ldms/scripts/examples/xprt_fabric2.5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/scripts/examples/xprt_fabric2.5 -------------------------------------------------------------------------------- /ldms/scripts/examples/xprt_fabric2.6: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/scripts/examples/xprt_fabric2.6 -------------------------------------------------------------------------------- /ldms/scripts/slurm-examples/.canned: -------------------------------------------------------------------------------- 1 | # working 2 | cluster 3 | -------------------------------------------------------------------------------- /ldms/scripts/slurm-examples/README: -------------------------------------------------------------------------------- 1 | This directory should contain only ldms installed slurm examples 2 | that go with pll-ldms-static-test.sh. 3 | Editing them or adding to them may cause loss of the user 4 | additions when unistalling or updating ldms. 5 | Editing them may be necessary on novel cluster or slurm deployments. 6 | -------------------------------------------------------------------------------- /ldms/scripts/slurm-examples/cluster.2: -------------------------------------------------------------------------------- 1 | # this is the L1 aggregator 2 | # collect resource stats about the L1 3 | load name=dstat 4 | config name=dstat producer=L1 instance=localhost${i}/dstat component_id=${i} mmalloc=1 statm=1 stat=1 io=1 fdtypes=1 auto-schema=1 5 | start name=dstat interval=1000000 offset=0 6 | 7 | updtr_add name=allhosts interval=1000000 offset=300000 8 | updtr_prdcr_add name=allhosts regex=.* 9 | updtr_start name=allhosts 10 | 11 | -------------------------------------------------------------------------------- /ldms/scripts/slurm-examples/pll.producer: -------------------------------------------------------------------------------- 1 | prdcr_add name=localhost${j} host=${host${j}} type=active xprt=${XPRT} port=${port${j}} interval=1000000 2 | prdcr_start name=localhost${j} 3 | 4 | -------------------------------------------------------------------------------- /ldms/src/.gitignore: -------------------------------------------------------------------------------- 1 | /ovis-ldms-configure-args 2 | /ovis-ldms-configure-env 3 | /ovis-ldms-configvars.sh 4 | -------------------------------------------------------------------------------- /ldms/src/contrib/Makefile.am: -------------------------------------------------------------------------------- 1 | ACLOCAL_AMFLAGS = -I m4 2 | SUBDIRS = . 3 | lib_LTLIBRARIES = 4 | pkglib_LTLIBRARIES = 5 | 6 | 7 | SUBDIRS += sampler 8 | SUBDIRS += store 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /ldms/src/contrib/sampler/Makefile.am: -------------------------------------------------------------------------------- 1 | ACLOCAL_AMFLAGS = -I m4 2 | SUBDIRS = . 3 | lib_LTLIBRARIES = 4 | pkglib_LTLIBRARIES = 5 | 6 | if ENABLE_IPMIREADER 7 | MAYBE_IPMIREADER = ipmireader 8 | endif 9 | SUBDIRS += $(MAYBE_IPMIREADER) 10 | 11 | 12 | if ENABLE_TUTORIAL_SAMPLER 13 | MAYBE_TUTORIAL_SAMPLER = tutorial 14 | endif 15 | SUBDIRS += $(MAYBE_TUTORIAL_SAMPLER) 16 | 17 | 18 | if ENABLE_GPU_METRICS 19 | SUBDIRS += gpu_metrics_sampler 20 | endif 21 | 22 | if ENABLE_GEOPM_SAMPLER 23 | MAYBE_GEOPM_SAMPLER = geopm_sampler 24 | endif 25 | SUBDIRS += $(MAYBE_GEOPM_SAMPLER) 26 | 27 | if ENABLE_DAOS_SAMPLER 28 | MAYBE_DAOS_SAMPLER = daos 29 | endif 30 | SUBDIRS += $(MAYBE_DAOS_SAMPLER) 31 | 32 | if ENABLE_VARIORUM_SAMPLER 33 | SUBDIRS += variorum_sampler 34 | endif 35 | -------------------------------------------------------------------------------- /ldms/src/contrib/sampler/geopm_sampler/.gitignore: -------------------------------------------------------------------------------- 1 | /ldms_geopm_sampler_test 2 | /*.sh.log 3 | /*.sh.trs 4 | test-suite.log 5 | -------------------------------------------------------------------------------- /ldms/src/contrib/sampler/geopm_sampler/ldms_geopm_sampler_test.conf: -------------------------------------------------------------------------------- 1 | # Configuration file for the LDMS GEOPM sampler 2 | TIME board 0 3 | # Internal comment 4 | TIME package 0 5 | 6 | TIME core 0 7 | TIME cpu 0 8 | #END 9 | -------------------------------------------------------------------------------- /ldms/src/contrib/sampler/geopm_sampler/ldms_geopm_sampler_test.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | TEST_FILE=$0 4 | TEST_DIR=$(realpath $(dirname ${TEST_FILE})) 5 | source ${TEST_DIR}/ldms_geopm_sampler_test_helper.sh 6 | 7 | ldms_geopm_sampler_test_run 8 | ldms_geopm_sampler_test_check_out 9 | ldms_geopm_sampler_test_pass 10 | -------------------------------------------------------------------------------- /ldms/src/contrib/sampler/geopm_sampler/ldms_geopm_sampler_test_domain.conf: -------------------------------------------------------------------------------- 1 | TIME board 0 2 | TIME package 0 3 | TIME core 0 4 | TIME duck 0 5 | -------------------------------------------------------------------------------- /ldms/src/contrib/sampler/geopm_sampler/ldms_geopm_sampler_test_domain.expect: -------------------------------------------------------------------------------- 1 | ldms_geopm_sampler: ldms_geopm_sampler.c:XXXX: Invalid domain name 'duck' provided in GEOPM configuration file 2 | Invalid argument: PlatformTopo::domain_name_to_type(): unrecognized domain_name: duck: at src/PlatformTopo.cpp:453 3 | ldms_geopm_sampler: ldms_geopm_sampler.c:XXXX: Unable to parse GEOPM Sampler configuration file 4 | 5 | FAIL 6 | -------------------------------------------------------------------------------- /ldms/src/contrib/sampler/geopm_sampler/ldms_geopm_sampler_test_domain.sh: -------------------------------------------------------------------------------- 1 | ldms_geopm_sampler_test_neg.sh -------------------------------------------------------------------------------- /ldms/src/contrib/sampler/geopm_sampler/ldms_geopm_sampler_test_index.conf: -------------------------------------------------------------------------------- 1 | TIME board 2 2 | TIME package 0 3 | TIME core 0 4 | TIME cpu 0 5 | -------------------------------------------------------------------------------- /ldms/src/contrib/sampler/geopm_sampler/ldms_geopm_sampler_test_index.expect: -------------------------------------------------------------------------------- 1 | ldms_geopm_sampler: ldms_geopm_sampler.c:XXXX: Failed call to geopm_pio_push_signal(TIME, 0, 2) 2 | Invalid argument: PlatformIOImp::push_signal(): domain_idx is out of range: at src/PlatformIO.cpp:XXXX 3 | 4 | FAIL 5 | -------------------------------------------------------------------------------- /ldms/src/contrib/sampler/geopm_sampler/ldms_geopm_sampler_test_index.sh: -------------------------------------------------------------------------------- 1 | ldms_geopm_sampler_test_neg.sh -------------------------------------------------------------------------------- /ldms/src/contrib/sampler/geopm_sampler/ldms_geopm_sampler_test_missing.conf: -------------------------------------------------------------------------------- 1 | TIME board 0 2 | TIME package 0 3 | TIME core 0 4 | TIME cpu 5 | -------------------------------------------------------------------------------- /ldms/src/contrib/sampler/geopm_sampler/ldms_geopm_sampler_test_missing.expect: -------------------------------------------------------------------------------- 1 | ldms_geopm_sampler: ldms_geopm_sampler.c:XXXX: File format error for GEOPM Sampler configuration file 2 | ldms_geopm_sampler: ldms_geopm_sampler.c:XXXX: Unable to parse GEOPM Sampler configuration file 3 | 4 | FAIL 5 | -------------------------------------------------------------------------------- /ldms/src/contrib/sampler/geopm_sampler/ldms_geopm_sampler_test_missing.sh: -------------------------------------------------------------------------------- 1 | ldms_geopm_sampler_test_neg.sh -------------------------------------------------------------------------------- /ldms/src/contrib/sampler/geopm_sampler/ldms_geopm_sampler_test_neg.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | TEST_FILE=$0 4 | TEST_DIR=$(realpath $(dirname ${TEST_FILE})) 5 | source ${TEST_DIR}/ldms_geopm_sampler_test_helper.sh 6 | 7 | ldms_geopm_sampler_test_run 8 | ldms_geopm_sampler_test_check_err 9 | ldms_geopm_sampler_test_pass 10 | -------------------------------------------------------------------------------- /ldms/src/contrib/sampler/geopm_sampler/ldms_geopm_sampler_test_newline.conf: -------------------------------------------------------------------------------- 1 | TIME board 0 TIME package 0 TIME core 0 TIME cpu 0 2 | -------------------------------------------------------------------------------- /ldms/src/contrib/sampler/geopm_sampler/ldms_geopm_sampler_test_newline.expect: -------------------------------------------------------------------------------- 1 | ldms_geopm_sampler: ldms_geopm_sampler.c:XXXX: File format error for GEOPM Sampler configuration file 2 | ldms_geopm_sampler: ldms_geopm_sampler.c:XXXX: Unable to parse GEOPM Sampler configuration file 3 | 4 | FAIL 5 | -------------------------------------------------------------------------------- /ldms/src/contrib/sampler/geopm_sampler/ldms_geopm_sampler_test_newline.sh: -------------------------------------------------------------------------------- 1 | ldms_geopm_sampler_test_neg.sh -------------------------------------------------------------------------------- /ldms/src/contrib/sampler/geopm_sampler/ldms_geopm_sampler_test_noent.expect: -------------------------------------------------------------------------------- 1 | ldms_geopm_sampler: ldms_geopm_sampler.c:XXXX: Error in opening file 'ldms_geopm_sampler_test_noent.conf' containing list of samples, errno=2 2 | 3 | FAIL 4 | -------------------------------------------------------------------------------- /ldms/src/contrib/sampler/geopm_sampler/ldms_geopm_sampler_test_noent.sh: -------------------------------------------------------------------------------- 1 | ldms_geopm_sampler_test_neg.sh -------------------------------------------------------------------------------- /ldms/src/contrib/sampler/geopm_sampler/ldms_geopm_sampler_test_signal.conf: -------------------------------------------------------------------------------- 1 | TIME board 0 2 | TIME package 0 3 | TIME core 0 4 | INVALID_NAME cpu 0 5 | -------------------------------------------------------------------------------- /ldms/src/contrib/sampler/geopm_sampler/ldms_geopm_sampler_test_signal.expect: -------------------------------------------------------------------------------- 1 | ldms_geopm_sampler: ldms_geopm_sampler.c:XXXX: Unable to determine signal format 2 | Invalid argument: PlatformIOImp::agg_function(): unknown how to aggregate "INVALID_NAME": at src/PlatformIO.cpp:XXXX 3 | ldms_geopm_sampler: ldms_geopm_sampler.c:XXXX: Unable to parse GEOPM Sampler configuration file 4 | 5 | FAIL 6 | -------------------------------------------------------------------------------- /ldms/src/contrib/sampler/geopm_sampler/ldms_geopm_sampler_test_signal.sh: -------------------------------------------------------------------------------- 1 | ldms_geopm_sampler_test_neg.sh -------------------------------------------------------------------------------- /ldms/src/contrib/sampler/variorum_sampler/Makefile.am: -------------------------------------------------------------------------------- 1 | include $(top_srcdir)/ldms/rules.mk 2 | 3 | 4 | pkglib_LTLIBRARIES = 5 | lib_LTLIBRARIES = 6 | dist_man7_MANS = 7 | EXTRA_DIST = 8 | 9 | AM_CPPFLAGS = @OVIS_INCLUDE_ABS@ 10 | AM_LDFLAGS = @OVIS_LIB_ABS@ 11 | COMMON_LIBADD = -lsampler_base -lldms -lovis_util -lcoll -lovis_log \ 12 | @LDFLAGS_GETTIME@ 13 | 14 | libvariorum_sampler_la_SOURCES = variorum_sampler.c 15 | libvariorum_sampler_la_LIBADD = $(COMMON_LIBADD) $(LTLIBVARIORUM) $(LTLIBJANSSON) 16 | pkglib_LTLIBRARIES += libvariorum_sampler.la 17 | dist_man7_MANS += ldms-sampler_variorum_sampler.man 18 | EXTRA_DIST += README.md 19 | 20 | CLEANFILES = $(dist_man7_MANS) 21 | -------------------------------------------------------------------------------- /ldms/src/contrib/store/Makefile.am: -------------------------------------------------------------------------------- 1 | ACLOCAL_AMFLAGS = -I m4 2 | SUBDIRS = 3 | EXTRA_DIST= 4 | CLEANFILES = 5 | DISTCLEANFILES = 6 | 7 | do_subst = @LDMS_SUBST_RULE@ 8 | 9 | %.sh: %.sh.in 10 | $(do_subst) < $< > $@ 11 | chmod 755 $@ 12 | 13 | if ENABLE_TIMESCALE_STORE 14 | MAYBE_TIMESCALE_STORE = timescale 15 | endif 16 | SUBDIRS += $(MAYBE_TIMESCALE_STORE) 17 | 18 | if ENABLE_TUTORIAL_STORE 19 | MAYBE_TUTORIAL_STORE = tutorial 20 | endif 21 | SUBDIRS += $(MAYBE_TUTORIAL_STORE) 22 | -------------------------------------------------------------------------------- /ldms/src/contrib/store/timescale/README.txt: -------------------------------------------------------------------------------- 1 | To use this plugin, postgresql packege should be installed. For example, on CentOS: 2 | # yum install postgresql-devel 3 | -------------------------------------------------------------------------------- /ldms/src/decomp/Makefile.am: -------------------------------------------------------------------------------- 1 | include $(top_srcdir)/ldms/rules.mk 2 | 3 | dist_man7_MANS = ldmsd_decomposition.man 4 | SUBDIRS = static as_is flex 5 | 6 | CLEANFILES = $(dist_man7_MANS) 7 | -------------------------------------------------------------------------------- /ldms/src/decomp/as_is/Makefile.am: -------------------------------------------------------------------------------- 1 | lib_LTLIBRARIES = 2 | pkglib_LTLIBRARIES = 3 | 4 | AM_LDFLAGS = @OVIS_LIB_ABS@ 5 | AM_CPPFLAGS = $(DBGFLAGS) @OVIS_INCLUDE_ABS@ 6 | 7 | DECOMP_LIBADD = ../../core/libldms.la \ 8 | ../../ldmsd/libldmsd_request.la 9 | 10 | libdecomp_as_is_la_SOURCES = decomp_as_is.c 11 | libdecomp_as_is_la_LIBADD = $(DECOMP_LIBADD) $(LTLIBJANSSON) 12 | pkglib_LTLIBRARIES += libdecomp_as_is.la 13 | -------------------------------------------------------------------------------- /ldms/src/decomp/flex/Makefile.am: -------------------------------------------------------------------------------- 1 | lib_LTLIBRARIES = 2 | pkglib_LTLIBRARIES = 3 | 4 | AM_LDFLAGS = @OVIS_LIB_ABS@ 5 | AM_CPPFLAGS = $(DBGFLAGS) @OVIS_INCLUDE_ABS@ 6 | 7 | DECOMP_LIBADD = ../../core/libldms.la \ 8 | ../../ldmsd/libldmsd_request.la 9 | 10 | libdecomp_flex_la_SOURCES = decomp_flex.c 11 | libdecomp_flex_la_LIBADD = $(DECOMP_LIBADD) $(LTLIBJANSSON) 12 | pkglib_LTLIBRARIES += libdecomp_flex.la 13 | -------------------------------------------------------------------------------- /ldms/src/decomp/static/Makefile.am: -------------------------------------------------------------------------------- 1 | lib_LTLIBRARIES = 2 | pkglib_LTLIBRARIES = 3 | 4 | AM_LDFLAGS = @OVIS_LIB_ABS@ 5 | AM_CPPFLAGS = $(DBGFLAGS) @OVIS_INCLUDE_ABS@ 6 | 7 | DECOMP_LIBADD = ../../core/libldms.la \ 8 | ../../ldmsd/libldmsd_request.la 9 | 10 | libdecomp_static_la_SOURCES = decomp_static.c 11 | libdecomp_static_la_LIBADD = $(DECOMP_LIBADD) $(LTLIBJANSSON) 12 | pkglib_LTLIBRARIES += libdecomp_static.la 13 | -------------------------------------------------------------------------------- /ldms/src/ldmsd/.gitignore: -------------------------------------------------------------------------------- 1 | /ldms_ls 2 | /ldmsctl 3 | /ldmsd 4 | -------------------------------------------------------------------------------- /ldms/src/ldmsd/input/bad_test_plugattr.txt: -------------------------------------------------------------------------------- 1 | # stuff 2 | store_csv altheader=1 foof u32=123456789 u64=987654321987654321 s64=-987654321987654321 s32=-55555 f64=3.14159 szt=32M c=7 3 | store_csv dont do this 4 | mykey=key1 a=b c=d \ 5 | d=3 f=g c=e \ 6 | h c=f 7 | 8 | mykey=key2 j=k 9 | # foo bar \ 10 | continue comment \ x 11 | mykey=key3 p=q r=s t=u 12 | # 13 | 14 | -------------------------------------------------------------------------------- /ldms/src/ldmsd/input/test_plugattr.txt: -------------------------------------------------------------------------------- 1 | # stuff 2 | store_csv altheader=1 foof u32=123456789 u64=987654321987654321 s64=-987654321987654321 s32=-55555 f64=3.14159 szt=32M c=7 3 | mykey=key1 a=b c=d \ 4 | d=3 f=g c=e \ 5 | h c=f 6 | 7 | mykey=key2 j=k 8 | # foo bar \ 9 | continue comment \ x 10 | mykey=key3 p=q r=s t=u 11 | # 12 | 13 | -------------------------------------------------------------------------------- /ldms/src/ldmsd/test/.gitignore: -------------------------------------------------------------------------------- 1 | /ldmsd_stream_publish 2 | /ldmsd_stream_subscribe 3 | -------------------------------------------------------------------------------- /ldms/src/sampler/appinfo_lib/Makefile.am: -------------------------------------------------------------------------------- 1 | pkglib_LTLIBRARIES = 2 | 3 | AM_CPPFLAGS = @OVIS_INCLUDE_ABS@ 4 | AM_LDFLAGS = @OVIS_LIB_ABS@ 5 | COMMON_LIBADD = $(top_builddir)/ldms/src/sampler/libsampler_base.la \ 6 | $(top_builddir)/ldms/src/core/libldms.la \ 7 | @LDFLAGS_GETTIME@ \ 8 | $(top_builddir)/lib/src/ovis_util/libovis_util.la \ 9 | $(top_builddir)/lib/src/coll/libcoll.la 10 | 11 | libappinfocl_la_SOURCES = ldms_appinfo.c ldms_appinfo.h ldms_appinfo_shm.h 12 | libappinfocl_la_LIBADD = $(COMMON_LIBADD) 13 | pkglib_LTLIBRARIES += libappinfocl.la 14 | -------------------------------------------------------------------------------- /ldms/src/sampler/blob_stream/Makefile.am: -------------------------------------------------------------------------------- 1 | include $(top_srcdir)/ldms/rules.mk 2 | 3 | 4 | SUBDIRS = 5 | lib_LTLIBRARIES = 6 | pkglib_LTLIBRARIES = 7 | dist_man7_MANS= 8 | 9 | 10 | AM_LDFLAGS = @OVIS_LIB_ABS@ 11 | AM_CPPFLAGS = @OVIS_INCLUDE_ABS@ 12 | STORE_LIBADD = $(top_builddir)/ldms/src/core/libldms.la \ 13 | $(top_builddir)/lib/src/coll/libcoll.la \ 14 | $(top_builddir)/lib/src/ovis_util/libovis_util.la 15 | 16 | 17 | 18 | if ENABLE_BLOB_STREAM 19 | libblob_stream_writer_la_SOURCES = blob_stream_writer.c 20 | libblob_stream_writer_la_LIBADD = $(STORE_LIBADD) -lovis_json 21 | pkglib_LTLIBRARIES += libblob_stream_writer.la 22 | dist_man7_MANS += ldms-sampler_blob_stream_writer.man 23 | 24 | endif 25 | 26 | CLEANFILES = $(dist_man7_MANS) 27 | -------------------------------------------------------------------------------- /ldms/src/sampler/clock/Makefile.am: -------------------------------------------------------------------------------- 1 | include $(top_srcdir)/ldms/rules.mk 2 | 3 | 4 | pkglib_LTLIBRARIES = 5 | lib_LTLIBRARIES = 6 | dist_man7_MANS = 7 | 8 | AM_CPPFLAGS = @OVIS_INCLUDE_ABS@ 9 | AM_LDFLAGS = @OVIS_LIB_ABS@ 10 | COMMON_LIBADD = -lsampler_base -lldms -lovis_util -lcoll \ 11 | @LDFLAGS_GETTIME@ 12 | 13 | libclock_la_SOURCES = clock.c 14 | libclock_la_LIBADD = $(COMMON_LIBADD) 15 | pkglib_LTLIBRARIES += libclock.la 16 | dist_man7_MANS += ldms-sampler_clock.man 17 | 18 | CLEANFILES = $(dist_man7_MANS) 19 | -------------------------------------------------------------------------------- /ldms/src/sampler/coretemp/Makefile.am: -------------------------------------------------------------------------------- 1 | include $(top_srcdir)/ldms/rules.mk 2 | 3 | 4 | pkglib_LTLIBRARIES = 5 | lib_LTLIBRARIES = 6 | dist_man7_MANS = 7 | 8 | AM_CPPFLAGS = @OVIS_INCLUDE_ABS@ 9 | AM_LDFLAGS = @OVIS_LIB_ABS@ 10 | COMMON_LIBADD = -lsampler_base -lldms -lovis_util -lcoll \ 11 | @LDFLAGS_GETTIME@ 12 | 13 | if ENABLE_CORETEMP 14 | dist_man7_MANS += ldms-sampler_coretemp.man 15 | libcoretemp_la_SOURCES = coretemp.c 16 | libcoretemp_la_LIBADD = $(COMMON_LIBADD) 17 | pkglib_LTLIBRARIES += libcoretemp.la 18 | endif 19 | 20 | CLEANFILES = $(dist_man7_MANS) 21 | -------------------------------------------------------------------------------- /ldms/src/sampler/cxi_sampler/Makefile.am: -------------------------------------------------------------------------------- 1 | include $(top_srcdir)/ldms/rules.mk 2 | 3 | pkglib_LTLIBRARIES = 4 | lib_LTLIBRARIES = 5 | dist_man7_MANS = 6 | dist_man1_MANS = 7 | 8 | AM_CPPFLAGS = @OVIS_INCLUDE_ABS@ 9 | AM_LDFLAGS = @OVIS_LIB_ABS@ 10 | COMMON_LIBADD = -lsampler_base -lldms -lovis_util -lcoll \ 11 | @LDFLAGS_GETTIME@ 12 | 13 | libcxi_sampler_la_SOURCES = cxi_sampler.c 14 | libcxi_sampler_la_LIBADD = $(COMMON_LIBADD) 15 | pkglib_LTLIBRARIES += libcxi_sampler.la 16 | dist_man7_MANS += ldms-sampler_cxi_sampler.man 17 | CLEANFILES = $(dist_man7_MANS) 18 | -------------------------------------------------------------------------------- /ldms/src/sampler/dstat/.gitignore: -------------------------------------------------------------------------------- 1 | /ldms_dstat_schema_name 2 | -------------------------------------------------------------------------------- /ldms/src/sampler/examples/Makefile.am: -------------------------------------------------------------------------------- 1 | ACLOCAL_AMFLAGS = -I m4 2 | SUBDIRS = 3 | EXTRA_DIST= 4 | CLEANFILES = 5 | DISTCLEANFILES = 6 | 7 | do_subst = @LDMS_SUBST_RULE@ 8 | 9 | %.sh: %.sh.in 10 | $(do_subst) < $< > $@ 11 | chmod 755 $@ 12 | 13 | if ENABLE_ARRAY_EXAMPLE 14 | SUBDIRS += array_example 15 | endif 16 | 17 | if ENABLE_SYNTHETIC 18 | SUBDIRS += synthetic 19 | endif 20 | 21 | if ENABLE_TEST_SAMPLER_LDMS_TEST 22 | SUBDIRS += test_sampler 23 | endif 24 | 25 | if ENABLE_LIST_SAMPLER_LDMS_TEST 26 | SUBDIRS += list_sampler 27 | endif 28 | 29 | if ENABLE_RECORD_SAMPLER_LDMS_TEST 30 | SUBDIRS += record_sampler 31 | endif 32 | -------------------------------------------------------------------------------- /ldms/src/sampler/examples/list_sampler/Makefile.am: -------------------------------------------------------------------------------- 1 | include $(top_srcdir)/ldms/rules.mk 2 | 3 | 4 | pkglib_LTLIBRARIES = 5 | lib_LTLIBRARIES = 6 | check_PROGRAMS = 7 | dist_man7_MANS = 8 | 9 | AM_CPPFLAGS = @OVIS_INCLUDE_ABS@ 10 | AM_LDFLAGS = @OVIS_LIB_ABS@ 11 | COMMON_LIBADD = $(top_builddir)/ldms/src/sampler/libsampler_base.la \ 12 | $(top_builddir)/ldms/src/core/libldms.la \ 13 | @LDFLAGS_GETTIME@ \ 14 | $(top_builddir)/lib/src/ovis_util/libovis_util.la 15 | 16 | liblist_sampler_la_SOURCES = list_sampler.c 17 | liblist_sampler_la_LIBADD = $(COMMON_LIBADD) 18 | pkglib_LTLIBRARIES += liblist_sampler.la 19 | -------------------------------------------------------------------------------- /ldms/src/sampler/examples/record_sampler/Makefile.am: -------------------------------------------------------------------------------- 1 | include $(top_srcdir)/ldms/rules.mk 2 | 3 | 4 | pkglib_LTLIBRARIES = 5 | lib_LTLIBRARIES = 6 | check_PROGRAMS = 7 | dist_man7_MANS = 8 | 9 | AM_CPPFLAGS = @OVIS_INCLUDE_ABS@ 10 | AM_LDFLAGS = @OVIS_LIB_ABS@ 11 | COMMON_LIBADD = $(top_builddir)/ldms/src/sampler/libsampler_base.la \ 12 | $(top_builddir)/ldms/src/core/libldms.la \ 13 | @LDFLAGS_GETTIME@ \ 14 | $(top_builddir)/lib/src/ovis_util/libovis_util.la 15 | 16 | librecord_sampler_la_SOURCES = record_sampler.c 17 | librecord_sampler_la_LIBADD = $(COMMON_LIBADD) 18 | pkglib_LTLIBRARIES += librecord_sampler.la 19 | -------------------------------------------------------------------------------- /ldms/src/sampler/examples/test_sampler/Makefile.am: -------------------------------------------------------------------------------- 1 | include $(top_srcdir)/ldms/rules.mk 2 | 3 | 4 | pkglib_LTLIBRARIES = 5 | lib_LTLIBRARIES = 6 | check_PROGRAMS = 7 | dist_man7_MANS = 8 | 9 | AM_CPPFLAGS = @OVIS_INCLUDE_ABS@ 10 | AM_LDFLAGS = @OVIS_LIB_ABS@ 11 | COMMON_LIBADD = $(top_builddir)/ldms/src/sampler/libsampler_base.la \ 12 | $(top_builddir)/ldms/src/core/libldms.la \ 13 | @LDFLAGS_GETTIME@ \ 14 | $(top_builddir)/lib/src/ovis_util/libovis_util.la \ 15 | $(top_builddir)/lib/src/coll/libcoll.la 16 | 17 | if ENABLE_TEST_SAMPLER_LDMS_TEST 18 | libtest_sampler_la_SOURCES = test_sampler.c 19 | libtest_sampler_la_LIBADD = $(COMMON_LIBADD) $(top_builddir)/lib/src/ovis_json/libovis_json.la 20 | 21 | pkglib_LTLIBRARIES += libtest_sampler.la 22 | endif 23 | -------------------------------------------------------------------------------- /ldms/src/sampler/filesingle/test_input/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ovis-hpc/ldms/81d5f7e1df2b86a59ebca9a214fa974c658ca453/ldms/src/sampler/filesingle/test_input/empty -------------------------------------------------------------------------------- /ldms/src/sampler/filesingle/test_input/lscpu.1: -------------------------------------------------------------------------------- 1 | open("/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq", O_RDONLY|O_CLOEXEC) = 3 2 | open("/sys/devices/system/cpu/cpu1/cpufreq/cpuinfo_max_freq", O_RDONLY|O_CLOEXEC) = 3 3 | open("/sys/devices/system/cpu/cpu2/cpufreq/cpuinfo_max_freq", O_RDONLY|O_CLOEXEC) = 3 4 | open("/sys/devices/system/cpu/cpu3/cpufreq/cpuinfo_max_freq", O_RDONLY|O_CLOEXEC) = 3 5 | -------------------------------------------------------------------------------- /ldms/src/sampler/filesingle/test_input/lscpu.1.out: -------------------------------------------------------------------------------- 1 | cpu0.cur_freq /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq S64 -1 2 | cpu1.cur_freq /sys/devices/system/cpu/cpu1/cpufreq/cpuinfo_cur_freq S64 -1 3 | cpu2.cur_freq /sys/devices/system/cpu/cpu2/cpufreq/cpuinfo_cur_freq S64 -1 4 | cpu3.cur_freq /sys/devices/system/cpu/cpu3/cpufreq/cpuinfo_cur_freq S64 -1 5 | -------------------------------------------------------------------------------- /ldms/src/sampler/filesingle/test_lscpu: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | empty=$srcdir/test_input/empty 3 | input=$srcdir/test_input/lscpu.1 4 | out=$(mktemp lscputest.XXXXXX) 5 | $srcdir/ldms-sensors-config --test-lscpu=$input --test-sensors=$empty > $out 6 | diff $out $srcdir/test_input/lscpu.1.out 7 | x=$? 8 | rm $out 9 | exit $x 10 | -------------------------------------------------------------------------------- /ldms/src/sampler/filesingle/test_sensors: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | empty=$srcdir/test_input/empty 3 | input=$srcdir/test_input/sensors.arm64 4 | out=$(mktemp sensorstest.XXXXXX) 5 | $srcdir/ldms-sensors-config --test-sensors $input --test-lscpu=$empty > $out 6 | diff $out $srcdir/test_input/sensors.arm64.out 7 | x=$? 8 | rm $out 9 | exit $x 10 | -------------------------------------------------------------------------------- /ldms/src/sampler/fptrans/Makefile.am: -------------------------------------------------------------------------------- 1 | include $(top_srcdir)/ldms/rules.mk 2 | 3 | 4 | pkglib_LTLIBRARIES = 5 | lib_LTLIBRARIES = 6 | dist_man7_MANS = 7 | dist_man1_MANS = 8 | 9 | AM_CPPFLAGS = @OVIS_INCLUDE_ABS@ 10 | AM_LDFLAGS = @OVIS_LIB_ABS@ 11 | COMMON_LIBADD = -lsampler_base -lldms -lovis_util -lcoll \ 12 | @LDFLAGS_GETTIME@ 13 | 14 | libfptrans_la_SOURCES = fptrans.c 15 | libfptrans_la_LIBADD = $(COMMON_LIBADD) 16 | pkglib_LTLIBRARIES += libfptrans.la 17 | dist_man7_MANS += ldms-sampler_fptrans.man 18 | 19 | CLEANFILES = $(dist_man7_MANS) 20 | -------------------------------------------------------------------------------- /ldms/src/sampler/hello_stream/.gitignore: -------------------------------------------------------------------------------- 1 | /hello_cat_publisher 2 | /hello_publisher -------------------------------------------------------------------------------- /ldms/src/sampler/hello_stream/stream_configs/Makefile.am: -------------------------------------------------------------------------------- 1 | 2 | if ENABLE_HELLO_STREAM 3 | 4 | docversionexamplesdir = $(docdir)/examples/hello_sampler_util/stream_configs 5 | dist_docversionexamples_DATA = \ 6 | hello_stream1.conf \ 7 | hello_stream_store.conf \ 8 | README 9 | 10 | endif 11 | -------------------------------------------------------------------------------- /ldms/src/sampler/hello_stream/stream_configs/README: -------------------------------------------------------------------------------- 1 | Re configuration files: 2 | 1) Sampler with a hello_sampler that writes to the log file 3 | 2) Aggregator that subscribes to the stream and writes to the store -------------------------------------------------------------------------------- /ldms/src/sampler/hello_stream/stream_configs/hello_stream1.conf: -------------------------------------------------------------------------------- 1 | load name=hello_sampler 2 | config name=hello_sampler producer=host1 instance=host1/hello_sampler stream=foo component_id=1 3 | start name=hello_sampler interval=1000000 offset=0 4 | 5 | load name=meminfo 6 | config name=meminfo schema=meminfo producer=localhost1 instance=localhost1/meminfo component_id=1 7 | start name=meminfo interval=5000000 offset=0 8 | -------------------------------------------------------------------------------- /ldms/src/sampler/ibm_occ/Makefile.am: -------------------------------------------------------------------------------- 1 | include $(top_srcdir)/ldms/rules.mk 2 | 3 | 4 | pkglib_LTLIBRARIES = 5 | dist_man7_MANS= 6 | 7 | AM_CPPFLAGS = @OVIS_INCLUDE_ABS@ 8 | AM_LDFLAGS = @OVIS_LIB_ABS@ 9 | COMMON_LIBADD = $(top_builddir)/ldms/src/sampler/libsampler_base.la \ 10 | $(top_builddir)/ldms/src/core/libldms.la 11 | 12 | if ENABLE_IBM_OCC_SAMPLER 13 | libibm_occ_la_SOURCES = ibm_occ.c ibm_occ.h 14 | libibm_occ_la_LIBADD = $(COMMON_LIBADD) 15 | libibm_occ_la_CFLAGS = -DSYSCONFDIR='"$(sysconfdir)"' 16 | pkglib_LTLIBRARIES += libibm_occ.la 17 | endif 18 | 19 | -------------------------------------------------------------------------------- /ldms/src/sampler/ibnet/.gitignore: -------------------------------------------------------------------------------- 1 | /ldms_ibnet_schema_name 2 | -------------------------------------------------------------------------------- /ldms/src/sampler/ibnet/scripts/ldms-get-opa-network.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | echo LIDS && 3 | opaextractlids && 4 | echo LINKS && 5 | opaextractlink 6 | -------------------------------------------------------------------------------- /ldms/src/sampler/job_info/Makefile.am: -------------------------------------------------------------------------------- 1 | include $(top_srcdir)/ldms/rules.mk 2 | 3 | 4 | pkglib_LTLIBRARIES = 5 | dist_man7_MANS= 6 | 7 | AM_CPPFLAGS = @OVIS_INCLUDE_ABS@ 8 | AM_LDFLAGS = @OVIS_LIB_ABS@ 9 | COMMON_LIBADD = $(top_builddir)/ldms/src/sampler/libsampler_base.la \ 10 | $(top_builddir)/ldms/src/core/libldms.la \ 11 | @LDFLAGS_GETTIME@ \ 12 | $(top_builddir)/lib/src/ovis_util/libovis_util.la \ 13 | $(top_builddir)/lib/src/coll/libcoll.la \ 14 | -lpthread 15 | 16 | libjobinfo_la_SOURCES = jobinfo.c jobinfo.h 17 | libjobinfo_la_LIBADD = $(COMMON_LIBADD) 18 | libjobinfo_la_CFLAGS = -DSYSCONFDIR='"$(sysconfdir)"' 19 | pkglib_LTLIBRARIES += libjobinfo.la 20 | -------------------------------------------------------------------------------- /ldms/src/sampler/job_info_slurm/Makefile.am: -------------------------------------------------------------------------------- 1 | include $(top_srcdir)/ldms/rules.mk 2 | 3 | 4 | pkglib_LTLIBRARIES = 5 | dist_man7_MANS= 6 | 7 | AM_CPPFLAGS = @OVIS_INCLUDE_ABS@ 8 | AM_LDFLAGS = @OVIS_LIB_ABS@ 9 | COMMON_LIBADD = $(top_builddir)/ldms/src/core/libldms.la \ 10 | @LDFLAGS_GETTIME@ \ 11 | $(top_builddir)/lib/src/ovis_util/libovis_util.la \ 12 | $(top_builddir)/lib/src/coll/libcoll.la 13 | 14 | libjobinfo_slurm_la_SOURCES = jobinfo_slurm.c 15 | libjobinfo_slurm_la_LIBADD = $(COMMON_LIBADD) 16 | libjobinfo_slurm_la_CFLAGS = $(SLURM_CFLAGS) \ 17 | -I$(top_srcdir)/ldms/src/sampler/job_info -DSYSCONFDIR='"$(sysconfdir)"' 18 | libjobinfo_slurm_la_LDFLAGS = $(AM_LDFLAGS) -module 19 | pkglib_LTLIBRARIES += libjobinfo_slurm.la 20 | -------------------------------------------------------------------------------- /ldms/src/sampler/llnl/Makefile.am: -------------------------------------------------------------------------------- 1 | include $(top_srcdir)/ldms/rules.mk 2 | 3 | 4 | pkglib_LTLIBRARIES = 5 | dist_man7_MANS= 6 | 7 | AM_CPPFLAGS = @OVIS_INCLUDE_ABS@ 8 | AM_LDFLAGS = @OVIS_LIB_ABS@ 9 | COMMON_LIBADD = $(top_builddir)/ldms/src/sampler/libsampler_base.la \ 10 | $(top_builddir)/ldms/src/core/libldms.la \ 11 | @LDFLAGS_GETTIME@ \ 12 | $(top_builddir)/lib/src/ovis_util/libovis_util.la \ 13 | $(top_builddir)/lib/src/coll/libcoll.la 14 | 15 | if ENABLE_LLNL_EDAC 16 | libedac_la_SOURCES = edac.c 17 | libedac_la_LIBADD = $(COMMON_LIBADD) 18 | pkglib_LTLIBRARIES += libedac.la 19 | dist_man7_MANS += ldms-sampler_edac.man 20 | endif 21 | 22 | EXTRA_DIST = LLNL_LICENSE_EDAC 23 | 24 | CLEANFILES = $(dist_man7_MANS) 25 | -------------------------------------------------------------------------------- /ldms/src/sampler/lnet_stats/Makefile.am: -------------------------------------------------------------------------------- 1 | include $(top_srcdir)/ldms/rules.mk 2 | 3 | 4 | pkglib_LTLIBRARIES = 5 | lib_LTLIBRARIES = 6 | dist_man7_MANS = 7 | dist_man1_MANS = 8 | 9 | AM_CPPFLAGS = @OVIS_INCLUDE_ABS@ 10 | AM_LDFLAGS = @OVIS_LIB_ABS@ 11 | COMMON_LIBADD = -lsampler_base -lldms -lovis_util -lcoll \ 12 | @LDFLAGS_GETTIME@ 13 | 14 | liblnet_stats_la_SOURCES = lnet_stats.c 15 | liblnet_stats_la_LIBADD = $(COMMON_LIBADD) 16 | pkglib_LTLIBRARIES += liblnet_stats.la 17 | dist_man7_MANS += ldms-sampler_lnet_stats.man 18 | 19 | CLEANFILES = $(dist_man7_MANS) 20 | -------------------------------------------------------------------------------- /ldms/src/sampler/loadavg/Makefile.am: -------------------------------------------------------------------------------- 1 | include $(top_srcdir)/ldms/rules.mk 2 | 3 | 4 | pkglib_LTLIBRARIES = 5 | lib_LTLIBRARIES = 6 | dist_man7_MANS = 7 | 8 | AM_CPPFLAGS = @OVIS_INCLUDE_ABS@ 9 | AM_LDFLAGS = @OVIS_LIB_ABS@ 10 | COMMON_LIBADD = -lsampler_base -lldms -lovis_util -lcoll \ 11 | @LDFLAGS_GETTIME@ 12 | 13 | if ENABLE_LOADAVG 14 | libloadavg_la_SOURCES = loadavg.c 15 | libloadavg_la_LIBADD = $(COMMON_LIBADD) 16 | pkglib_LTLIBRARIES += libloadavg.la 17 | dist_man7_MANS += ldms-sampler_loadavg.man 18 | endif 19 | 20 | CLEANFILES = $(dist_man7_MANS) 21 | -------------------------------------------------------------------------------- /ldms/src/sampler/lustre/.clang_complete: -------------------------------------------------------------------------------- 1 | -I ../../core -I/opt/sos/include -I/opt/ovis-lib/include 2 | -------------------------------------------------------------------------------- /ldms/src/sampler/lustre_client/lustre_client.h: -------------------------------------------------------------------------------- 1 | /* -*- c-basic-offset: 8 -*- */ 2 | /* Copyright 2021 Lawrence Livermore National Security, LLC 3 | * See the top-level COPYING file for details. 4 | * 5 | * SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) 6 | */ 7 | #ifndef __LUSTRE_LLITE_H 8 | #define __LUSTRE_LLITE_H 9 | 10 | #include "ldms.h" 11 | #include "ldmsd.h" 12 | 13 | #define SAMP "lustre_client" 14 | 15 | #endif /* __LUSTRE_LLITE_H */ 16 | -------------------------------------------------------------------------------- /ldms/src/sampler/lustre_mdc/lustre_mdc.h: -------------------------------------------------------------------------------- 1 | /* -*- c-basic-offset: 8 -*- */ 2 | /* Copyright 2021 Lawrence Livermore National Security, LLC 3 | * See the top-level COPYING file for details. 4 | * Copyright 2022 NTESS. 5 | * 6 | * SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) 7 | */ 8 | #ifndef __LUSTRE_MDC_H 9 | #define __LUSTRE_MDC_H 10 | 11 | #include "ldms.h" 12 | #include "ldmsd.h" 13 | 14 | #define SAMP "lustre_mdc" 15 | 16 | #endif /* __LUSTRE_MDC_H */ 17 | -------------------------------------------------------------------------------- /ldms/src/sampler/lustre_mdt/lustre_mdt.h: -------------------------------------------------------------------------------- 1 | /* -*- c-basic-offset: 8 -*- */ 2 | /* Copyright 2021 Lawrence Livermore National Security, LLC 3 | * See the top-level COPYING file for details. 4 | * 5 | * SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) 6 | */ 7 | #ifndef __LUSTRE_MDT_H 8 | #define __LUSTRE_MDT_H 9 | 10 | #include "ldms.h" 11 | #include "ldmsd.h" 12 | 13 | #define SAMP "lustre_mdt" 14 | 15 | #endif /* __LUSTRE_MDT_H */ 16 | -------------------------------------------------------------------------------- /ldms/src/sampler/lustre_ost/lustre_ost.h: -------------------------------------------------------------------------------- 1 | /* -*- c-basic-offset: 8 -*- */ 2 | /* Copyright 2021 Lawrence Livermore National Security, LLC 3 | * See the top-level COPYING file for details. 4 | * 5 | * SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) 6 | */ 7 | #ifndef __LUSTRE_OST_H 8 | #define __LUSTRE_OST_H 9 | 10 | #include "ldms.h" 11 | #include "ldmsd.h" 12 | 13 | #define SAMP "lustre_ost" 14 | 15 | #endif /* __LUSTRE_OST_H */ 16 | -------------------------------------------------------------------------------- /ldms/src/sampler/meminfo/Makefile.am: -------------------------------------------------------------------------------- 1 | include $(top_srcdir)/ldms/rules.mk 2 | 3 | 4 | pkglib_LTLIBRARIES = 5 | lib_LTLIBRARIES = 6 | dist_man7_MANS = 7 | dist_man1_MANS = 8 | 9 | AM_CPPFLAGS = @OVIS_INCLUDE_ABS@ 10 | AM_LDFLAGS = @OVIS_LIB_ABS@ 11 | COMMON_LIBADD = -lsampler_base -lldms -lovis_util -lcoll \ 12 | @LDFLAGS_GETTIME@ 13 | 14 | if ENABLE_MEMINFO 15 | libmeminfo_la_SOURCES = meminfo.c 16 | libmeminfo_la_LIBADD = $(COMMON_LIBADD) 17 | pkglib_LTLIBRARIES += libmeminfo.la 18 | dist_man7_MANS += ldms-sampler_meminfo.man 19 | endif 20 | 21 | CLEANFILES = $(dist_man7_MANS) 22 | -------------------------------------------------------------------------------- /ldms/src/sampler/msr_interlagos/Makefile.am: -------------------------------------------------------------------------------- 1 | include $(top_srcdir)/ldms/rules.mk 2 | 3 | 4 | pkglib_LTLIBRARIES = 5 | lib_LTLIBRARIES = 6 | dist_man7_MANS = 7 | dist_man1_MANS = 8 | 9 | AM_CPPFLAGS = @OVIS_INCLUDE_ABS@ 10 | AM_LDFLAGS = @OVIS_LIB_ABS@ 11 | COMMON_LIBADD = -lsampler_base -lldms -lovis_util -lcoll \ 12 | @LDFLAGS_GETTIME@ 13 | 14 | libmsr_interlagos_la_SOURCES = msr_interlagos.c 15 | libmsr_interlagos_la_LIBADD = $(COMMON_LIBADD) -lpthread 16 | pkglib_LTLIBRARIES += libmsr_interlagos.la 17 | dist_man7_MANS += ldms-sampler_msr_interlagos.man 18 | 19 | CLEANFILES = $(dist_man7_MANS) 20 | -------------------------------------------------------------------------------- /ldms/src/sampler/netlink/.gitignore: -------------------------------------------------------------------------------- 1 | /ldms-netlink-notifier 2 | !ldms-sampler_ldms-notify.man 3 | -------------------------------------------------------------------------------- /ldms/src/sampler/netlink/ldms-netlink-notifier.conf: -------------------------------------------------------------------------------- 1 | # NOTIFIER_EXCLUDE_PROGRAMS="(nullexe):" 2 | # NOTIFIER_EXCLUDE_DIRS=/sbin 3 | # NOTIFIER_EXCLUDE_SHORT_PATH=/bin:/usr 4 | # NOTIFIER_EXCLUDE_SHORT_TIME=1 5 | # NOTIFIER_LDMS_RETRY=600 6 | # NOTIFIER_LDMS_TIMEOUT=1 7 | # NOTIFIER_LDMS_STREAM=slurm 8 | # NOTIFIER_LDMS_XPRT=sock 9 | # NOTIFIER_LDMS_HOST=localhost 10 | # NOTIFIER_LDMS_PORT=411 11 | # NOTIFIER_LDMS_AUTH=munge 12 | -------------------------------------------------------------------------------- /ldms/src/sampler/netlink/ldms-sampler_ldms-notify.man: -------------------------------------------------------------------------------- 1 | .so man8/ldms-sampler_netlink-notifier.8 2 | -------------------------------------------------------------------------------- /ldms/src/sampler/opa2/Makefile.am: -------------------------------------------------------------------------------- 1 | include $(top_srcdir)/ldms/rules.mk 2 | 3 | 4 | pkglib_LTLIBRARIES = 5 | lib_LTLIBRARIES = 6 | dist_man7_MANS = 7 | dist_man1_MANS = 8 | 9 | AM_CPPFLAGS = @OVIS_INCLUDE_ABS@ 10 | AM_LDFLAGS = @OVIS_LIB_ABS@ 11 | COMMON_LIBADD = -lsampler_base -lldms -lovis_util -lcoll \ 12 | @LDFLAGS_GETTIME@ 13 | 14 | 15 | OPA2_LIBADD = $(LTLIBIBMAD) $(LTLIBIBUMAD) -lpthread 16 | libopa2_la_SOURCES = opa2.c 17 | libopa2_la_CFLAGS = $(AM_CFLAGS) -I/usr/include/infiniband 18 | libopa2_la_LIBADD = $(AM_LDFLAGS) $(COMMON_LIBADD) $(OPA2_LIBADD) $(JOBID_LIBFLAGS) 19 | dist_man7_MANS += ldms-sampler_opa2.man 20 | pkglib_LTLIBRARIES += libopa2.la 21 | 22 | CLEANFILES = $(dist_man7_MANS) 23 | -------------------------------------------------------------------------------- /ldms/src/sampler/papi/tests/papi-missing-events-config.json: -------------------------------------------------------------------------------- 1 | { 2 | "schema" : "papi-test-schema" 3 | } 4 | -------------------------------------------------------------------------------- /ldms/src/sampler/papi/tests/papi-missing-schema-config.json: -------------------------------------------------------------------------------- 1 | { 2 | "events" : [ 3 | "PAPI_TOT_INS", 4 | "PAPI_TOT_CYC", 5 | "PAPI_LD_INS", 6 | "PAPI_SR_INS", 7 | "PAPI_BR_INS", 8 | "PAPI_FP_OPS", 9 | "PAPI_L1_ICM", 10 | "PAPI_L1_DCM", 11 | "PAPI_L2_ICA", 12 | "PAPI_L2_TCA", 13 | "PAPI_L2_TCM", 14 | "PAPI_L3_TCA", 15 | "PAPI_L3_TCM" 16 | ] 17 | } 18 | -------------------------------------------------------------------------------- /ldms/src/sampler/papi/tests/papi-ok-config.json: -------------------------------------------------------------------------------- 1 | { 2 | "schema" : "papi-test-schema", 3 | "events" : [ 4 | "PAPI_TOT_INS", 5 | "PAPI_TOT_CYC", 6 | "PAPI_LD_INS", 7 | "PAPI_SR_INS", 8 | "PAPI_BR_INS", 9 | "PAPI_FP_OPS", 10 | "PAPI_L1_ICM", 11 | "PAPI_L1_DCM", 12 | "PAPI_L2_ICA", 13 | "PAPI_L2_TCA", 14 | "PAPI_L2_TCM", 15 | "PAPI_L3_TCA", 16 | "PAPI_L3_TCM" 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /ldms/src/sampler/papi/tests/papi-syntax-error-config.json: -------------------------------------------------------------------------------- 1 | { 2 | "schema" : "papi-test-schema", 3 | "events" : 4 | "PAPI_TOT_INS", 5 | "PAPI_TOT_CYC", 6 | "PAPI_LD_INS", 7 | "PAPI_SR_INS", 8 | "PAPI_BR_INS", 9 | "PAPI_FP_OPS", 10 | "PAPI_L1_ICM", 11 | "PAPI_L1_DCM", 12 | "PAPI_L2_ICA", 13 | "PAPI_L2_TCA", 14 | "PAPI_L2_TCM", 15 | "PAPI_L3_TCA", 16 | "PAPI_L3_TCM" 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /ldms/src/sampler/perfevent/Makefile.am: -------------------------------------------------------------------------------- 1 | include $(top_srcdir)/ldms/rules.mk 2 | 3 | 4 | pkglib_LTLIBRARIES = 5 | lib_LTLIBRARIES = 6 | dist_man7_MANS = 7 | dist_man1_MANS = 8 | 9 | AM_CPPFLAGS = @OVIS_INCLUDE_ABS@ 10 | AM_LDFLAGS = @OVIS_LIB_ABS@ 11 | COMMON_LIBADD = -lsampler_base -lldms -lovis_util -lcoll \ 12 | @LDFLAGS_GETTIME@ 13 | 14 | libperfevent_la_SOURCES = perfevent.c 15 | libperfevent_la_LIBADD = $(COMMON_LIBADD) -lm 16 | pkglib_LTLIBRARIES += libperfevent.la 17 | dist_man7_MANS += ldms-sampler_perfevent.man 18 | 19 | CLEANFILES = $(dist_man7_MANS) 20 | -------------------------------------------------------------------------------- /ldms/src/sampler/procdiskstats/Makefile.am: -------------------------------------------------------------------------------- 1 | include $(top_srcdir)/ldms/rules.mk 2 | 3 | 4 | pkglib_LTLIBRARIES = 5 | lib_LTLIBRARIES = 6 | dist_man7_MANS = 7 | dist_man1_MANS = 8 | 9 | AM_CPPFLAGS = @OVIS_INCLUDE_ABS@ 10 | AM_LDFLAGS = @OVIS_LIB_ABS@ 11 | COMMON_LIBADD = -lsampler_base -lldms -lovis_util -lcoll \ 12 | @LDFLAGS_GETTIME@ 13 | 14 | libprocdiskstats_la_SOURCES = procdiskstats.c 15 | libprocdiskstats_la_LIBADD = $(COMMON_LIBADD) 16 | pkglib_LTLIBRARIES += libprocdiskstats.la 17 | dist_man7_MANS += ldms-sampler_procdiskstats.man 18 | 19 | CLEANFILES = $(dist_man7_MANS) 20 | -------------------------------------------------------------------------------- /ldms/src/sampler/procnet/Makefile.am: -------------------------------------------------------------------------------- 1 | include $(top_srcdir)/ldms/rules.mk 2 | 3 | 4 | pkglib_LTLIBRARIES = 5 | lib_LTLIBRARIES = 6 | dist_man7_MANS = 7 | dist_man1_MANS = 8 | 9 | AM_CPPFLAGS = @OVIS_INCLUDE_ABS@ 10 | AM_LDFLAGS = @OVIS_LIB_ABS@ 11 | COMMON_LIBADD = -lsampler_base -lldms -lovis_util -lcoll \ 12 | @LDFLAGS_GETTIME@ 13 | 14 | if ENABLE_PROCNET 15 | dist_man7_MANS += ldms-sampler_procnet.man 16 | libprocnet_la_SOURCES = procnet.c 17 | libprocnet_la_LIBADD = $(COMMON_LIBADD) 18 | pkglib_LTLIBRARIES += libprocnet.la 19 | endif 20 | 21 | CLEANFILES = $(dist_man7_MANS) 22 | -------------------------------------------------------------------------------- /ldms/src/sampler/procnetdev/Makefile.am: -------------------------------------------------------------------------------- 1 | include $(top_srcdir)/ldms/rules.mk 2 | 3 | 4 | pkglib_LTLIBRARIES = 5 | lib_LTLIBRARIES = 6 | dist_man7_MANS = 7 | dist_man1_MANS = 8 | 9 | AM_CPPFLAGS = @OVIS_INCLUDE_ABS@ 10 | AM_LDFLAGS = @OVIS_LIB_ABS@ 11 | COMMON_LIBADD = -lsampler_base -lldms -lovis_util -lcoll \ 12 | @LDFLAGS_GETTIME@ 13 | 14 | libprocnetdev_la_SOURCES = procnetdev.c 15 | libprocnetdev_la_LIBADD = $(COMMON_LIBADD) 16 | pkglib_LTLIBRARIES += libprocnetdev.la 17 | dist_man7_MANS += ldms-sampler_procnetdev.man 18 | 19 | CLEANFILES = $(dist_man7_MANS) 20 | -------------------------------------------------------------------------------- /ldms/src/sampler/procnetdev2/Makefile.am: -------------------------------------------------------------------------------- 1 | include $(top_srcdir)/ldms/rules.mk 2 | 3 | 4 | AM_CPPFLAGS = @OVIS_INCLUDE_ABS@ 5 | AM_LDFLAGS = @OVIS_LIB_ABS@ 6 | COMMON_LIBADD = -lsampler_base -lldms -lovis_util -lcoll \ 7 | @LDFLAGS_GETTIME@ 8 | 9 | libprocnetdev2_la_SOURCES = procnetdev2.c 10 | libprocnetdev2_la_LIBADD = $(COMMON_LIBADD) 11 | pkglib_LTLIBRARIES = libprocnetdev2.la 12 | dist_man7_MANS = ldms-sampler_procnetdev2.man 13 | 14 | CLEANFILES = $(dist_man7_MANS) 15 | -------------------------------------------------------------------------------- /ldms/src/sampler/procnfs/Makefile.am: -------------------------------------------------------------------------------- 1 | include $(top_srcdir)/ldms/rules.mk 2 | 3 | 4 | pkglib_LTLIBRARIES = 5 | lib_LTLIBRARIES = 6 | dist_man7_MANS = 7 | dist_man1_MANS = 8 | 9 | AM_CPPFLAGS = @OVIS_INCLUDE_ABS@ 10 | AM_LDFLAGS = @OVIS_LIB_ABS@ 11 | COMMON_LIBADD = -lsampler_base -lldms -lovis_util -lcoll \ 12 | @LDFLAGS_GETTIME@ 13 | 14 | libprocnfs_la_SOURCES = procnfs.c 15 | libprocnfs_la_LIBADD = $(COMMON_LIBADD) 16 | pkglib_LTLIBRARIES += libprocnfs.la 17 | dist_man7_MANS += ldms-sampler_procnfs.man 18 | 19 | CLEANFILES = $(dist_man7_MANS) 20 | -------------------------------------------------------------------------------- /ldms/src/sampler/procstat/Makefile.am: -------------------------------------------------------------------------------- 1 | include $(top_srcdir)/ldms/rules.mk 2 | 3 | 4 | pkglib_LTLIBRARIES = 5 | lib_LTLIBRARIES = 6 | dist_man7_MANS = 7 | dist_man1_MANS = 8 | 9 | 10 | AM_CPPFLAGS = @OVIS_INCLUDE_ABS@ 11 | AM_LDFLAGS = @OVIS_LIB_ABS@ 12 | COMMON_LIBADD = $(top_builddir)/ldms/src/sampler/libsampler_base.la \ 13 | $(top_builddir)/ldms/src/core/libldms.la \ 14 | @LDFLAGS_GETTIME@ \ 15 | $(top_builddir)/lib/src/ovis_util/libovis_util.la \ 16 | $(top_builddir)/lib/src/coll/libcoll.la 17 | 18 | if ENABLE_PROCSTAT 19 | libprocstat_la_SOURCES = procstat.c 20 | libprocstat_la_LIBADD = $(COMMON_LIBADD) 21 | pkglib_LTLIBRARIES += libprocstat.la 22 | dist_man7_MANS += ldms-sampler_procstat.man 23 | endif 24 | 25 | CLEANFILES = $(dist_man7_MANS) 26 | -------------------------------------------------------------------------------- /ldms/src/sampler/procstat2/Makefile.am: -------------------------------------------------------------------------------- 1 | include $(top_srcdir)/ldms/rules.mk 2 | 3 | 4 | pkglib_LTLIBRARIES = 5 | lib_LTLIBRARIES = 6 | dist_man7_MANS = 7 | dist_man1_MANS = 8 | 9 | AM_CPPFLAGS = @OVIS_INCLUDE_ABS@ 10 | AM_LDFLAGS = @OVIS_LIB_ABS@ 11 | COMMON_LIBADD = -lsampler_base -lldms -lovis_util -lcoll \ 12 | @LDFLAGS_GETTIME@ 13 | 14 | libprocstat2_la_SOURCES = procstat2.c 15 | libprocstat2_la_LIBADD = $(COMMON_LIBADD) 16 | pkglib_LTLIBRARIES += libprocstat2.la 17 | dist_man7_MANS += ldms-sampler_procstat2.man 18 | 19 | CLEANFILES = $(dist_man7_MANS) 20 | -------------------------------------------------------------------------------- /ldms/src/sampler/sampler_atasmart/Makefile.am: -------------------------------------------------------------------------------- 1 | include $(top_srcdir)/ldms/rules.mk 2 | 3 | 4 | pkglib_LTLIBRARIES = 5 | lib_LTLIBRARIES = 6 | dist_man7_MANS = 7 | dist_man1_MANS = 8 | 9 | AM_CPPFLAGS = @OVIS_INCLUDE_ABS@ 10 | AM_LDFLAGS = @OVIS_LIB_ABS@ 11 | COMMON_LIBADD = -lsampler_base -lldms -lovis_util -lcoll \ 12 | @LDFLAGS_GETTIME@ 13 | 14 | libsampler_atasmart_la_SOURCES = sampler_atasmart.c 15 | libsampler_atasmart_la_LIBADD = $(COMMON_LIBADD) -latasmart 16 | pkglib_LTLIBRARIES += libsampler_atasmart.la 17 | dist_man7_MANS += ldms-sampler_atasmart.man 18 | 19 | CLEANFILES = $(dist_man7_MANS) 20 | -------------------------------------------------------------------------------- /ldms/src/sampler/shm/shm_util/Makefile.am: -------------------------------------------------------------------------------- 1 | pkglib_LTLIBRARIES = 2 | 3 | AM_CPPFLAGS = @OVIS_INCLUDE_ABS@ 4 | AM_LDFLAGS = @OVIS_LIB_ABS@ 5 | #COMMON_LIBADD = -lldms @LDFLAGS_GETTIME@ -lovis_util -lcoll 6 | 7 | COMMON_LIBADD = @LDFLAGS_GETTIME@ $(top_builddir)/lib/src/third/libovis_third.la 8 | 9 | lib_LTLIBRARIES = liblshm.la 10 | 11 | include_HEADERS = ldms_shm_event_set.h ldms_shm_obj.h ldms_shm_index.h 12 | liblshm_la_SOURCES = ldms_shm_event_set.c ldms_shm_obj.c ldms_shm_index.c 13 | liblshm_la_SOURCES += $(include_HEADERS) 14 | liblshm_la_LIBADD = $(COMMON_LIBADD) -lm -lrt -lpthread 15 | -------------------------------------------------------------------------------- /ldms/src/sampler/shm/test/samplerd.conf: -------------------------------------------------------------------------------- 1 | load name=shm_sampler 2 | config name=shm_sampler producer=samplerd instance=samplerd/shm_sampler shm_index=/ldms_shm_mpi_index shm_boxmax=4 component_id=23 3 | start name=shm_sampler interval=1000000 offset=0 -------------------------------------------------------------------------------- /ldms/src/sampler/slingshot_info/Makefile.am: -------------------------------------------------------------------------------- 1 | include $(top_srcdir)/ldms/rules.mk 2 | 3 | 4 | libslingshot_info_la_SOURCES = \ 5 | slingshot_info.c 6 | libslingshot_info_la_LIBADD = \ 7 | $(top_builddir)/ldms/src/core/libldms.la \ 8 | $(top_builddir)/lib/src/coll/libcoll.la \ 9 | $(top_builddir)/ldms/src/sampler/libsampler_base.la \ 10 | $(LTLIBCXI) 11 | libslingshot_info_la_LDFLAGS = \ 12 | -no-undefined \ 13 | -export-symbols-regex 'ldmsd_plugin_interface' 14 | libslingshot_info_la_CPPFLAGS = @OVIS_INCLUDE_ABS@ 15 | 16 | pkglib_LTLIBRARIES = libslingshot_info.la 17 | 18 | dist_man7_MANS = ldms-sampler_slingshot_info.man 19 | 20 | CLEANFILES = $(dist_man7_MANS) 21 | -------------------------------------------------------------------------------- /ldms/src/sampler/slingshot_metrics/Makefile.am: -------------------------------------------------------------------------------- 1 | include $(top_srcdir)/ldms/rules.mk 2 | 3 | 4 | libslingshot_metrics_la_SOURCES = \ 5 | slingshot_metrics.c 6 | libslingshot_metrics_la_LIBADD = \ 7 | $(top_builddir)/ldms/src/core/libldms.la \ 8 | $(top_builddir)/lib/src/coll/libcoll.la \ 9 | $(top_builddir)/ldms/src/sampler/libsampler_base.la \ 10 | $(LTLIBCXI) 11 | libslingshot_metrics_la_LDFLAGS = \ 12 | -no-undefined \ 13 | -export-symbols-regex 'ldmsd_plugin_interface' 14 | libslingshot_metrics_la_CPPFLAGS = @OVIS_INCLUDE_ABS@ 15 | 16 | pkglib_LTLIBRARIES = libslingshot_metrics.la 17 | 18 | dist_man7_MANS = ldms-sampler_slingshot_metrics.man 19 | 20 | CLEANFILES = $(dist_man7_MANS) 21 | -------------------------------------------------------------------------------- /ldms/src/sampler/sysclassib/Makefile.am: -------------------------------------------------------------------------------- 1 | include $(top_srcdir)/ldms/rules.mk 2 | 3 | 4 | pkglib_LTLIBRARIES = 5 | lib_LTLIBRARIES = 6 | dist_man7_MANS = 7 | dist_man1_MANS = 8 | 9 | AM_CPPFLAGS = @OVIS_INCLUDE_ABS@ 10 | AM_LDFLAGS = @OVIS_LIB_ABS@ 11 | COMMON_LIBADD = -lsampler_base -lldms -lovis_util -lcoll \ 12 | @LDFLAGS_GETTIME@ 13 | 14 | libsysclassib_la_SOURCES = sysclassib.c 15 | libsysclassib_la_LIBADD = $(COMMON_LIBADD) $(LTLIBIBMAD) $(LTLIBIBUMAD) 16 | pkglib_LTLIBRARIES += libsysclassib.la 17 | dist_man7_MANS += ldms-sampler_sysclassib.man 18 | 19 | CLEANFILES = $(dist_man7_MANS) 20 | -------------------------------------------------------------------------------- /ldms/src/sampler/syspapi/test/.gitignore: -------------------------------------------------------------------------------- 1 | ldmsd.cfg 2 | syspapi.json 3 | -------------------------------------------------------------------------------- /ldms/src/sampler/syspapi/test/ldmsd.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | CONFIG=ldmsd.cfg 4 | PAPI_CFG=syspapi.json 5 | 6 | cat >$CONFIG <$PAPI_CFG < cfg/sampler1 < cfg/sampler2 < $CFG < $CFG < $CFG < 2 | Narate Taerat 3 | Nichamon Naksinehaboon 4 | Jim Brandt 5 | Ann Gentile 6 | Benjamin Allan 7 | -------------------------------------------------------------------------------- /lib/NEWS: -------------------------------------------------------------------------------- 1 | Intentionally empty. 2 | -------------------------------------------------------------------------------- /lib/bin/Makefile.am: -------------------------------------------------------------------------------- 1 | ACLOCAL_AMFLAGS = -I m4 2 | 3 | SUBDIRS = 4 | 5 | if ENABLE_SOS 6 | SUBDIRS += src 7 | endif 8 | -------------------------------------------------------------------------------- /lib/bin/src/Makefile.am: -------------------------------------------------------------------------------- 1 | AM_CFLAGS = -I$(top_srcdir)/src 2 | AM_LDFLAGS = -L$(top_srcdir)/src 3 | 4 | if ENABLE_SOS 5 | sbin_PROGRAMS = map_cmd 6 | 7 | map_cmd_SOURCES = map_cmd.c 8 | map_cmd_CFLAGS = $(AM_CFLAGS) 9 | map_cmd_LDFLAGS = $(AM_LDFLAGS) 10 | map_cmd_LDADD = ../../src/coll/libmap.la 11 | endif 12 | -------------------------------------------------------------------------------- /lib/etc/Makefile.am: -------------------------------------------------------------------------------- 1 | ACLOCAL_AMFLAGS = -I m4 2 | SUBDIRS = 3 | 4 | # ovis environment variables & etc/ovis 5 | SUBDIRS += ovis 6 | 7 | # ld.so.conf.d 8 | SUBDIRS += ld.so.conf.d 9 | -------------------------------------------------------------------------------- /lib/etc/ld.so.conf.d/.gitignore: -------------------------------------------------------------------------------- 1 | /ovis-ld-so.conf -------------------------------------------------------------------------------- /lib/etc/ld.so.conf.d/Makefile.am: -------------------------------------------------------------------------------- 1 | EXTRA_DIST = ovis-ld-so.conf.in 2 | 3 | do_subst = @LDMS_SUBST_RULE@ 4 | 5 | ovis-ld-so.conf: ovis-ld-so.conf.in 6 | $(do_subst) < $< > $@ 7 | 8 | docdir = $(datadir)/doc/@PACKAGE@/sample_init_scripts/opt/etc 9 | 10 | sysconfldsodir = $(docdir)/ld.so.conf.d 11 | sysconfldso_DATA = ovis-ld-so.conf 12 | 13 | if SYSCONFDIR_NOT_ETC 14 | sysconfldsoddir = $(sysconfdir)/ld.so.conf.d 15 | sysconfldsod_DATA = ovis-ld-so.conf 16 | endif 17 | -------------------------------------------------------------------------------- /lib/etc/ld.so.conf.d/ovis-ld-so.conf.in: -------------------------------------------------------------------------------- 1 | @libdir@ 2 | -------------------------------------------------------------------------------- /lib/etc/ovis/.gitignore: -------------------------------------------------------------------------------- 1 | /set-ovis-variables.sh 2 | -------------------------------------------------------------------------------- /lib/etc/ovis/Makefile.am: -------------------------------------------------------------------------------- 1 | docdir = $(datadir)/doc/@PACKAGE@/sample_init_scripts/opt/etc 2 | 3 | do_subst = @LDMS_SUBST_RULE@ 4 | 5 | set-ovis-variables.sh: set-ovis-variables.sh.in 6 | $(do_subst) < $< > $@ 7 | 8 | sysconfovisdir = $(docdir)/ovis 9 | dist_sysconfovis_DATA = ovis-functions.sh 10 | 11 | sysconfprofiledir = $(docdir)/profile.d 12 | sysconfprofile_DATA = set-ovis-variables.sh 13 | 14 | if SYSCONFDIR_NOT_ETC 15 | sysconfprofileddir=$(sysconfdir)/profile.d 16 | sysconfprofiled_DATA=set-ovis-variables.sh 17 | endif 18 | 19 | EXTRA_DIST = set-ovis-variables.sh.in 20 | -------------------------------------------------------------------------------- /lib/etc/ovis/set-ovis-variables.sh.in: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | _add() { 4 | local NAME=$1 5 | local VAL=$2 6 | [[ *:${!NAME}:* == *:${VAL}:* ]] || \ 7 | eval "export ${NAME}='${!NAME}:${VAL}'" 8 | } 9 | 10 | _add PATH @bindir@ 11 | _add PATH @sbindir@ 12 | 13 | export LDMS_AUTH_FILE=@sysconfdir@/ldms/ldmsauth.conf 14 | 15 | export LDMSD_PLUGIN_LIBPATH=@libdir@/ovis-ldms 16 | export ZAP_LIBPATH=@libdir@/ovis-ldms 17 | 18 | # for uGNI transport 19 | # export ZAP_UGNI_PTAG= 20 | # export ZAP_UGNI_COOKIE= 21 | # 22 | # for Python 23 | _add PYTHONPATH @pythondir@ 24 | -------------------------------------------------------------------------------- /lib/src/.gitignore: -------------------------------------------------------------------------------- 1 | /ovis-lib-configvars.sh -------------------------------------------------------------------------------- /lib/src/coll/map_priv.h: -------------------------------------------------------------------------------- 1 | #ifndef __MAP_PRIV_H_ 2 | #define __MAP_PRIV_H_ 3 | 4 | #include 5 | 6 | struct map_s { 7 | sos_t sos; 8 | sos_schema_t schema; 9 | sos_attr_t src_attr; 10 | sos_attr_t tgt_attr; 11 | sos_iter_t src_iter; 12 | sos_iter_t tgt_iter; 13 | }; 14 | 15 | #endif 16 | -------------------------------------------------------------------------------- /lib/src/mmalloc/Makefile.am: -------------------------------------------------------------------------------- 1 | lib_LTLIBRARIES = 2 | 3 | AM_CFLAGS = -I$(srcdir)/../ -I$(top_srcdir) -I.. 4 | 5 | if ENABLE_MMALLOC 6 | libmmalloc_la_SOURCES = mmalloc.c mmalloc.h 7 | libmmalloc_la_LIBADD = ../coll/libcoll.la 8 | libmmallocinclude_HEADERS = mmalloc.h 9 | libmmallocincludedir = $(includedir)/mmalloc 10 | libmmalloc_conf = /etc/ld.so.conf.d/libmmalloc.conf 11 | lib_LTLIBRARIES += libmmalloc.la 12 | endif 13 | -------------------------------------------------------------------------------- /lib/src/ovis-lib-configvars.sh.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # use of this file is deprecated. 3 | # it will disappear by version 5 4 | # only ovis-ldms-configvars.sh is used now. 5 | -------------------------------------------------------------------------------- /lib/src/ovis-test/test.h: -------------------------------------------------------------------------------- 1 | #ifndef __TEST_H__ 2 | #define __TEST_H__ 3 | 4 | #include 5 | #include 6 | 7 | static inline void TEST_ASSERT(int cond, char *fmt, ...) 8 | { 9 | va_list ap; 10 | va_start(ap, fmt); 11 | if (cond) 12 | printf("PASS -- "); 13 | else 14 | printf("FAIL -- "); 15 | vprintf(fmt, ap); 16 | va_end(ap); 17 | } 18 | 19 | #endif 20 | -------------------------------------------------------------------------------- /lib/src/ovis_auth/.gitignore: -------------------------------------------------------------------------------- 1 | /ovis-auth.sh 2 | -------------------------------------------------------------------------------- /lib/src/ovis_auth/Makefile.am: -------------------------------------------------------------------------------- 1 | lib_LTLIBRARIES = 2 | 3 | AM_CFLAGS = -I$(srcdir)/../ -I.. 4 | 5 | libovis_auth_la_SOURCES = auth.c auth.h 6 | libovis_authinclude_HEADERS = auth.h 7 | libovis_authincludedir = $(includedir)/ovis_auth 8 | libovis_auth_conf = /etc/ld.so.conf.d/libovis_auth.conf 9 | libovis_auth_la_LIBADD = @LDFLAGS_GETTIME@ @OPENSSL_LIBS@ 10 | lib_LTLIBRARIES += libovis_auth.la 11 | -------------------------------------------------------------------------------- /lib/src/ovis_ctrl/Makefile.am: -------------------------------------------------------------------------------- 1 | lib_LTLIBRARIES = 2 | 3 | AM_CFLAGS = -I$(srcdir)/../ -I$(top_srcdir) -I.. 4 | 5 | if ENABLE_OVIS_CTRL 6 | libovis_ctrl_la_SOURCES = ctrl.c ctrl.h 7 | libovis_ctrl_la_LIBADD = ../ovis_util/libovis_util.la 8 | libovis_ctrlinclude_HEADERS = ctrl.h 9 | libovis_ctrlincludedir = $(includedir)/ovis_ctrl 10 | libovis_ctrl_conf = /etc/ld.so.conf.d/libovis_ctrl.conf 11 | lib_LTLIBRARIES += libovis_ctrl.la 12 | endif 13 | -------------------------------------------------------------------------------- /lib/src/ovis_ev/Makefile.am: -------------------------------------------------------------------------------- 1 | SUBDIRS = 2 | lib_LTLIBRARIES = 3 | 4 | AM_CFLAGS = -I$(srcdir) -I$(srcdir)/.. 5 | AM_LDFLAGS = -L$(builddir) -pthread 6 | 7 | libovis_evincludedir = $(includedir)/ovis_ev 8 | libovis_evinclude_HEADERS = ev.h 9 | 10 | libovis_ev_la_SOURCES = ev.c evw.c ev_priv.h 11 | libovis_ev_la_CFLAGS = $(AM_CFLAGS) 12 | libovis_ev_la_LIBADD = -lc ../coll/libcoll.la 13 | lib_LTLIBRARIES += libovis_ev.la 14 | 15 | if ENABLE_OVIS_EV_TEST 16 | ovis_ev_test_SOURCES = ovis_ev_test.c 17 | ovis_ev_test_CFLAGS = $(AM_CFLAGS) 18 | ovis_ev_test_LDADD = libovis_ev.la 19 | ovis_ev_test_LDFLAGS = $(AM_LDFLAGS) 20 | sbin_PROGRAMS = ovis_ev_test 21 | endif 22 | -------------------------------------------------------------------------------- /lib/src/ovis_json/.gitignore: -------------------------------------------------------------------------------- 1 | /ovis_json_lexer.c 2 | /ovis_json_parser.c 3 | /ovis_json_parser.h 4 | /ovis_json_test 5 | /ovis_json_perf_test 6 | -------------------------------------------------------------------------------- /lib/src/ovis_json/input/ovis_json_perf_test.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | tmp=$(mktemp -t $USER.ovis_json_perf_test.XXXXXX) 3 | $BIN/ovis_json_perf_test 100000 > $tmp 4 | #valgrind -v --track-origins=yes $BIN/ovis_json_perf_test 100 > $tmp 5 | if ! test -f $tmp; then 6 | echo "ERROR: no output file $tmp" 7 | exit 1 8 | fi 9 | st=$(cat $tmp |grep "sprintf time" |sed -e 's/.* //g') 10 | je=$(cat $tmp |grep "elements time" |sed -e 's/.* //g') 11 | jb=$(cat $tmp |grep "fmt time" |sed -e 's/.* //g') 12 | eslowdown=$(echo "scale=2;$je/$st" |bc) 13 | bslowdown=$(echo "scale=2;$jb/$st" |bc) 14 | echo elements/sprintf duration ratio is $eslowdown 15 | echo bulkfmt/sprintf duration ratio is $bslowdown 16 | -------------------------------------------------------------------------------- /lib/src/ovis_log/Makefile.am: -------------------------------------------------------------------------------- 1 | lib_LTLIBRARIES = 2 | 3 | AM_CFLAGS = -I$(srcdir) -I$(srcdir)/.. 4 | 5 | libovis_logincludedir = $(includedir)/ovis_log 6 | libovis_loginclude_HEADERS = ovis_log.h 7 | 8 | libovis_log_la_SOURCES = ovis_log.c ovis_log.h 9 | libovis_log_la_LIBADD = ../ovis_ev/libovis_ev.la \ 10 | ../ovis_util/libovis_util.la 11 | lib_LTLIBRARIES += libovis_log.la 12 | -------------------------------------------------------------------------------- /lib/src/ovis_ref/Makefile.am: -------------------------------------------------------------------------------- 1 | SUBDIRS = 2 | lib_LTLIBRARIES = 3 | 4 | AM_CFLAGS = -I$(srcdir) -I$(srcdir)/.. 5 | AM_LDFLAGS = -L$(builddir) 6 | 7 | libovis_refincludedir = $(includedir)/ovis_ref 8 | libovis_refinclude_HEADERS = ref.h 9 | -------------------------------------------------------------------------------- /lib/src/ovis_thrstats/Makefile.am: -------------------------------------------------------------------------------- 1 | lib_LTLIBRARIES = 2 | 3 | AM_CFLAGS = -I$(srcdir) -I$(srcdir)/.. 4 | 5 | libovis_thrstatsincludedir = $(includedir)/ovis_thrstats 6 | libovis_thrstatsinclude_HEADERS = ovis_thrstats.h 7 | 8 | libovis_thrstats_la_SOURCES = ovis_thrstats.c ovis_thrstats.h 9 | libovis_thrstats_la_LIBADD = ../ovis_log/libovis_log.la \ 10 | -lpthread 11 | lib_LTLIBRARIES += libovis_thrstats.la 12 | -------------------------------------------------------------------------------- /lib/src/ovis_util/.gitignore: -------------------------------------------------------------------------------- 1 | /test_big_dstring 2 | /test_dstring 3 | /test_notification 4 | /test_olog 5 | /test_util 6 | -------------------------------------------------------------------------------- /lib/src/third/b62encode-test.c: -------------------------------------------------------------------------------- 1 | #include "b62encode.h" 2 | #include 3 | #include 4 | #include 5 | #include 6 | int main() { 7 | uint64_t big = UINT64_MAX; 8 | char *out = malloc(64); 9 | int k; 10 | for (k = 0; k<8 ; k++) { 11 | memset(out,0,64); 12 | int sz = b62_encode( out, (unsigned char *)&big, sizeof(big)-k); 13 | printf("%d %s\n",sz, out); 14 | } 15 | free(out); 16 | return 0; 17 | } 18 | -------------------------------------------------------------------------------- /lib/src/third/b62encode.h: -------------------------------------------------------------------------------- 1 | #ifndef b62_encode_h 2 | #define b62_encode_h 3 | /** encode an array of bytes data of length into out, which the user 4 | must size large enough (approximately 1.4*length). 5 | */ 6 | extern int b62_encode(char* out, const unsigned char* data, int length); 7 | #endif 8 | -------------------------------------------------------------------------------- /lib/src/third/city-README.md: -------------------------------------------------------------------------------- 1 | cityhash-c 2 | ========== 3 | 4 | gcc city.c city-test.c -o city-test -msse4.2 5 | 6 | To omit seeded and 128/256 function versions, compile with -DCITYSLIM 7 | -------------------------------------------------------------------------------- /lib/src/zap/Makefile.am: -------------------------------------------------------------------------------- 1 | SUBDIRS = . 2 | 3 | if ENABLE_RDMA 4 | SUBDIRS += rdma 5 | endif 6 | 7 | if HAVE_LIBFABRIC 8 | SUBDIRS += fabric 9 | endif 10 | 11 | if ENABLE_SOCK 12 | SUBDIRS += sock 13 | endif 14 | 15 | if ENABLE_UGNI 16 | SUBDIRS += ugni 17 | endif 18 | 19 | if ENABLE_ZAPTEST 20 | SUBDIRS += test 21 | endif 22 | 23 | AM_CPPFLAGS = @OVIS_INCLUDE_ABS@ 24 | AM_CFLAGS = -DPLUGINDIR='"$(pkglibdir)"' 25 | libzap_la_SOURCES = zap.c zap_priv.h 26 | libzap_la_LIBADD = ../ovis_log/libovis_log.la \ 27 | ../ovis_thrstats/libovis_thrstats.la \ 28 | -ldl -lpthread 29 | libzapincludedir = $(includedir)/zap 30 | libzapinclude_HEADERS = zap.h 31 | 32 | lib_LTLIBRARIES = libzap.la 33 | -------------------------------------------------------------------------------- /lib/src/zap/fabric/Makefile.am: -------------------------------------------------------------------------------- 1 | pkglib_LTLIBRARIES = libzap_fabric.la 2 | 3 | AM_CFLAGS = -I$(srcdir)/../.. -I$(srcdir)/.. -I$(top_srcdir) -I../.. 4 | 5 | libzap_fabric_la_SOURCES = zap_fabric.c zap_fabric.h 6 | libzap_fabric_la_CFLAGS = @LIBFABRIC_CFLAGS@ $(AM_CFLAGS) 7 | libzap_fabric_la_LIBADD = -lfabric @LIBFABRIC_LDFLAGS@ ../libzap.la \ 8 | ../../ovis_log/libovis_log.la 9 | -------------------------------------------------------------------------------- /lib/src/zap/rdma/Makefile.am: -------------------------------------------------------------------------------- 1 | pkglib_LTLIBRARIES = libzap_rdma.la 2 | 3 | AM_CFLAGS = -I$(srcdir)/../.. -I$(srcdir)/.. -I$(top_srcdir) -I../.. 4 | 5 | libzap_rdma_la_SOURCES = zap_rdma.c zap_rdma.h 6 | libzap_rdma_la_CFLAGS = @LIBIBVERBS_INCDIR_FLAG@ @LIBRDMACM_INCDIR_FLAG@ ${AM_CFLAGS} 7 | libzap_rdma_la_LIBADD = -libverbs -lrdmacm -lpthread \ 8 | ../libzap.la ../../coll/libcoll.la \ 9 | ../../ovis_log/libovis_log.la \ 10 | @LIBIBVERBS_LIBDIR_FLAG@ @LIBIBVERBS_LIB64DIR_FLAG@ \ 11 | @LIBRDMACM_LIBDIR_FLAG@ @LIBRDMACM_LIB64DIR_FLAG@ 12 | -------------------------------------------------------------------------------- /lib/src/zap/sock/Makefile.am: -------------------------------------------------------------------------------- 1 | pkglib_LTLIBRARIES = libzap_sock.la 2 | 3 | AM_CFLAGS = -I$(srcdir)/../.. -I$(srcdir)/.. -I$(top_srcdir) -I../.. 4 | 5 | libzap_sock_la_SOURCES = zap_sock.c zap_sock.h 6 | libzap_sock_la_CFLAGS = $(AM_CFLAGS) 7 | libzap_sock_la_LIBADD = ../libzap.la ../../coll/libcoll.la ../../ovis_event/libovis_event.la ../../ovis_log/libovis_log.la 8 | libzap_sock_la_LDFLAGS = $(AM_LDFLAGS) -pthread 9 | -------------------------------------------------------------------------------- /lib/src/zap/ugni/Makefile.am: -------------------------------------------------------------------------------- 1 | pkglib_LTLIBRARIES = libzap_ugni.la 2 | 3 | AM_CFLAGS = -I$(srcdir)/../ -I$(srcdir)/../../ -I../.. 4 | 5 | # UGNI_CLFAGS and UGNI_LIBS are set by PKG_CHECK_MODULES in configure.ac 6 | 7 | libzap_ugni_la_SOURCES = zap_ugni.c zap_ugni.h 8 | libzap_ugni_la_CFLAGS = $(AM_CFLAGS) $(UGNI_CFLAGS) $(RCA_CFLAGS) 9 | libzap_ugni_la_LIBADD = ../libzap.la \ 10 | ../../coll/libcoll.la \ 11 | ../../ovis_event/libovis_event.la \ 12 | ../../ovis_log/libovis_log.la 13 | libzap_ugni_la_LDFLAGS = $(UGNI_LIBS) $(RCA_LIBS) 14 | -------------------------------------------------------------------------------- /m4/Ovis-top.m4: -------------------------------------------------------------------------------- 1 | dnl This file uniquely identifies the top of a nested tree 2 | dnl of ovis products built with autoconf. 3 | dnl 4 | dnl It should never by symbolically linked or copied into any subproject's 5 | dnl m4/ directory. 6 | -------------------------------------------------------------------------------- /m4/verbs_enum_check.m4: -------------------------------------------------------------------------------- 1 | AC_DEFUN([IBVERBS_ENUM_CHECK], 2 | [# Check for enum elements IBV_WC_T* 3 | AC_LANG_PUSH([C])dnl 4 | AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ 5 | #include "stdlib.h" 6 | #include "infiniband/verbs.h" 7 | int check_enum(int i) { 8 | switch(i) { 9 | case IBV_WC_TSO: 10 | case IBV_WC_TM_ADD: 11 | case IBV_WC_TM_DEL: 12 | case IBV_WC_TM_SYNC: 13 | case IBV_WC_TM_RECV: 14 | case IBV_WC_TM_NO_TAG: 15 | break; 16 | default: 17 | break; 18 | } 19 | return 0; 20 | } 21 | ]])], [$1=1], [$1=0]) 22 | AC_LANG_POP([C])dnl 23 | ]) 24 | -------------------------------------------------------------------------------- /util/Makefile.am: -------------------------------------------------------------------------------- 1 | EXTRA_DIST= nola.sh 2 | SUBDIRS= relocation 3 | -------------------------------------------------------------------------------- /util/aries/mmr_reader/function_store/README: -------------------------------------------------------------------------------- 1 | function_store_config generator has been obviated by the combined sampler 2 | and function store configuration generator in split_config -------------------------------------------------------------------------------- /util/aries/mmr_reader/function_store/header.pl: -------------------------------------------------------------------------------- 1 | #!/usr/bin/perl 2 | 3 | # cat XXX.HEADER | ./header.pl 4 | # awk -F "," '{print $1 $6}' /home/XXX.dat 5 | 6 | $cmp = $ARGV[0]; 7 | #print "<$cmp>\n"; 8 | while(){ 9 | chomp; 10 | $line = $_; 11 | @vals = split(/, /, $line); 12 | for ($i = 0; $i < scalar(@vals); $i++){ 13 | # print "comp <$vals[$i]>\n"; 14 | if ($vals[$i] =~ /$cmp/){ 15 | $j = $i+1; # increment before because awk commands will start with col 1 16 | print "$vals[$i] $j\n"; 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /util/aries/mmr_reader/standalone/README: -------------------------------------------------------------------------------- 1 | About: 2 | ====== 3 | 4 | 1) main_gpcd.c 5 | 6 | A utility code that reads specified mmr counters. 7 | NOTE that libgpcd is not released, you will need to have access to this in order to use this code. 8 | -------------------------------------------------------------------------------- /util/cray_specific/ovis/fail_over_scripts/fail-over.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | source /home/brandt/ldms_sample_scripts/ldms_env 4 | 5 | sockname=/tmp/run/ldmsd/ldmsd_sock 6 | cfg=/tmp/opt/ovis/agg_conf/$1 7 | 8 | ldmsd_controller --sockname ${sockname} --source ${cfg} 9 | -------------------------------------------------------------------------------- /util/cray_specific/ovis/trivial/agg_trivial.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | HOSTFILE=/tmp/opt/ovis/trivial/sampler_hosts 4 | 5 | test -s $HOSTFILE || exit 1 6 | 7 | while read hostname 8 | do 9 | echo "prdcr_add name=$hostname host=$hostname port=411 xprt=ugni type=active interval=20000000" 10 | echo "prdcr_start name=$hostname" 11 | done < $HOSTFILE 12 | echo "updtr_add name=foo interval=1000000 offset=100000" 13 | echo "updtr_prdcr_add name=foo regex=nid*" 14 | echo "updtr_start name=foo" 15 | 16 | -------------------------------------------------------------------------------- /util/cray_specific/ovis/trivial/sampler_hosts: -------------------------------------------------------------------------------- 1 | nid00012 2 | nid00013 3 | nid00014 4 | nid00015 5 | nid00016 6 | nid00017 7 | nid00018 8 | nid00019 9 | -------------------------------------------------------------------------------- /util/gemini/check_fma.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | cat /sys/class/gni/kgni0/resources 4 | -------------------------------------------------------------------------------- /util/gemini/gpcdr/README.gpcdr: -------------------------------------------------------------------------------- 1 | # As root: 2 | #Set environment variable GPCDRINIT_CONF to point to desired gpcdr config file 3 | 4 | export GPCDRINIT_CONF=/u/vendor/SNL/brandt/Source/OVIS/util/gemini/gpcdr/gpcdr-init_ldms.conf 5 | 6 | # Remove nic and link metrics 7 | /opt/cray/gni-gpcdr-utils/1.0-1.0402.7841.4.25.gem/sbin/gpcdr-ctl -M nic -D 8 | /opt/cray/gni-gpcdr-utils/1.0-1.0402.7841.4.25.gem/sbin/gpcdr-ctl -M links -D 9 | 10 | # Instantiate metrics as per gpcdr-init_ldms.conf 11 | /opt/cray/gni-gpcdr-utils/1.0-1.0402.7841.4.25.gem/sbin/gpcdr-init 12 | -------------------------------------------------------------------------------- /util/nola.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # use the la files found under the current dir to delete those under $prefix/lib 3 | prefix=$1 4 | files=`find . -name '*.la'` 5 | if ! test -d $1; then 6 | echo "target dir not found" 7 | exit 1 8 | fi 9 | x="" 10 | for i in $files; do 11 | j=`basename $i` 12 | find $1 -name $j -print -exec /bin/rm {} \; 13 | done 14 | -------------------------------------------------------------------------------- /util/nomagic.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | if ! test -f ldms/src/core/ldms.h; then 3 | echo 'run from source tree top' 4 | exit 1 5 | fi 6 | targets="ldms/src lib/src" 7 | filter="grep -v configure |grep -v make " 8 | for i in 65536 32768 16384 8192 4096 2048 1024 512 256 126 64 32 16; do 9 | fgrep -rn \[${i}\] $targets | grep -v config |grep -v Make 10 | done 11 | -------------------------------------------------------------------------------- /util/relocation/.gitignore: -------------------------------------------------------------------------------- 1 | /bld_manifest.sh 2 | /relocate-paths.sh 3 | -------------------------------------------------------------------------------- /util/relocation/Makefile.am: -------------------------------------------------------------------------------- 1 | 2 | docdir = $(datadir)/doc/@PACKAGE@/relocation 3 | 4 | doc_DATA = bld_manifest.sh relocate-paths.sh 5 | dist_doc_DATA = target_locations unroll_rpms.sh 6 | -------------------------------------------------------------------------------- /util/relocation/target_locations: -------------------------------------------------------------------------------- 1 | USR 2 | ETC 3 | VAR 4 | --------------------------------------------------------------------------------