Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 40331 - atsar_linux-1.6.ebuild [New Package]
Summary: atsar_linux-1.6.ebuild [New Package]
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Daniel Black (RETIRED)
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2004-02-03 17:28 UTC by Diego Garcia
Modified: 2005-01-25 12:35 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
astar_linux-1.6.ebuild (atsar_linux-1.6.ebuild,680 bytes, text/plain)
2004-02-03 17:30 UTC, Diego Garcia
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Garcia 2004-02-03 17:28:38 UTC
hi
ebuild attached

Description:
Atsar can be used to measure the load on the most relevant system-resources,
such as CPU, disk, memory and network.
Long-term analysis can be done via cron, by maintaining log-files with
statistical information.
Short-term analysis can be done by starting the command atsar with an
interval and a number of samples.

Suggest: sys-apps/astar_linux or perhaps sys_apps/astar
Comment 1 Diego Garcia 2004-02-03 17:30:00 UTC
Created attachment 24912 [details]
astar_linux-1.6.ebuild
Comment 2 Luke Schierer 2004-09-09 10:19:03 UTC
as this is used by the ltp (ltp.sf.net), it would be very nice to see this go in & become available. 
Comment 3 SpanKY gentoo-dev 2005-01-09 21:15:44 UTC
if it's needed by ltp then perhaps dragonheart is interested
Comment 4 Daniel Black (RETIRED) gentoo-dev 2005-01-24 05:35:45 UTC
Diego - you really didn't test this did you?

It's a redhat init script.
The init script, cron job and other scripts refer to programs in /usr/local/bin

Please attach a init script and check the other scripts are of some use.

The ebuild cause bugz isn't letting me attach stuff.
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit toolchain-funcs

MY_P=${PN}_linux-${PV}
DESCRIPTION="Load Analysis on the most relevant system-resources"
SRC_URI="ftp://ftp.atcomputing.nl/pub/tools/linux/${MY_P}.tar.gz"
HOMEPAGE="http://www.atcomputing.nl"
LICENSE="GPL-2"
SLOT="0"
DEPEND=""
KEYWORDS="x86"
S=${WORKDIR}/${MY_P}

src_unpack() {
        sed -i -e "s/cc -o/$(tc-getCC) -o/" -e  "s:/usr/local/:/usr:g" Makefile */Makefile
        sed -i -e "s:/usr/local/:/usr:g" -e "s:^:#:g" atsar_linux.cron
        sed -i -e "s:/usr/local/:/usr:g" scripts/*
}

src_compile() {
        emake || die
}

src_install ()  {
        dodir /var/log/atsar
        doman man/*
        into /usr
        dobin atsar/atsar atsadc/atsadc
        dobin scripts/*
        newinitd ${FILESDIR}/atsar_linux.init atsar
        newcrond atsar_linux.cron atsar
        insinto /etc ; newins atsar_linux.conf atsar.conf
        dodoc README
}
Comment 5 Daniel Black (RETIRED) gentoo-dev 2005-01-25 12:35:25 UTC
reopen when info is attached.