[Ilugc] very simple profiling tool

  • From: girishvenkatachalam@xxxxxxxxx (Girish Venkatachalam)
  • Date: Fri, 29 Jun 2012 08:50:05 +0530

All of us wish to profile our code or even utilities.

Not always but in rare cases where timeliness is of essence.

Just do this.

How long does a DNS query take?

$ time dig yahoo.com

What about mx query?

$ time dig +short yahoo.com mx

Actually for us to use the mx we have to query the a record of the
 mx pointer which is actually a domain name.

In general monitoring is necessary to know whether a daemon is
 constantly running.

To do that I use monit though mon also may be useful.

I will send a separate mail.

-Girish

-- 
Gayatri Hitech
http://gayatri-hitech.com

Other related posts:

  • » [Ilugc] very simple profiling tool - Girish Venkatachalam