iadis
Sent: Wednesday, 12 October 2011 7:15 AM
To: Polytropon
Cc: FreeBSD Questions
Subject: Re: Turning system accounting data into money
On 10/11/2011 5:06 PM, Polytropon wrote:
> This is _not_ a spam message trying to sell something
> stupid to the list. I'm just searching for a soluti
that at some universities' CS-classes, it is
> required lecture. In that novel, user's departments where charged
> according to resources spent on the university's computers and the
> main figure was tasked to find out about a 0.75$ accounting error and
> found a hacker i
a "large system" was a multiuser UNIX box
the size of a refrigerator. For a long time it went away, as computer
time got "too cheap to meter," so a lot of the accounting tools that
exist in UNIX are a bit foreign to modern admins.
We're seeing a bit of a resurgence of t
ot;).
>
> Accidentally, I remembered history.
>
> So I thought: This funcitonality has been present on
> UNIX systems for many decades. But _how_ to use it? I
> know there's the command set for accounting, for example
> the "ac" command. But what does its output
ed history.
>
> So I thought: This funcitonality has been present on
> UNIX systems for many decades. But _how_ to use it? I
> know there's the command set for accounting, for example
> the "ac" command. But what does its output "total 7264.15"
> mean? Th
On Tue, 11 Oct 2011 23:14:44 +0300, Nikos Vassiliadis wrote:
> Yes, the builtin accounting facilities do most of the stuff you
> are interested in. Just add 'accounting_enable="YES"' in your
> /etc/rc.conf, run '/etc/rc.d/accounting start' and use sa to
>
stupid? I have _real_ customers intendedly
requesting that payment model (instead of "just pay
amount n Euro a month and do whatever you like").
Accidentally, I remembered history.
So I thought: This funcitonality has been present on
UNIX systems for many decades. But _how_ to use it? I
kno
y
requesting that payment model (instead of "just pay
amount n Euro a month and do whatever you like").
Accidentally, I remembered history.
So I thought: This funcitonality has been present on
UNIX systems for many decades. But _how_ to use it? I
know there's the command set for accounti
* Dan Nelson [2011-09-05 03:26 -0400]:
> Assuming you have accounting enabled in /etc/rc.conf, that's to be
> expected. Accounting is enabled on boot, disabled on shutdown, and
> cycled twice during /var/account/acct rotation at 3am. See
> /etc/rc.d/accounting and /etc/p
In the last episode (Sep 05), David J. Weller-Fahy said:
> I noticed today the following entries in my dmesg.
>
> #v+
> Accounting enabled
> Accounting disabled
> Accounting enabled
> Accounting disabled
> Accounting enabled
> Accounting disabled
> Accounting e
I noticed today the following entries in my dmesg.
#v+
Accounting enabled
Accounting disabled
Accounting enabled
Accounting disabled
Accounting enabled
Accounting disabled
Accounting enabled
#v-
The uname -a follows.
FreeBSD NAStie 9.0-BETA1 FreeBSD 9.0-BETA1 #0: Thu Jul 28 16:34:16 UTC 2011
On Sun, May 01, 2011 at 09:17:33AM -0400, Alejandro Imass wrote:
> > Doing login accounting:
> >total 726.98
> >aimass 508.96
> >cctun 216.80
> >cmm 0.84
> >delco
> Doing login accounting:
>total 726.98
>aimass 508.96
>cctun 216.80
>cmm 0.84
>delco0.37
>hugo 0.01
>
What do these numbers mean? Is it
e-mail to your relatives, colleagues, friends or any of
your contacts, if you feel that the program will benefit them.
Thank you for your time.
QUALITY DYNAMICS CONSULTANCY SDN BHD (Co. No. 620717-P)
(PSMB Reg. No: 0938) (MoF Reg. No: 357-02064214)
ACCOUNTING SKILLS FOR
ACCOUNT CLERKS AND
pany
RM 960.00 per participant
Group Discount : RM 1,010.00 per participant for a minimum of 2 participants
from the same company.
Standard : RM 1,060.00 per participant
Accounting Skills For Accounts Clerks & Assistants
(by MR. Thye Foot Leong)
(15– 16 June 2010)
(Holiday
pany
RM 960.00 per participant
Group Discount : RM 1,010.00 per participant for a minimum of 2 participants
from the same company.
Standard : RM 1,060.00 per participant
Accounting Skills For Accounts Clerks & Assistants
(by MR. Thye Foot Leong)
(15– 16 June 2010)
(Holiday
Hello.
I am trying to create an accounting daemon that would be more precise
than usual BSD system accounting. It should read the whole process
tree from time to time (say, every 10 seconds) and log changes in
usage of CPU, I/O operations and memory per process. After daemon
notices process exit
s for your answers. I examined 'ps' sources and decided
> to use kvm_getprocs() and rusage structure.
>
> I am trying to create a daemon that would report system accounting stats
> for every X seconds, let's say 10. 'sa' reports about terminated
> processe
I am trying to create a daemon that would report system accounting stats
for every X seconds, let's say 10. 'sa' reports about terminated
processes only, but it would be nice to have more detailed system usage
stats per user for a given time interval (i.e. last 10 seconds),
On Wed, 18 Nov 2009 20:18:08 +0300, cronfy wrote:
> Is it possible to find out how much a process have used CPU user
> time/system time/IO operations for now by it's pid? Like in sa, but for
> running process.
>
> Thanks in advance.
man procfs(5), specifically, the status file.
% cat /proc/21
In the last episode (Nov 18), cronfy said:
> Is it possible to find out how much a process have used CPU user
> time/system time/IO operations for now by it's pid? Like in sa, but for
> running process.
It's available to userland programs via the kern.proc.all syscall. it
returns an array of "st
Hello.
Is it possible to find out how much a process have used CPU user
time/system time/IO operations for now by it's pid? Like in sa, but for
running process.
Thanks in advance.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.
ot; to get the
> latest readings.
>
> That's all fair and well but I lose all that lovely accounting information
> upon reboot so how do I go about saving this? I've googled quite a bit to
> look for a solution but have found nothing useful so far, just unanswered
> posts
On 29 Jan 2009 , freebsd-questions-requ...@freebsd.org entreated
about
"freebsd-questions Digest, Vol 246, Issue 69":
> Date: Thu, 29 Jan 2009 14:47:51 +0200
> Subject: Saving pf state for accounting
>
> Hi guys,
>
> My server uses up tons of bandwidth every
On Thursday 29 January 2009 03:47:51 Gunther Mayer wrote:
> That's all fair and well but I lose all that lovely accounting
> information upon reboot so how do I go about saving this? I've googled
> quite a bit to look for a solution but have found nothing useful so far,
> ju
mple "pfctl
-sl" to get the latest readings.
That's all fair and well but I lose all that lovely accounting
information upon reboot so how do I go about saving this? I've googled
quite a bit to look for a solution but have found nothing useful so far,
just unanswered post
Dan Nelson wrote:
>> I only really see two options, neither of which I particularly like:
>> * Throw more disk at the problem (but given what I've seen, I don't
>> like the odds that within a month or two, I'll realize I didn't give
>> it
In the last episode (Aug 13), Christopher Cowart said:
> I'm playing a game of cat and mouse with process accounting and disk
> space. I built some boxes with 9GB /var partitions, rolled them into
> production, and after about 4 days of full load, /var filled up.
>
> Looking
he problem (but given what I've seen, I don't
>>> like the odds that within a month or two, I'll realize I didn't give
>>> it enough).
>>> * Turn off accounting on these boxes.
>>
>> * Rotate and compress more frequently; and st
th or two, I'll realize I didn't give
>> it enough).
>> * Turn off accounting on these boxes.
>
> * Rotate and compress more frequently; and store less history?
The compressed history amounts to nothing in comparison (1.5GB per file
as opposed to 17GB). I suppose I
In response to Christopher Cowart <[EMAIL PROTECTED]>:
> Hello,
>
> I'm playing a game of cat and mouse with process accounting and disk
> space. I built some boxes with 9GB /var partitions, rolled them into
> production, and after about 4 days of full load, /var fill
Hello,
I'm playing a game of cat and mouse with process accounting and disk
space. I built some boxes with 9GB /var partitions, rolled them into
production, and after about 4 days of full load, /var filled up.
Looking at the size of /var/account/acct{,.0}, and figuring I'd be
seeing a
hi together,
we're trying to setup system accounting with sa to get detailed
information which user takes how much cpu.
for any reason we'd like to have separate files like "sa_20080805_14"
for each hour we run process accounting and keep them as well.
but of course wh
renced under the see
> >> also section. I'm completely lost. Could anyone point me in the
> >> right direction?
> >>
> >> Here is a snippet of the output from the daily run output
> >>
> >> Rotating accounting logs and gathering stati
right direction?
Here is a snippet of the output from the daily run output
Rotating accounting logs and gathering statistics:
sa: converting user accounting stats: Inappropriate file type or format
sa: user accounting initialization failed
Are you intending to use the system accounting functi
on?
>
> Here is a snippet of the output from the daily run output
>
> Rotating accounting logs and gathering statistics:
> sa: converting user accounting stats: Inappropriate file type or format
> sa: user accounting initialization failed
Are you intending to use the system a
Rotating accounting logs and gathering statistics:
sa: converting user accounting stats: Inappropriate file type or format
sa: user accounting initialization failed
Thanks,
George
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.o
On 2006-11-06 15:51, Niek <[EMAIL PROTECTED]> wrote:
> Thanks, also to all others who answered this question.
> I found out that setting 'set loginterface ' in pf.conf makes it
> possible to get transfer statistics from pfctl -si. Maybe it is of
> interest for other beginners like me.
There is a
Thanks, also to all others who answered this question.
I found out that setting 'set loginterface ' in pf.conf makes it
possible to get transfer statistics from pfctl -si. Maybe it is of
interest for other beginners like me.
regds,
Niek
Philip Hallstrom wrote:
I would like to configure a m
Niek Dekker wrote:
Dear list,
I would like to configure a monthly report of the incoming and
outgoing amount of traffic on the network interface of my server, for
instance in the monthly run output.
Try argus.
http://qosient.com/argus/
___
freebsd-q
I would like to configure a monthly report of the incoming and
outgoing amount of traffic on the network interface of my server, for
instance in the monthly run output.
Can I do this with a built in program of FreeBSD 6.0 or do I need a port?
If you just wanted a total count and run ipfw (or an
В сообщении от Четверг 05 октября 2006 17:17 Niek Dekker написал(a):
> Dear list,
>
> I would like to configure a monthly report of the incoming and
> outgoing amount of traffic on the network interface of my server, for
> instance in the monthly run output.
>
> Can I do this with a built in progra
Dear list,
I would like to configure a monthly report of the incoming and
outgoing amount of traffic on the network interface of my server, for
instance in the monthly run output.
Can I do this with a built in program of FreeBSD 6.0 or do I need a port?
Niek
Philippe Lang wrote:
Hi,
Hi there,
Since there is no way (at least I know of) to limit RAM or CPU in a jail, is
there a way to monitor and do some accounting on jails CPU / RAM used?
You might want to take a look at login.conf.
(perhaps cputime, memoryuse, memorylocked and perhaps
accounting on jails CPU / RAM used?
Thanks,
--
Philippe Lang, Ing. Dipl. EPFL
Attik System
rte de la Fonderie 2
1700 Fribourg
Switzerland
http://www.attiksystem.ch
Tel: +41 (26) 422 13 75
Fax: +41 (26) 422 13 76
smime.p7s
Description: S/MIME cryptographic signature
Olga Zenkova <[EMAIL PROTECTED]> wrote:
> Hi, all.
>
> I gather cisco router ip statistics. This statistics
> is made weekly by the "ip accounting output-packets"
> of IOS. Is there any port to calculate this data?
Look into opensnmp.
--
Bill Mo
Hi, all.
I gather cisco router ip statistics. This statistics
is made weekly by the "ip accounting output-packets"
of IOS. Is there any port to calculate this data?
Thanks,
Olga
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the
On 3/6/06, Ensel Sharon <[EMAIL PROTECTED]> wrote:
>
>
> I am using the standard, stock FreeBSD ftpd, running out of inetd.
>
> Is there any way to keep track of how much ftp traffic is generated by
> each individual user ?
>
>
You could use ipfw to count the traffic to/from each user - something l
I really need to track ftp traffic on a per user
basis.
Is this possible with the freebsd built-in ftpd ? If
not, what is a good ftpd to use instead that has this
feature ?
Thanks a lot.
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best
At 03:49 PM 3/6/2006, Ensel Sharon wrote:
I am using the standard, stock FreeBSD ftpd, running out of inetd.
Is there any way to keep track of how much ftp traffic is generated
by each individual user ?
See man ftpd for the "-l" option. You can bump up the log level to
record file details.
I am using the standard, stock FreeBSD ftpd, running out of inetd.
Is there any way to keep track of how much ftp traffic is generated by
each individual user ?
I do not see it keeping track of anything except for ftp logins. I know I
can keep track of all ftp traffic in general with ipfw, bu
Hello,
In the sa(8) manpage, I can find that it prints out somewhat mysterious
values:
k CPU-time averaged core usage, in 1k units
k*sec CPU storage integral, in 1k-core seconds
How are these values calculated and what do they really tell me? I know
they're somehow related to th
On Sun, 27 Nov 2005, kvoznjuk wrote:
> Have network PS printer (Xerox), lan users have access to through
> FreeBSD lpd. I need get page quantity for every user. In mans I find
> refer to PAC, but dont understand how I must change PRINTCAP file for
> get statistic. Or it is wrong way? Help please.
Have network PS printer (Xerox), lan users have access to through FreeBSD lpd.
I need get page quantity for every user. In mans I find refer to PAC, but dont
understand how I must change PRINTCAP file for get statistic. Or it is wrong
way? Help please.
___
I notice that the traffic accounting per uid only applies to traffic
initiated by that user, and initiated from the local machine. If I scp a
I've looked a bit into this, and it appears that sshd changes uid in FreeBSD
6.0 (I use 6.0RC1) .. I bet upgrading the system would be a lot e
hanks - I was searching for username and getting nowhere. Also, thank
> you for the clarification regarding ipfw2/ipfw and their current state.
>
> I notice that the traffic accounting per uid only applies to traffic
> initiated by that user, and initiated from the local machine. If I scp
; some actions can certainly be logged to limited-
> access log files).
>
> Hassle-free solutions, i.e. complex accounting
> systems, come for money. Though, whatever
> problem you might have, I'm sure somehow that
> there's another way.
I am open to suggestions :) Basic
"uid" option.
>
>
> Thanks - I was searching for username and getting nowhere. Also, thank
> you for the clarification regarding ipfw2/ipfw and their current state.
>
> I notice that the traffic accounting per uid only applies to traffic
> initiated by that user, and
nting ?
> >
> > thanks.
>
> ipfw2 replaced ipfw in 5.x
>
> Read the manpage more carefully, please. Search
> for "uid" option.
Thanks - I was searching for username and getting nowhere. Also, thank
you for the clarification regarding ipfw2/ipfw and their curren
On 10/25/05, user <[EMAIL PROTECTED]> wrote:
>
> I remember that ipfw had been augmented some time ago to do traffic
> counting, etc., based on usernames ... but I see no mention of that in the
> ipfw man page on my 5.4-RELEASE system.
>
> Is this something that only exists in IPFW2 ? Does ipfw2 e
I remember that ipfw had been augmented some time ago to do traffic
counting, etc., based on usernames ... but I see no mention of that in the
ipfw man page on my 5.4-RELEASE system.
Is this something that only exists in IPFW2 ? Does ipfw2 even exist
anymore ?
Can someone clarify for me what is
Derrick MacPherson wrote:
I am going to pop a machine (bridged interfaces) in tween our LAN and
our firewall (pix) and am wanting to know what people would recommend
for IP accounting, it would be great to have a web based output to show
what traffic, from/to what hosts so the boss is happy to
--- Derrick MacPherson <[EMAIL PROTECTED]> wrote:
> > Are you searching for something that looks good or something more factual?
>
> Probably more pretty than extremely accurate. I've actually mirrored a
> port on the switch that's to our internet connection, and have ntop
> monitoring that. See
hat people would recommend
> > > for IP accounting, it would be great to have a web based output to show
> > > what traffic, from/to what hosts so the boss is happy to look at it.
>
> Are you searching for something that looks good or something more factual?
Probably more p
--- <[EMAIL PROTECTED]>Erik Nørgaard wrote:
> Derrick MacPherson wrote:
> > I am going to pop a machine (bridged interfaces) in tween our LAN and
> > our firewall (pix) and am wanting to know what people would recommend
> > for IP accounting, it would be great to have
U can use ipfw+ipa+mrtg
Can visit http://www.kruijff.org/ but for moment, probably, the author
make some changes.
Idea is that ipa read count traffic from ipfw rules, wich can be read
with scripts and generate traffic with mrtg.
___
freebsd-questions@fre
Derrick MacPherson wrote:
I am going to pop a machine (bridged interfaces) in tween our LAN and
our firewall (pix) and am wanting to know what people would recommend
for IP accounting, it would be great to have a web based output to show
what traffic, from/to what hosts so the boss is happy to
I am going to pop a machine (bridged interfaces) in tween our LAN and
our firewall (pix) and am wanting to know what people would recommend
for IP accounting, it would be great to have a web based output to show
what traffic, from/to what hosts so the boss is happy to look at it
I have had good luck with sql-ledger.
--Nick
On Tue, 15 Mar 2005 09:30:06 -0500, Harry Reid <[EMAIL PROTECTED]> wrote:
> I am looking for a client server accounting package for industrial equipment
> dealers and distributors that will handle serialized whole good inventory,
>
On Tue, 15 Mar 2005 09:30:06 -0500, Harry Reid <[EMAIL PROTECTED]> wrote:
> I am looking for a client server accounting package for industrial equipment
> dealers and distributors that will handle serialized whole good inventory,
> parts inventory and a service shop. Text base
On Tue, 2005-03-15 at 09:30 -0500, Harry Reid wrote:
> I am looking for a client server accounting package for industrial equipment
> dealers and distributors that will handle serialized whole good inventory,
> parts inventory and a service shop. Text based Unix or Linux platform is
>
I am looking for a client server accounting package for industrial equipment
dealers and distributors that will handle serialized whole good inventory,
parts inventory and a service shop. Text based Unix or Linux platform is
fine. Any recommendations?
HR
Hello Dan,
Friday, September 3, 2004, 12:18:57 AM, you wrote:
> In the last episode (Sep 02), DanGer said:
>> when i trying to use the command 'lastcomm danger (or any other
>> username or command)' i just get this error:
>>
>> [EMAIL PROTECTED] /var/account]$ lastcomm danger
>> lastcomm: /v
In the last episode (Sep 02), DanGer said:
> when i trying to use the command 'lastcomm danger (or any other
> username or command)' i just get this error:
>
> [EMAIL PROTECTED] /var/account]$ lastcomm danger
> lastcomm: /var/account/acct: Unknown error: 0
>
> but when i use 'lastcomm' as s
Hello freebsd-questions,
when i trying to use the command 'lastcomm danger (or any other
username or command)' i just get this error:
[EMAIL PROTECTED] /var/account]$ lastcomm danger
lastcomm: /var/account/acct: Unknown error: 0
but when i use 'lastcomm' as standalone command i get a lots
ROTECTED] wrote:
> >
> > > because i'm only running a desktop and sylpheed has it's own mail
> > > transport system, i shut down sendmail. however, since making this
> > > change, i've noticed that the root account is no longer receiving the
> &g
nce making this change, i've
> > noticed that the root account is no longer receiving the daily
> > accounting digest.
> >
> > i've had a look at the 310.accounting file in periodic, but am not sure
> > what to change to get the accounting back. is sendmail an abso
On Fri, Mar 19, 2004 at 06:58:23PM -0500, [EMAIL PROTECTED] wrote:
> because i'm only running a desktop and sylpheed has it's own mail transport
> system, i shut down sendmail. however, since making this change, i've
> noticed that the root account is no longer receivin
hello all,
because i'm only running a desktop and sylpheed has it's own mail transport
system, i shut down sendmail. however, since making this change, i've
noticed that the root account is no longer receiving the daily
accounting digest.
i've had a look at the 310.account
In the last episode (Dec 16), fbsd_user said:
> In the /stand/sysinstall/ under post configure is see option for
> process accounting.
> What is this?
> How can I find info about what this is and how to use it?
Each process that gets run will be logged into /var/account/acct. You
In the /stand/sysinstall/ under post configure is see option for
process accounting.
What is this?
How can I find info about what this is and how to use it?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> Hie all!
>
> Does anybody have a suggestion how to generate a cisco Netflow
> compatible ip-accounting in the FreeBSD-powered router.
>
> Any links, suggestions are welcome.
>
> Kirill.
>
> ___
> [EMAIL PROTECTED] m
Hie all!
Does anybody have a suggestion how to generate a cisco Netflow
compatible ip-accounting in the FreeBSD-powered router.
Any links, suggestions are welcome.
Kirill.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo
On Fri, Sep 27, 2002 at 04:01:37PM -0700, Coleman, Ellery wrote:
>
> 3- If i were able to determine that a process had died without
> returning all of it's memory, does the modern unix kernel provide a
> mechanism that would allow me to retrieve/recycle this wasted memory?
This can't happen for
Hey guys,
Can you reference any articles/FAQ's that deal with the following questions:
1- Does the modern unix kernel (ie. FreeBSD, solaris, linux) implement Memory
Allocation Accounting (MMA)? In my mind, an MMA system would keep track of how much
memory each process has "c
85 matches
Mail list logo