[Beowulf] Determining NFS usage by user on a cluster

G.M.Sigut sigut at id.ethz.ch
Wed Apr 26 04:53:06 EDT 2006


> Date: Mon, 24 Apr 2006 08:04:20 +0200
> From: "G.M.Sigut" <sigut at id.ethz.ch>
> Subject: Re: [Beowulf] Determining NFS usage by user on a cluster
> To: john.hearns at streamline-computing.com
> Cc: beowulf at beowulf.org
...
> 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:  sigut at id.ethz.ch,  Phone: +41 1 632 5763,  Fax: +41 1 632 1022
 >>>> if my regular address does not work, try "sigut at pop.agri.ch"  <<<<

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



More information about the Beowulf mailing list