Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

showmount(1m) [v7 man page]

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)

Check Out this Related Man Page

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)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

showmount

SIZE=3]Is the only root can "showmount". How to set a user to be able "showmount"? (1 Reply)
Discussion started by: mcaelbukch
1 Replies

2. UNIX for Dummies Questions & Answers

list directories on a file system

how can i see the list of directories, mounted on a filesystem? example, to show the list of directories mounted on / for aix (8 Replies)
Discussion started by: yls177
8 Replies

3. Solaris

Remote CD woes

Good Day, I've remotely mounted a cdrom (no problems theere). The kicker is I can see the directories on the remote CD bout I can't see the files. What am I doing wrong? I'm logged in as root on both systems. All the permissions seem okay - what am I missing? Thanks (2 Replies)
Discussion started by: greg69
2 Replies

4. HP-UX

Program crashes with optimization level O2

I am experiencing a difficulty undersatnding why my program (C++, HP UNIX) crashes. It crashes only when I build it with -O (+O2) optimization switch (used in aCC compiler). It works ok with +O0 or +O1 optimization. Also, I see that local variables are shown incorrecly when program is built... (3 Replies)
Discussion started by: Yuriy07
3 Replies

5. UNIX for Advanced & Expert Users

mount CD from local laptop to UNIX server remotely

I need some help in emergency. I want to add some software package from Solaris 10 CD remotely to UNIX Sparc machine. I can remotely access into the machine. Question is: how do I insert Solaris 10 CD in my laptop, then mount to UNIX machine remotely and add software package. Please give me the... (7 Replies)
Discussion started by: duke0001
7 Replies

6. Shell Programming and Scripting

naming a file to hostname

I am running a script remotely to another client. after it runs it places the file in /tmp. I need the file in /tmp to be renamed to the local hostname. but when i set the variable it names the file to my local hostname. how do i fix that (4 Replies)
Discussion started by: deaconf19
4 Replies

7. Linux

gethostnameby_r crashes

Hello all, I'm trying to use gethostbyname_r function with 6 arguments in one of my functions. But the call to this crashes the program. Kindly help me in resolving this... Compiler Info: Linux target: i686-hardhat-linux version: 3.3.1 The following is the piece of code I'm trying to... (1 Reply)
Discussion started by: rajans
1 Replies

8. Solaris

showmount

Hi, when i give showmount -a command following is the error that i get. root@server # showmount -a showmount: server: RPC: Program not registered Can anyone say the cause for that, and also a solution. (5 Replies)
Discussion started by: amult
5 Replies

9. Shell Programming and Scripting

Print the first four characters of hostname

Hey, I'm trying to print the first four characters of the hostname of a computer. I can get it from using: hostname -s | sed 's/...........$//'" but this is when I know how many characters are in the computer name. I dont understand why some like: hostname -s | sed '/..../p' wont... (7 Replies)
Discussion started by: yxian
7 Replies

10. Solaris

NFS

Hi , Is there any way we can find what the resources that are mounted by clients on a server via NFS. I tried dfmonts but it doesn't show anything. Also /etc/rmtab file doesn't have the information. Thanks in Advance Pradeep P (3 Replies)
Discussion started by: ppandey21
3 Replies

11. Solaris

Set up new T5220 remotely

I have a new T5220 racked at our remote office and the guys who racked it does not know how to configure the SP on the system .. is there any way i can do it remotely ? (1 Reply)
Discussion started by: fugitive
1 Replies

12. Shell Programming and Scripting

Pulling remote hostname into variable

I'm trying to write a shell script using bash that connects to a remote server, runs a command that generates a file, pulls the file over, then renames it with the hostname of the remote server and a an extension. So far, I'm able to everything but pull the hostname of the remote server into a... (2 Replies)
Discussion started by: hobbes80
2 Replies

13. AIX

nfs export

Hi How to export a file system from my aix box named ABC in such a way that everyone on the network should be able to import it When on the client side if they give showmount -e ABC it should show like this: # showmount -e ABC export list for ABC: /sybase/software (everyone) (2 Replies)
Discussion started by: newtoaixos
2 Replies

14. Shell Programming and Scripting

finding the hostname of a remote system

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

15. UNIX for Dummies Questions & Answers

Moving Files to VM

Hi guys, i need to test a script on my RedHat which it's mounted on a VirtualBox (oracle VM). So i need to copy a directory with subdirectories, from a remote host to my VM. I'd like to do that within cmd not with program like Filezilla or something like that. Any idea please? (4 Replies)
Discussion started by: Newer
4 Replies