Samba and Application Response Measurement (ARM 4.0)

David Disseldorp ddiss at
Tue Apr 1 00:40:27 GMT 2008

On Sun, 23 Mar 2008 15:00:47 -0700
"James Peach" <jorgar at> wrote:

> On 23/03/2008, Sven Kubiak <sk at> wrote:
> >  Unfortunatly i didn't get the profiling to work, yet. I used the
> >  configuration option --with-profile and enabled profiling using smbcontrol,
> >  but didn't find any output so far. Does the profiling uses a seperate

After setting a profile level, use `smbstatus -P` to dump profiling counters.

> >  logfile or do i have to setup a monitor like pcp? Is the pcp example coming
> >  with Samba 3 still up to date?
> No, the PCP PMDA in the Samba3 tree has bitrotted substantially.
> There is a new PMDA in this svn branch:
>     svn://
> This PMDA exports the metrics from the profile subsystem, and well as
> extra per-client and per-share counters. It should be straight-forward
> to extend it.

While you're there you may also want to take a look at kmchart:

It can be used to plot metrics exported by the Samba PMDA in realtime.

Cheers, Dave

More information about the samba-technical mailing list