how to list all the mounted file system

Please support our Perl advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Feb 2009
Posts: 5
Reputation: eapln is an unknown quantity at this point 
Solved Threads: 0
eapln eapln is offline Offline
Newbie Poster

how to list all the mounted file system

 
0
  #1
Feb 17th, 2009
do any one brief out how to write script to list the mounted filesystems in solaris
Reply With Quote Quick reply to this message  
Join Date: Feb 2009
Posts: 10
Reputation: bryansmith123 is an unknown quantity at this point 
Solved Threads: 0
bryansmith123 bryansmith123 is offline Offline
Newbie Poster

Re: how to list all the mounted file system

 
0
  #2
Feb 20th, 2009
Originally Posted by eapln View Post
do any one brief out how to write script to list the mounted filesystems in solaris
  1. $cmd = 'df -h';
  2. exec { $cmd };

You can also use the system() function in perl.
Last edited by bryansmith123; Feb 20th, 2009 at 10:49 am.
Reply With Quote Quick reply to this message  
Join Date: Feb 2009
Posts: 5
Reputation: eapln is an unknown quantity at this point 
Solved Threads: 0
eapln eapln is offline Offline
Newbie Poster

Re: how to list all the mounted file system

 
0
  #3
Feb 24th, 2009
thank you very much bryansmith123.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



Tag cloud for Perl
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC