Solved

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

Posted on 2010-08-30
1
1,526 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
Comment Utility
you might use /etc/mnttab for this.
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
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.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

772 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

10 Experts available now in Live!

Get 1:1 Help Now