Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1790
  • Last Modified:

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

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
jedblack
Asked:
jedblack
1 Solution
 
jeremycrussellCommented:
you might use /etc/mnttab for this.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now