The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Operating Systems > HP-UX
.
google unix.com



HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
current CPU usage, memory usage, disk I/O oid(snmp) S_venkatesh SUN Solaris 2 12-13-2008 06:19 AM
how can I find cpu usage memory usage swap usage and logical volume usage alert0919 HP-UX 3 12-02-2008 02:38 PM
cron job - memory usage hemangjani Shell Programming and Scripting 1 06-10-2008 02:11 PM
CRON usage for CRON job skyineyes UNIX for Dummies Questions & Answers 1 01-17-2008 10:17 AM
Monitor CPU usage and Memory Usage Gajanad Bihani High Level Programming 2 03-09-2005 07:35 AM

Reply
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 06-04-2009
raghu.iv85 raghu.iv85 is offline
Registered User
  
 

Join Date: Mar 2009
Posts: 20
Cron usage

Hi All,

I have one doubt,
Using one single cron file how many jobs we can shedule within a single user box

like

crontab -e XXX


* * * * * ---.sh
* * * * * ---.sh
* * * * * ---.sh
--
--
--


Regards,
Raghu.
  #2 (permalink)  
Old 06-04-2009
robsonde robsonde is offline
Registered User
  
 

Join Date: Dec 2007
Posts: 162
I am not aware of any limit...
we have a box with about 70 cron's

how many do you need??
  #3 (permalink)  
Old 06-06-2009
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
  
 

Join Date: Feb 2004
Location: NM
Posts: 5,777
Maybe the OP means 'is there a limit to the size of a cron file?'

Not really. However maintining it is going to be difficult. You should use crontab -e on your crontab, so if you have thousands of entries it may become cumbersome to edit.
The other issue is one of flooding the system with jobs, which can affect performance.
  #4 (permalink)  
Old 06-09-2009
vbe's Avatar
vbe vbe is offline Forum Staff  
Moderator
  
 

Join Date: Sep 2005
Location: Switzerland - GE
Posts: 1,576
Jim pointed out what is the main concern of having plenty jobs scheduled and tansactionnal users at the same time: users working in interractive mode or submiting their jobs can flood the system at some periods when heavy scheduled batches are running...
I used to take care of a system with 3 crontabs running (root for backups policy, oracle for stop/export/start DB) and oper (operational production)
oper had around 200 plannified jobs with some having to be run and finish at given date and time (monthly paiment etc...).
If you add the comments in the file , you realise its about 500 lines long...
Although I was not in charge of the production, I was the one blammed when performance issue occured, which ment having the desagrable task of findinf culprits and killing them so production can continue...

And Jim's comment is to be seriously taken in account:
With already approx 200 lines - you can guess the hard work sorting the different lines that look the same but not quite to match with rules such as "on the second monday of the month" and "every 10 of each month" etc...

I once had the bad surprise of a user sending printing request on a friday afernoon and not seeing his printout strated again and again... then gave up and left for the weekend.
It just happened on the weekend where more than 60 heavy jobs were to run.
I was called out of bed VERY early morning sunday because of a non responsive machine...
At that point all I could do at the console was a reboot ( or was it "turn off the power"?)...
Reply

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 10:48 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