Alvaro Herrera napsal(a):
Zdenek Kotala wrote:
Alvaro Herrera napsal(a):

proc-master-start
proc-master-stop
What's "master" here?
Main process - postmaster.

Huh, surely we're not interested in tracking postmaster start?


It depends. See following schema example


postgres::proc-master-start
{
   tracking = 1
}

syscall:::open:entry
/ tracking == 1/
{
   ... print file name ...
}

postgres::proc-master-stop
{
  tracking = 0
}

It is very useful because it say when you can start and stop monitoring for example. But I'm not DTrace expert maybe there is different way how to do it.

                Zdenek


--
Zdenek Kotala              Sun Microsystems
Prague, Czech Republic     http://sun.com/postgresql


--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to