BSD Ports

devel/libstatgrab 0.92.1_1 FreeBSD

Provides a useful interface to system statistics

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
LGPL21
Categories
devel
Package size
124.2 KiB, 613.2 KiB installed

Description

The libstatgrab library provides an easy to use interface for accessing system statistics and information. Available statistics include CPU, Load, Memory, Swap, Disk I/O, and Network I/O.

Also part of the package are two tools; saidar provides a curses-based interface to viewing live system statistics, and statgrab is a sysctl-like interface to the statistics.

In the other systems

SystemPortVersion
FreeBSDdevel/libstatgrab0.92.1_1
OpenBSDsysutils/libstatgrab0.91p5
NetBSDdevel/libstatgrab0.92.1
DragonFlydevel/libstatgrab0.92.1_1
MidnightBSDdevel/libstatgrab0.92.1_1

Install

Binary package:

pkg install libstatgrab

From the ports tree:

cd /usr/ports/devel/libstatgrab/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	libstatgrab>0:devel/libstatgrab
LIB_DEPENDS=	libstatgrab.so:devel/libstatgrab

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.92.1_10.92.1_10.92.10.92.1_10.92.1_1
FreeBSD:14:quarterly0.92.1_10.92.1_1n/a0.92.1_10.92.1_1
FreeBSD:15:latest0.92.1_10.92.1_1n/a0.92.1_10.92.1_1
FreeBSD:15:quarterly0.92.1_10.92.1_1n/an/an/a
FreeBSD:16:latest0.92.1_10.92.1_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 2
Run dependencies 1

Configuration

Options name: devel_libstatgrab

OptionDefaultDescription
DOCSoffBuild and/or install documentation
TOOLSonBuild and install statgrab and saidar
USES
pathfix pkgconfig libtool
Service scripts
none

Files

Manual pages 107
  • libstatgrab(3)
  • saidar(1)
  • sg_clear_error(3)
  • sg_comp_destroy(3)
  • sg_comp_get_tls(3)
  • sg_comp_init(3)
  • sg_disk_io_compare_name(3)
  • sg_disk_io_compare_traffic(3)
  • sg_drop_privileges(3)
  • sg_free_cpu_stats(3)
  • sg_free_disk_io_stats(3)
  • sg_free_fs_stats(3)
  • sg_free_host_info(3)
  • sg_free_load_stats(3)
  • sg_free_mem_stats(3)
  • sg_free_network_iface_stats(3)
  • sg_free_network_io_stats(3)
  • sg_free_page_stats(3)
  • sg_free_process_count(3)
  • sg_free_stats_buf(3)
  • sg_free_swap_stats(3)
  • sg_free_user_stats(3)
  • sg_fs_compare_device_name(3)
  • sg_fs_compare_mnt_point(3)
  • sg_get_cpu_percents(3)
  • sg_get_cpu_percents_of(3)
  • sg_get_cpu_percents_r(3)
  • sg_get_cpu_stats(3)
  • sg_get_cpu_stats_diff(3)
  • sg_get_cpu_stats_diff_between(3)
  • sg_get_cpu_stats_r(3)
  • sg_get_disk_io_stats(3)
  • sg_get_disk_io_stats_diff(3)
  • sg_get_disk_io_stats_diff_between(3)
  • sg_get_disk_io_stats_r(3)
  • sg_get_error(3)
  • sg_get_error_arg(3)
  • sg_get_error_details(3)
  • sg_get_error_errno(3)
  • sg_get_fs_stats(3)
  • sg_get_fs_stats_diff(3)
  • sg_get_fs_stats_diff_between(3)
  • sg_get_fs_stats_r(3)
  • sg_get_host_info(3)
  • sg_get_host_info_r(3)
  • sg_get_load_stats(3)
  • sg_get_load_stats_r(3)
  • sg_get_mem_stats(3)
  • sg_get_mem_stats_r(3)
  • sg_get_nelements(3)
  • sg_get_network_iface_stats(3)
  • sg_get_network_iface_stats_r(3)
  • sg_get_network_io_stats(3)
  • sg_get_network_io_stats_diff(3)
  • sg_get_network_io_stats_diff_between(3)
  • sg_get_network_io_stats_r(3)
  • sg_get_page_stats(3)
  • sg_get_page_stats_diff(3)
  • sg_get_page_stats_diff_between(3)
  • sg_get_page_stats_r(3)
  • sg_get_process_count(3)
  • sg_get_process_count_of(3)
  • sg_get_process_count_r(3)
  • sg_get_process_stats(3)
  • sg_get_process_stats_r(3)
  • sg_get_swap_stats(3)
  • sg_get_swap_stats_r(3)
  • sg_get_user_stats(3)
  • sg_get_user_stats_r(3)
  • sg_get_valid_filesystems(3)
  • sg_global_lock(3)
  • sg_global_unlock(3)
  • sg_init(3)
  • sg_internal-intro(3)
  • sg_intro(3)
  • sg_lock_mutex(3)
  • sg_network_iface_compare_name(3)
  • sg_network_io_compare_name(3)
  • sg_process_compare_cpu(3)
  • sg_process_compare_gid(3)
  • sg_process_compare_name(3)
  • sg_process_compare_pid(3)
  • sg_process_compare_res(3)
  • sg_process_compare_size(3)
  • sg_process_compare_time(3)
  • sg_process_compare_uid(3)
  • sg_prove_vector(3)
  • sg_set_error(3)
  • sg_set_error_with_errno(3)
  • sg_set_error_with_errno_code(3)
  • sg_set_valid_filesystems(3)
  • sg_shutdown(3)
  • sg_snapshot(3)
  • sg_str_error(3)
  • sg_strperror(3)
  • sg_unlock_mutex(3)
  • sg_vector_clear(3)
  • sg_vector_clone(3)
  • sg_vector_clone_into(3)
  • sg_vector_compute_diff(3)
  • sg_vector_create(3)
  • sg_vector_free(3)
  • sg_vector_resize(3)
  • statgrab(1)
  • statgrab(3)
  • statgrab-make-mrtg-config(1)
  • statgrab-make-mrtg-index(1)
