The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Schedule an interactive shell script Chaitrali Shell Programming and Scripting 4 11-08-2007 08:49 AM
set schedule to run a script at background while logout happyv Shell Programming and Scripting 1 01-23-2007 10:17 PM
command to schedule a unix script in tidal' scheduler balireddy_77 UNIX for Advanced & Expert Users 0 10-09-2006 09:03 PM
Schedule a script to check mail? stujones Shell Programming and Scripting 2 02-17-2004 11:10 PM
How can I schedule a script on Solaris? krikets Shell Programming and Scripting 3 10-06-2003 06:29 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 08-17-2006
Registered User
 

Join Date: Feb 2006
Posts: 5
Script Schedule Scrutiny

Hi All,

Here's one that may belong in the Scripting Thread but I thought I'd start off here. Here's the scenario:-

I have to transfer the functionality and data from an old E450 to a nice new Sun V440.

The E450 contains a bunch of scripts which may or may not still be in use daily, monthly or even yearly.

I need to know which scripts I can sack/remove: so,

- Other than cron is there any scheduler which would tell me which scripts are still being run?

- Where should I look for a file detailing the calls made to this server by other boxes internally and externally? and lastly,

- Anything else you think I should take into consideration?

Thanks for your clevernesses.

Cheers,

Gerry
Reply With Quote
Forum Sponsor
  #2  
Old 08-28-2006
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,656
One script can invoke another which makes this harder. Inside each script add a line like:
echo $0 is running `date` >> /var/log/script.log
as the 2nd line.
Reply With Quote
  #3  
Old 08-29-2006
Registered User
 

Join Date: Feb 2006
Posts: 5
Thanks

Hi Pederabo,

Thanks!

I've got a bunch of these scripts on these machines and the main problem is that I have to find which ones invoke which others!

Fun times ahead.

Cheers,

Gerry
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 11:48 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0