> Date: Mon, 24 Apr 2006 08:04:20 +0200
> From: "G.M.Sigut" <[EMAIL PROTECTED]>
> Subject: Re: [Beowulf] Determining NFS usage by user on a cluster
> To: [EMAIL PROTECTED]
> Cc: [email protected]
...
> If you want to find users, you might try to run
> 
> tcpdump -i eth1 -c 1000 -n -p -s 192 -v -u udp and port 2049 | \
> awk '/ids/{A=match($0,"ids"); print substr($0,A+4,3)}' dudu|grep -v '/'

<blush>

Of course the second line is

  awk '/ids/{A=match($0,"ids"); print substr($0,A+4,3)}'|grep -v '/'

the "dudu" bit is a rest from the original script which was using
a file to store the results of tcpdump. It's not in the way, but
confuses the issue.

</blush>

George

-- 
 >>>>>>>>>>>>>>>>>>>>>>>>>  George M. Sigut  <<<<<<<<<<<<<<<<<<<<<<<<<<<
 ETH Zurich,  Informatikdienste,  Sektion Systemdienste,  CH-8092 Zurich
 Swiss Federal Inst. of Technology,  Computing Services, System Services
 e-mail:  [EMAIL PROTECTED],  Phone: +41 1 632 5763,  Fax: +41 1 632 1022
 >>>> if my regular address does not work, try "[EMAIL PROTECTED]"  <<<<

_______________________________________________
Beowulf mailing list, [email protected]
To change your subscription (digest mode or unsubscribe) visit 
http://www.beowulf.org/mailman/listinfo/beowulf

Reply via email to