Operating System Information --> Unix (WAM and Glue) --> Unix Utilities --> Unix Networking Utilites -->

Unix Networking Utilites

dig

This command will show you network information.

At the command prompt type the following:

dig wam.umd.edu

The following will appear:

; <<>> DiG 2.2 <<>> wam.umd.edu
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 6
;; flags: qr rd ra; Ques: 1, Ans: 1, Auth: 4, Addit: 4M
;; QUESTIONS:
;;      wam.umd.edu, type = A, class = IN

;; ANSWERS:
wam.umd.edu. 134     A       128.8.10.95

;; AUTHORITY RECORDS:
UMD.EDU.        43169   NS      noc.net.UMD.EDU.
UMD.EDU.        43169   NS      ns1.UMD.EDU.
UMD.EDU.        43169   NS      ns2.UMD.EDU.
UMD.EDU.        43169   NS      mx.nsi.nasa.gov.

;; ADDITIONAL RECORDS:
noc.net.UMD.EDU.        7169    A       129.2.0.3
ns1.UMD.EDU.    59969   A       128.8.74.2
ns2.UMD.EDU.    59969   A       128.8.76.2
mx.nsi.nasa.gov.        5113    A       128.102.18.31

;; Total query time: 4 msec
;; FROM: wam.umd.edu to SERVER: default -- 128.8.10.95
;; WHEN: Fri Dec 10 13:00:54 1999
;; MSG SIZE  sent: 32  rcvd: 206

host

This command will show you the differenc rac information and any aliases. Also will give you mail information.

At the prompt type the following:

host wam.umd.edu

The following will appear:

wam.umd.edu has address 128.8.10.150
wam.umd.edu has address 128.8.10.143
wam.umd.edu has address 128.8.10.149
wam.umd.edu has address 128.8.10.142
wam.umd.edu has address 128.8.10.144
wam.umd.edu mail is handled (pri=4) by po0.wam.umd.edu
wam.umd.edu mail is handled (pri=4) by po1.wam.umd.edu
wam.umd.edu mail is handled (pri=4) by po2.wam.umd.edu

nslookup

This command name will show you the server name and IP address.

First log into your wam/glue account. Then at the prompt type:

nslookup servername
or
nslookup IP address
and hit return

This is the following output for a wam lookup:

Server:  altair.umd.edu
Address:  128.8.10.95
Name:    wam.umd.edu
Addresses:  128.8.10.147, 128.8.10.148, 128.8.10.145, 128.8.10.143
          128.8.10.146

ping

This command will check to see if a server is alive, or not. As well as obtaining information about that specific server.

First log into your wam/glue account. Then at the prompt type:

ping servername
and hit return

You will see if the system is alive as shown below.

wam.umd.edu is alive

If you are looking for the return time on a ping, then simply type at the prompt:

ping -sv servername
and hit return

You will get the following information returned to you by the system:

	64 bytes from wam.umd.edu (128.8.10.141): icmp_seq=0. time=0. ms
	64 bytes from wam.umd.edu (128.8.10.141): icmp_seq=1. time=0. ms
	64 bytes from wam.umd.edu (128.8.10.141): icmp_seq=2. time=0. ms

When you have obtained sufficient information then type control+c to exit the ping.

How do I:
How are we doing? Comments on this page?
Office of Information Technology
Office of Information Technology Help Desk Web Site University of Maryland Web Site Office of Information Technology Web Site