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

Thread Tools Search this Thread Display Modes
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.

Sponsored Links
Old Unix and Linux 09-29-2015
RudiC RudiC is online now Forum Staff  
Join Date: Jul 2012
Last Activity: 21 September 2017, 2:34 AM EDT
Location: Aachen, Germany
Posts: 11,352
Thanks: 297
Thanked 3,521 Times in 3,240 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
Corona688 Corona688 is offline Forum Staff  
Mead Rotor
Join Date: Aug 2005
Last Activity: 20 September 2017, 6:47 PM EDT
Location: Saskatchewan
Posts: 22,397
Thanks: 1,126
Thanked 4,231 Times in 3,912 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 05: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 09:01 AM
Shell Script to monitor folder and upload found files via FTP pulsorock Shell Programming and Scripting 4 07-24-2010 09:27 AM
Shell script partitions space monitor john_doe Shell Programming and Scripting 9 05-06-2009 01:23 PM
need help doing a script to monitor if files are go through jonathan184 Shell Programming and Scripting 0 05-15-2007 11:47 AM

All times are GMT -4. The time now is 02:43 AM.