pkg-plist 123
  • bin/saidar
  • bin/statgrab
  • bin/statgrab-make-mrtg-config
  • bin/statgrab-make-mrtg-index
  • include/statgrab.h
  • lib/libstatgrab.a
  • lib/libstatgrab.so
  • lib/libstatgrab.so.10
  • lib/libstatgrab.so.10.0.2
  • libdata/pkgconfig/libstatgrab.pc
  • share/man/man1/saidar.1.gz
  • share/man/man1/statgrab-make-mrtg-config.1.gz
  • share/man/man1/statgrab-make-mrtg-index.1.gz
  • share/man/man1/statgrab.1.gz
  • share/man/man3/libstatgrab.3.gz
  • share/man/man3/sg_clear_error.3.gz
  • share/man/man3/sg_comp_destroy.3.gz
  • share/man/man3/sg_comp_get_tls.3.gz
  • share/man/man3/sg_comp_init.3.gz
  • share/man/man3/sg_disk_io_compare_name.3.gz
  • share/man/man3/sg_disk_io_compare_traffic.3.gz
  • share/man/man3/sg_drop_privileges.3.gz
  • share/man/man3/sg_free_cpu_stats.3.gz
  • share/man/man3/sg_free_disk_io_stats.3.gz
  • share/man/man3/sg_free_fs_stats.3.gz
  • share/man/man3/sg_free_host_info.3.gz
  • share/man/man3/sg_free_load_stats.3.gz
  • share/man/man3/sg_free_mem_stats.3.gz
  • share/man/man3/sg_free_network_iface_stats.3.gz
  • share/man/man3/sg_free_network_io_stats.3.gz
  • share/man/man3/sg_free_page_stats.3.gz
  • share/man/man3/sg_free_process_count.3.gz
  • share/man/man3/sg_free_stats_buf.3.gz
  • share/man/man3/sg_free_swap_stats.3.gz
  • share/man/man3/sg_free_user_stats.3.gz
  • share/man/man3/sg_fs_compare_device_name.3.gz
  • share/man/man3/sg_fs_compare_mnt_point.3.gz
  • share/man/man3/sg_get_cpu_percents.3.gz
  • share/man/man3/sg_get_cpu_percents_of.3.gz
  • share/man/man3/sg_get_cpu_percents_r.3.gz
  • share/man/man3/sg_get_cpu_stats.3.gz
  • share/man/man3/sg_get_cpu_stats_diff.3.gz
  • share/man/man3/sg_get_cpu_stats_diff_between.3.gz
  • share/man/man3/sg_get_cpu_stats_r.3.gz
  • share/man/man3/sg_get_disk_io_stats.3.gz
  • share/man/man3/sg_get_disk_io_stats_diff.3.gz
  • share/man/man3/sg_get_disk_io_stats_diff_between.3.gz
  • share/man/man3/sg_get_disk_io_stats_r.3.gz
  • share/man/man3/sg_get_error.3.gz
  • share/man/man3/sg_get_error_arg.3.gz
  • share/man/man3/sg_get_error_details.3.gz
  • share/man/man3/sg_get_error_errno.3.gz
  • share/man/man3/sg_get_fs_stats.3.gz
  • share/man/man3/sg_get_fs_stats_diff.3.gz
  • share/man/man3/sg_get_fs_stats_diff_between.3.gz
  • share/man/man3/sg_get_fs_stats_r.3.gz
  • share/man/man3/sg_get_host_info.3.gz
  • share/man/man3/sg_get_host_info_r.3.gz
  • share/man/man3/sg_get_load_stats.3.gz
  • share/man/man3/sg_get_load_stats_r.3.gz
  • share/man/man3/sg_get_mem_stats.3.gz
  • share/man/man3/sg_get_mem_stats_r.3.gz
  • share/man/man3/sg_get_nelements.3.gz
  • share/man/man3/sg_get_network_iface_stats.3.gz
  • share/man/man3/sg_get_network_iface_stats_r.3.gz
  • share/man/man3/sg_get_network_io_stats.3.gz
  • share/man/man3/sg_get_network_io_stats_diff.3.gz
  • share/man/man3/sg_get_network_io_stats_diff_between.3.gz
  • share/man/man3/sg_get_network_io_stats_r.3.gz
  • share/man/man3/sg_get_page_stats.3.gz
  • share/man/man3/sg_get_page_stats_diff.3.gz
  • share/man/man3/sg_get_page_stats_diff_between.3.gz
  • share/man/man3/sg_get_page_stats_r.3.gz
  • share/man/man3/sg_get_process_count.3.gz
  • share/man/man3/sg_get_process_count_of.3.gz
  • share/man/man3/sg_get_process_count_r.3.gz
  • share/man/man3/sg_get_process_stats.3.gz
  • share/man/man3/sg_get_process_stats_r.3.gz
  • share/man/man3/sg_get_swap_stats.3.gz
  • share/man/man3/sg_get_swap_stats_r.3.gz
  • share/man/man3/sg_get_user_stats.3.gz
  • share/man/man3/sg_get_user_stats_r.3.gz
  • share/man/man3/sg_get_valid_filesystems.3.gz
  • share/man/man3/sg_global_lock.3.gz
  • share/man/man3/sg_global_unlock.3.gz
  • share/man/man3/sg_init.3.gz
  • share/man/man3/sg_internal-intro.3.gz
  • share/man/man3/sg_intro.3.gz
  • share/man/man3/sg_lock_mutex.3.gz
  • share/man/man3/sg_network_iface_compare_name.3.gz
  • share/man/man3/sg_network_io_compare_name.3.gz
  • share/man/man3/sg_process_compare_cpu.3.gz
  • share/man/man3/sg_process_compare_gid.3.gz
  • share/man/man3/sg_process_compare_name.3.gz
  • share/man/man3/sg_process_compare_pid.3.gz
  • share/man/man3/sg_process_compare_res.3.gz
  • share/man/man3/sg_process_compare_size.3.gz
  • share/man/man3/sg_process_compare_time.3.gz
  • share/man/man3/sg_process_compare_uid.3.gz
  • share/man/man3/sg_prove_vector.3.gz

The first 100 are listed.

distinfo 1
FileSizeSHA256
libstatgrab-0.92.1.tar.gz8175315688aa4a685547d7174a8a373ea9d8ee927e766e3cc302bdee34523c2c5d6c11
Master sites 3
  • https://github.com/libstatgrab/libstatgrab/releases/download/LIBSTATGRAB_${PORTVERSION:S/./_/}/
  • http://ftp.mirrorservice.org/pub/i-scream/libstatgrab/
  • http://ftp.i-scream.org/pub/i-scream/libstatgrab/

Commit history 0

No commits in the history this site was built from.