This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re: TimePing
by Tanktalus (Canon) on Mar 29, 2005 at 05:59 UTC

    Let's start with some code tags, and then look at your "require"s. Without those scripts, this script is likely not very useful. Snippets should be useful, and self-contained. Sure, they may not do anything without being called, but now we need to develop whatever missing functions to use this.

    Please do not go away. But do please post full, working snippets - it makes it much easier to read, understand, and learn from.

    Thanks,

      Sorry for that tags
      I put in the code only its a big mess.
      all pile up as one string.

      so what i did now is i put "br" to split lines. i cant do much with the indentation.
      or maybe i dont know how to use ur editor.

      for the database just create field mathing to query.
      if u want later i'll put the database sql.

      anyway take care.

        When you posted, the first thing you did was hit "preview". It showed you the "big mess", but also asked "If something looked unlike you expected it to you might need to check out Writeup Formatting Tips". Click on that. I refer you to the seventh entry there about using <code> and </code> tags. That is precisely what you need. The rest of that info would be useful to your long stay here.

        Also during the preview, there was a bunch of stuff in smaller letters at the bottom - one thing that is bolded is "Snippets of code". It contains similar instructions regarding the code tags.

Re: TimePing
by amyarjun (Novice) on Apr 05, 2005 at 11:32 UTC
    Hi Guys,
    I'm looking forward to improve this timeping application. currently i'm using:
    open(PS_F, "ps -C $apps[$i].pl |");<br>
    i want to imporve with getting some more information like memory and cpu usage.
    I hope anyone can add on for this part.

    Edit by castaway - added code tags