Folks Some interesting answers , but David Foster found a solution. This does assume , all you machine's are in NIS Hosts , but I just changed the script to bring in my master file of all my hosts. I don't think there is an elegant way to do this, but I found the following: ypwhich, embedded in a shell script, collects NIS client demographics to perform a "census" of server usage: #! /bin/sh # ypcensus - poll for ypservers ( for h in `ypcat hosts | awk '{print $2}'` do ypwhich $h done ) | grep -v 'not running' | sort | uniq -c http://unix.org.ua/orelly/networking_2ndEd/nfs/ch13_04.htm ----------------------------------------------------------------------------- ------------------------------------------------- Folks I need to try and find all the Sun Nis Clients , that are bound to a NIS Slave / Master I know from the client I can do ypwhich , but there does not seem to be a easy way to find out from the slaves I could look at snoop for say 15 minutes , to see which clients talk using NIS Protocol. But I was hoping for a better and quicker solution. I will summaries. Matt Matthew Garrett Linux / Unix IMG Support EPE Shell Information Technology International Limited Seafield House, North Anderson Drive, Aberdeen AB15 6GZ, United Kingdom Tel: +44 (0)1224 81 8373 Other Tel: Internal 630 8373 Email: Internet: http://www.shell.com _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagersReceived on Wed Nov 9 02:41:08 2005
This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:52 EST