02-06-2008
There is the output of the command "uname -n" which the docs call "nodename". Posix says: "nodename shall contain the name of this node within an implementation-defined communications network." And there is the output of the command "hostname" and Posix says nothing at all.
What we now call nodename came first and was not really standardized enough to be used in a real network. "hostname" was intended to be very standardized and matched to the Internet standards. Most people set them to the same thing.
The output of "uname -s" has nothing to do with either, it identifies the OS and this is what is called system name. Typical values are HP-UX or SunOS.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
I am installing redhat linux 6.2 on an intel based system. Whether i want to know any naming conventions should i follow.
ie Any convention to follow to name a linux machine(To give hostname). Simillarly for domain name also. Please suggest in this regard (1 Reply)
Discussion started by: bache_gowda
1 Replies
2. IP Networking
Using Solaris 8 (or WINXP).
I am trying to look up a specific DNS hostname, but I don't know which DNS server houses that entry. How can I find the hostname?
nslookup gives me the following:
C:\>nslookup hostname
Server: dnsserver
Address: x.x.x.x
*** dnsserver can't find hostname:... (2 Replies)
Discussion started by: dangral
2 Replies
3. UNIX for Dummies Questions & Answers
Hello,
I am new to Solaris.
I am using stand alone Solaris 10.0 for test/study purpose and connecting to internet via an ADSL modem which has DHCP server. My Solaris is working on VMWare within winXP. My WinXP and Solaris connects to internet by the same ADSL modem via its DHCP at the same... (1 Reply)
Discussion started by: XNOR
1 Replies
4. UNIX for Advanced & Expert Users
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
5. UNIX for Dummies Questions & Answers
How to change host name in NCR Unix version 3.0 release 4.0
I got the OS version and OS release from executing uname -v and uname -r (9 Replies)
Discussion started by: nalina
9 Replies
6. Solaris
all of a sudden i am not able to get hostname of sparc server. all the settings are proper in hostname file.can anyone help me on this (1 Reply)
Discussion started by: grrajeish
1 Replies
7. Emergency UNIX and Linux Support
Hi All,
So we added a new HP-UX 11.31 machine. Copied OS via Ignite-UX (DVD)over from this machine called machine_a. It was supposed to be named machine_c. And it is when you log in...however when I'm in the ILO console before logging in, it says:
It should say:
What gives? And how do... (4 Replies)
Discussion started by: zixzix01
4 Replies
8. Shell Programming and Scripting
I know the ipaddress of a remote machine and would like to know its hostname
I used the nslookup command but... is there an easier way of doing it... just like hostname command.
When i give this command i get the following
nslookup 10.2.47.36
Server: 10.233.04.31
Address: ... (2 Replies)
Discussion started by: ramky79
2 Replies
9. UNIX for Advanced & Expert Users
deleted (0 Replies)
Discussion started by: hce
0 Replies
10. AIX
Hello All,
I am trying to clone an entire AIX virtual machine to a new virtual machine including all partitions and OS.Can anyone help me on the procedure to follow? I am not really sure on how it can be done.Thanks in advance.
Please use CODE tags for sample input, sample output, and for code... (4 Replies)
Discussion started by: gull05
4 Replies
LEARN ABOUT XFREE86
showmount
showmount(1M) System Administration Commands showmount(1M)
NAME
showmount - show remote mounts
SYNOPSIS
/usr/sbin/showmount [-ade] [hostname]
DESCRIPTION
showmount lists the clients that have remotely mounted a filesystem from host. This information is maintained by the mountd(1M) server on
host, and is saved across crashes in the file /etc/rmtab. The default value for host is the value returned by hostname(1).
The showmount command does not display the names of NFS Version 4 clients.
OPTIONS
-a Print all remote mounts in the format:
hostname : directory
where hostname is the name of the client, and directory is the root of the file system that has been mounted.
-d List directories that have been remotely mounted by clients.
-e Print the list of shared file systems.
FILES
/etc/rmtab
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWnfscu |
+-----------------------------+-----------------------------+
SEE ALSO
hostname(1), mountd(1M), attributes(5)
Solaris 10 Installation Guide: Basic Installations
BUGS
If a client crashes, its entry will not be removed from the list of remote mounts on the server.
SunOS 5.10 26 Oct 2004 showmount(1M)