[Novalug] resource measurement of groups of programs

Derek LaHousse dlahouss@mtu.edu
Tue Sep 2 20:28:22 EDT 2014


You want cgroups.  Try systemd.

http://0pointer.de/blog/projects/resources.html


On Wed, 2014-09-03 at 11:01 +1200, Mark Smith via Novalug wrote:
> postfix was just an example.  perhaps all the groups make sense as
> a single user?  imap, smtp, ldap, ntp, all seem to fit that bill.
> others run as root and they don't fit the user model so much.
> 
> i'm sure it's entirely doable.  i was just curious if anyone here
> had a handle on a package that did it to avoid me writing new stuff.
> 
> 
> On Tue, Sep 02, 2014 at 06:55:19PM -0400, John Franklin wrote:
> > Hmm… not specifically in those terms, but you may find tools that bundle usage per user.  With one of those, you can look at what the postfix user consumes.
> > 
> > jf
> > 
> > On Sep 2, 2014, at 5:55 PM, Mark Smith via Novalug <novalug@firemountain.net> wrote:
> > 
> > > has anyone ever heard of a package that does resource measurement of
> > > groups of programs?  for instance, postfix is made up of several programs:
> > > 
> > > 	master
> > > 	qmgr
> > > 	anvil
> > > 	smtpd
> > > 	pickup
> > > 	bounce
> > > 	...
> > > 
> > > naturally, i can get resource usage for any one of those programs, but
> > > is there something that can group them together.
> > > 
> > > i'm trying to answer questions such as:
> > > 
> > > 	how much CPU is my mail subsystem taking up?
> > > 	how much IO bandwidth is my mail subsystem taking up?
> > > 
> > > -- 
> > > Hei konā mai
> > > Mark Smith
> > > mark@winksmith.com
> > > **********************************************************************
> > > The Novalug mailing list is hosted by firemountain.net.
> > > 
> > > To unsubscribe or change delivery options:
> > > http://www.firemountain.net/mailman/listinfo/novalug
> > 
> 
> 
> 




More information about the Novalug mailing list