Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ypwhich(1yp) [ultrix man page]

ypwhich(1yp)															      ypwhich(1yp)

Name
       ypwhich - determine which host is the current YP server or map master.

Syntax
       ypwhich [-d domain] [-V1] [-V2] [hostname]
       ypwhich [-d domain] [-m mname][-t]]
       ypwhich -x

Description
       The  command  identifies the YP server that currently supplies yellow pages services to a YP client.  It also identifies which YP server is
       the master for a map.  If invoked without arguments, returns the host name of the YP server for the local machine.  If hostname	is  speci-
       fied, checks that machine to find out which YP master it is using.

       Refer to and for an overview of the yellow pages.

Options
       -V1
	  Identifies which server is serving v.1 YP protocol-speaking client processes.

       -V2
	  Identifies which server is serving v.2 YP protocol-speaking client processes.

	  If  neither  version is specified, attempts to locate the server that supplies the current v.2 services.  If there is no v.2 server cur-
	  rently bound, attempts to locate the server supplying the v.1 services.  Since YP servers and YP clients are both  backward  compatible,
	  the user need seldom be concerned about which version is currently in use.

       -d Uses domain instead of the current domain.

       -m mname
	  Finds  the  master YP server for a map.  No hostname can be specified with -m.  The mname argument can be a mapname, or a nickname for a
	  map.

       -t Inhibits nickname translation and is useful if there is a mapname identical to a nickname.

       -x Displays the map nickname table.  This option lists the nicknames (mnames) that the command knows of, and indicates the mapname  associ-
	  ated with each nickname.

See Also
       ypfiles(5yp), rpcinfo(8nfs), ypserv(8yp), ypsetup(8yp)

																      ypwhich(1yp)

Check Out this Related Man Page

ypwhich(1)							   User Commands							ypwhich(1)

NAME
ypwhich - return name of NIS server or map master SYNOPSIS
ypwhich [-d domain] [ [-t] -m [mname] | [-Vn] hostname] ypwhich -x DESCRIPTION
ypwhich returns the name of the NIS server that supplies the NIS name services to a NIS client, or which is the master for a map. If invoked without arguments, it gives the NIS server for the local machine. If hostname is specified, that machine is queried to find out which NIS master it is using. Refer to ypfiles(4) for an overview of the NIS name services. OPTIONS
-d domain Use domain instead of the default domain. -t This option inhibits map nickname translation. -m mname Find the master NIS server for a map. No hostname can be specified with -m. mname can be a mapname, or a nickname for a map. When mname is omitted, produce a list of available maps. -x Display the map nickname translation table. -Vn Version of ypbind, V3 is default. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWnisu | +-----------------------------+-----------------------------+ SEE ALSO
ypfiles(4), attributes(5) SunOS 5.11 7 Apr 1995 ypwhich(1)
Man Page

12 More Discussions You Might Find Interesting

1. Windows & DOS: Issues & Discussions

ws2003 terminal services.

New to ws2003 standard edition. I configured this server to be a domain controler, terminal services server and the cal server as well. I added users and joined them to the remote desktop users group. Still cant log in as a configured user. I get the erro message that this user needs to join the... (1 Reply)
Discussion started by: fruiz
1 Replies

2. UNIX for Advanced & Expert Users

What hostname is a client using?

Is there a way to find out what name a client is using to connect to a server? For example: client is telnet'ing or ftp'ing to Server B.domain.com, using name C.domain.com. (B and C resolve to the same IP). Can we, on the server B find out that the client used C.domain.com to connect? I have tried... (1 Reply)
Discussion started by: mugambo
1 Replies

3. UNIX for Dummies Questions & Answers

How to determine how much space is available on client machine

Hi, Is there a command to determine how much space is available / used on a client machine ?. Thanks (6 Replies)
Discussion started by: decamposem
6 Replies

4. AIX

Nim

Hello guys, what is a sure-shot single command to find out if the NIM environment is working properly from both master as well as client side? (2 Replies)
Discussion started by: solaix14
2 Replies

5. AIX

NIM master-client connectivity issue

Hello All, I believe my NIM master is fine. lsnim and cat /etc/niminfo gives me the right output. While doing "lsnim" on a client machine, I get ksh:lsnim:"not found". Please someone be nice enough to explain what are the steps to verify the master and client connectivity to do all the NIM... (3 Replies)
Discussion started by: solaix14
3 Replies

6. Red Hat

Command to find the local harddisks of a server ? Including their size

Hi guys How do I find the harddisks in a server ? Rgds Nishant (4 Replies)
Discussion started by: thevishy
4 Replies

7. AIX

find nim server of a machine

Hi, i would like to know how can i find , in a client machine , the nim server. the nim server that this machine have , if the machine have it Thanks :confused: (1 Reply)
Discussion started by: prpkrk
1 Replies

8. Shell Programming and Scripting

Forcing a tty session but getting a password prompt?

I have a master host I want to use to issue some start/stop of LDAP services. I changed the client hosts /etc/sudoers to have Defaults:infra !requiretty The master host kicks off the jobs using the infra account doing a ssh session to the infra account on the clients. #!/bin/ksh ps -fu... (5 Replies)
Discussion started by: J-Man
5 Replies

9. AIX

NIM : remove nim client info from the client

Hi. I change my client's IP and hostname but I forgot to change anything on the master. How can I redefine or modify my client's resource from my master, or with using smit niminit from my client ? Tks (2 Replies)
Discussion started by: stephnane
2 Replies

10. Red Hat

Sun Storage Tek 6140 compatible with RHEL5.7?

Issue Description: ================ There are of 4 servers (SunFire X440) : siman7tdw: SunFire X440 (affected server) siman8tdw:SunFire X440 (affected server) siman9tdw:SunFire X440 siman10tdw:SunFire X440 Storage Server: Sun Storage Tek 6140 (Name: simantdw_disk_bak) and Sun Storage... (1 Reply)
Discussion started by: Pawan Kumar
1 Replies

11. AIX

Problem in communication nim client with nim master

Hello, I have an AIX6.1 machine which is a nim client to my nim master which is also AIX6.1 machine. I had some problem to perform an installation on my client using smit nim . i removed /etc/niminfo file in order to do the initialization again but when i run the command niminit -a name=client... (0 Replies)
Discussion started by: omonoiatis9
0 Replies

12. HP-UX

HPUX 11.23 - server is crawling

OK HPUX masters I need help. I have a HPUX 11.23 server that I am using as a Ignite server that services two HPUX services for backups only. The other day I noticed that our Make Net Recoveries were failing. Upon attempting to login to the server SSH and could not I then tried to ping and could... (6 Replies)
Discussion started by: waytec
6 Replies