Solved

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

Posted on 2010-08-30
1
1,546 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 500 total points
ID: 33561779
you might use /etc/mnttab for this.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
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…
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…

914 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now