Unix/Linux Go Back    

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

Need shell script to monitor files

Homework & Coursework Questions

Thread Tools Search this Thread Display Modes
Old Unix and Linux 09-29-2015   -   Original Discussion by ApmPerfMonitor
ApmPerfMonitor's Unix or Linux Image
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.

Sponsored Links
Old Unix and Linux 09-29-2015   -   Original Discussion by ApmPerfMonitor
RudiC's Unix or Linux Image
RudiC RudiC is offline Forum Staff  
Join Date: Jul 2012
Last Activity: 20 January 2018, 1:36 PM EST
Location: Aachen, Germany
Posts: 11,960
Thanks: 353
Thanked 3,688 Times in 3,386 Posts
What be the difference to your other thread? How about answering the questions asked there?
Sponsored Links
Old Unix and Linux 09-29-2015   -   Original Discussion by ApmPerfMonitor
Corona688's Unix or Linux Image
Corona688 Corona688 is offline Forum Staff  
Mead Rotor
Join Date: Aug 2005
Last Activity: 18 January 2018, 3:03 PM EST
Location: Saskatchewan
Posts: 22,574
Thanks: 1,163
Thanked 4,293 Times in 3,961 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

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 03:11 PM.