Operating System - HP-UX
1835216 Members
2272 Online
110078 Solutions
New Discussion

Finding out how many NIS slave

 
SOLVED
Go to solution
S.C. Fun
Advisor

Finding out how many NIS slave

Any command available to list all NIS slave server configured in a domain?
2 REPLIES 2
Wieslaw Krajewski
Honored Contributor
Solution

Re: Finding out how many NIS slave

Hi,

Try

ypcat -k ypservers

Rgds.
Permanent training makes master
Ravi_8
Honored Contributor

Re: Finding out how many NIS slave

hi,
the above command(ypcat -k ypservers) shows all nis servers including the master. so if u exclude the master from the list remaining are the slaves((ypcat -k ypservers |wc -l) - 1)
never give up