Unix/Linux Go Back    


Homework & Coursework Questions Students must use and complete the template provided. If you don't, your post may be deleted! Special homework rules apply here.

Need shell script to monitor files

Homework & Coursework Questions


Closed    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 09-29-2015
ApmPerfMonitor ApmPerfMonitor is offline
Registered User
 
Join Date: Sep 2015
Last Activity: 29 September 2015, 3:37 PM EDT
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Need shell script to monitor files

Hi Experts,

I am not good in writing script. Just stared. I am looking for shell script to check following parameters.

1) Number of files on remote Linux SUSE server.- Any directory and sub directory.
2) I should define number of files in script. Files should be variable.
3) Age of the file. File should not sit in directory for more than 4 hrs. Hours are variable.

Thanks in Advance.

Disha
Sponsored Links
    #2  
Old Unix and Linux 09-29-2015
RudiC RudiC is online now Forum Staff  
Moderator
 
Join Date: Jul 2012
Last Activity: 23 February 2017, 8:50 AM EST
Location: Aachen, Germany
Posts: 10,319
Thanks: 242
Thanked 3,148 Times in 2,913 Posts
What be the difference to your other thread? How about answering the questions asked there?
Sponsored Links
    #3  
Old Unix and Linux 09-29-2015
Corona688 Corona688 is offline Forum Staff  
Mead Rotor
 
Join Date: Aug 2005
Last Activity: 22 February 2017, 5:48 PM EST
Location: Saskatchewan
Posts: 21,928
Thanks: 1,050
Thanked 4,097 Times in 3,796 Posts
Homework and coursework questions can only be posted in this forum under special homework rules.

Please review the rules, which you agreed to when you registered, if you have not already done so.

More-than-likely, posting homework in the main forums has resulting in a forum infraction. If you did not post homework, please explain the company you work for and the nature of the problem you are working on.

If you did post homework in the main forums, please review the guidelines for posting homework and repost.

Thank You.

The UNIX and Linux Forums.
Sponsored Links
Closed

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to monitor a command inside shell script sussus2326 Shell Programming and Scripting 3 01-27-2011 06:41 AM
shell script that can create, monitor the log files and report the issues for matching pattern itian2010 Homework & Coursework Questions 0 08-12-2010 10:01 AM
Shell Script to monitor folder and upload found files via FTP pulsorock Shell Programming and Scripting 4 07-24-2010 10:27 AM
Shell script partitions space monitor john_doe Shell Programming and Scripting 9 05-06-2009 02:23 PM
need help doing a script to monitor if files are go through jonathan184 Shell Programming and Scripting 0 05-15-2007 12:47 PM



All times are GMT -4. The time now is 09:59 AM.