Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Is there any /proc/mounts(linux) equivilent for Solaris

Posted on 2010-08-30
1
Medium Priority
?
1,768 Views
Last Modified: 2013-12-28
I'm trying to modify a simple linux nagios shell script to use on solaris, its relying heavily on "cat /proc/mount" type construct to verify is a NFS filesystems i literally/truly mounted.

is there any Solaris 10x86 equal to this? or some other command that will show me what NFS shares i currently have mounted on my machine?

would be great if i can make this generic enough to run across platforms.

link to nagios script in case you need/want to take a look.
http://exchange.nagios.org/directory/Plugins/System-Metrics/File-System/NFS/check-nfs-mountpoints/details
0
Comment
Question by:jedblack
1 Comment
 
LVL 9

Accepted Solution

by:
jeremycrussell earned 2000 total points
ID: 33561779
you might use /etc/mnttab for this.
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

972 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question