parallel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What would you like to see in next video?


From: Ole Tange
Subject: Re: What would you like to see in next video?
Date: Thu, 20 Oct 2011 13:52:59 +0200

On Thu, Oct 20, 2011 at 1:01 PM, Hans Schou <chlor@schou.dk> wrote:
> 2011/10/20 Ole Tange <tange@gnu.org>:
>> On Wed, Oct 19, 2011 at 11:43 PM, Hans Schou <chlor@schou.dk> wrote:
>>> On Sat, 15 Oct 2011, Ole Tange wrote:
>>>
>>>> It is probably time to get a new video out.
>>>>
>>>> What would you like to see demoed in that?
:
> Scan your private net for which IP-numbers is in use. Save data in a
> file for later handling:
>
> time parallel --tag -j+128 ping -W2 -c1 192.168.112.{} \| grep from
> ::: $(seq 254) | tee foo

Good examples, though I would probably do:

  seq 254 | parallel --tag -j0 ping -W2 -c1 192.168.4.{} |grep
from|cut -f1|sort -nu

Or use nmap, which has a much shorter syntax:

  nmap -T insane -sP 10.10.13.0/24

> I use -j+128 here to start more ping's at the same time.

You need to learn -j0.


/Ole



reply via email to

[Prev in Thread] Current Thread [Next in Thread]