import libstatgrab

libstatgrab is a library that provides cross platform access to
statistics about the system on which it's run.  It's written in C and
presents a selection of useful interfaces which can be used to access
key system statistics.  The current list of statistics includes CPU
usage, memory utilisation, disk usage, process counts, network traffic,
disk I/O, and more.

from William Yodlowsky (MAINTAINER)
with tweaks by me
This commit is contained in:
simon 2007-07-17 23:45:43 +00:00
parent 26bc9c8629
commit bedc094a6b
5 changed files with 79 additions and 0 deletions

View File

@ -0,0 +1,32 @@
# $OpenBSD: Makefile,v 1.1.1.1 2007/07/17 23:45:43 simon Exp $
COMMENT= system statistics gathering library
DISTNAME= libstatgrab-0.15
CATEGORIES= sysutils
HOMEPAGE= http://www.i-scream.org/libstatgrab/
MAINTAINER= William Yodlowsky <bsd@openbsd.rutgers.edu>
SHARED_LIBS= statgrab 0.0
# LGPL/GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c ncurses
MASTER_SITES= ftp://ftp.i-scream.org/pub/i-scream/libstatgrab/ \
ftp://ftp.uk.i-scream.org/pub/i-scream/libstatgrab/
USE_LIBTOOL= Yes
NO_REGRESS= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS+=--disable-setgid-binaries \
--disable-setuid-binaries \
--disable-deprecated
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (libstatgrab-0.15.tar.gz) = 0nOOzR3+kMSI/WsVFehIQQ==
RMD160 (libstatgrab-0.15.tar.gz) = 5+r3QWQSveVHXNw3jSHRaocUDOQ=
SHA1 (libstatgrab-0.15.tar.gz) = mwOJVPgr4CTutqlLkOTdSq5JA0M=
SHA256 (libstatgrab-0.15.tar.gz) = +Dvo+vaQmnlprwh7NvCUH/8y41J1hUQ4vaM4zFIo3g8=
SIZE (libstatgrab-0.15.tar.gz) = 457297

View File

@ -0,0 +1,6 @@
libstatgrab is a library that provides cross platform access to
statistics about the system on which it's run. It's written in C and
presents a selection of useful interfaces which can be used to access
key system statistics. The current list of statistics includes CPU
usage, memory utilisation, disk usage, process counts, network traffic,
disk I/O, and more.

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2007/07/17 23:45:43 simon Exp $
@lib lib/libstatgrab.so.${LIBstatgrab_VERSION}

View File

@ -0,0 +1,34 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2007/07/17 23:45:43 simon Exp $
%%SHARED%%
bin/saidar
bin/statgrab
bin/statgrab-make-mrtg-config
bin/statgrab-make-mrtg-index
include/statgrab.h
lib/libstatgrab.a
lib/libstatgrab.la
lib/pkgconfig/
lib/pkgconfig/libstatgrab.pc
@man man/man1/saidar.1
@man man/man1/statgrab-make-mrtg-config.1
@man man/man1/statgrab-make-mrtg-index.1
@man man/man1/statgrab.1
@man man/man3/sg_get_cpu_percents.3
@man man/man3/sg_get_cpu_stats.3
@man man/man3/sg_get_cpu_stats_diff.3
@man man/man3/sg_get_disk_io_stats.3
@man man/man3/sg_get_disk_io_stats_diff.3
@man man/man3/sg_get_fs_stats.3
@man man/man3/sg_get_host_info.3
@man man/man3/sg_get_load_stats.3
@man man/man3/sg_get_mem_stats.3
@man man/man3/sg_get_network_iface_stats.3
@man man/man3/sg_get_network_io_stats.3
@man man/man3/sg_get_network_io_stats_diff.3
@man man/man3/sg_get_page_stats.3
@man man/man3/sg_get_page_stats_diff.3
@man man/man3/sg_get_process_count.3
@man man/man3/sg_get_process_stats.3
@man man/man3/sg_get_swap_stats.3
@man man/man3/sg_get_user_stats.3
@man man/man3/statgrab.3