Solved

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

Posted on 2010-08-30
1
1,662 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 9

Accepted Solution

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

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses

624 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