The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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 and shell scripting languages 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 11:49 AM
set schedule to run a script at background while logout happyv Shell Programming and Scripting 1 01-24-2007 01:17 AM
command to schedule a unix script in tidal' scheduler balireddy_77 UNIX for Advanced & Expert Users 0 10-10-2006 12:03 AM
Schedule a script to check mail? stujones Shell Programming and Scripting 2 02-18-2004 02:10 AM
How can I schedule a script on Solaris? krikets Shell Programming and Scripting 3 10-06-2003 09:29 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 08-17-2006
geralex2 geralex2 is offline
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
  #2 (permalink)  
Old 08-28-2006
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,111
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.
  #3 (permalink)  
Old 08-29-2006
geralex2 geralex2 is offline
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
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 08:57 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0