Re: A poor man's activity check :)

From: Ken S. (ken@ke9nr.#nospam#.org)
Date: 01/06/02


From: Ken S. <ken@ke9nr.#nospam#.org>
Date: Sun, 06 Jan 2002 11:46:56 -0800

Hi Art -

On Sun, 06 Jan 2002 16:27:05 GMT, artnpeg@nowhere.com (Art Kopp)
wrote:

>@echo off
>cls
>:here
>netstat -an
>goto here

If Win98 supports the -n parameter as NT4 does, you can tell netstat
to loop on its own.

I don't use a .bat file, I have a shortcut with the following as the
target:
C:\WINNT\system32\CMD.EXE /k netstat.exe -a -n 5

-n 5 tells netstat that I want to loop with a 5 second delay.

Ken
http://www.ke9nr.org/



Relevant Pages

  • Re: Iteration in lisp
    ... state machine is just a tagbody and goto. ... But if you need to change the state-transition-matrix in the middle ... loop and either table-driven or separate-functions for defining the ... (tagbody state1 (trace-state1 aux) ...
    (comp.lang.lisp)
  • Re: COBOL aint quite dead - yet !
    ... of control there is nothing wrong with goto. ... The loop is entirely abstracted away. ... Then we have well-formed loops with a single invariant and a looping ...
    (comp.lang.cobol)
  • Re: acceptable use of goto?
    ... loop, forward within the loop at various points, then forward out of ... Then you give every statement a label. ... No goto statements. ... Then I build a framework (of if or switch statements) to eliminate the ...
    (comp.lang.c)
  • Re: GSoft BASIC Ramble
    ... Leave and exit statement are not simply "goto statement without a line ... They are structure and proper ways of leaving a loop when a ... small system programming community--and the result was not pretty! ...
    (comp.sys.apple2)
  • Re: 2 extends
    ... goto hop_out; hop_out: ... I think that the nested loop you provide is not only slower ... It would require the engineer to wade through 30 lines of code to make sure that the onlyFisrt boolean was not altered within it. ... onlyFirst = false; ...
    (comp.lang.java.help)