load Balance


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers load Balance
# 1  
Old 05-11-2005
load Balance

Guys im trying to create a script that will load ballance 3 devices. Unix is still very alien to me having only been in this position for 3 months now. Not to mention the fact that i've been thrown in the deep end. Anyway so far i've managed to make a script that looks at all 4 devices and make a report:

ls ~/Desktop/printer1/ ~/Desktop/printer2/ ~/Desktop/printer3/ > ~/Desktop/contents.txt

This gives me:

/Users/Desktop/printer1/:
Job1
Job2
job4

/Users/Desktop/printer2/:
Job1
Job2
Job3

/Users/Desktop/printer3/:
Job1

were using OSx but the printer folders are just hotfolders that are watched then spooled every 5 minutes or so by each Printers Rip. The problem we have is each team has a printer, but some teams produce more work than others. We use Filemaker to submit our approved EPS files to the hotfolders. However we find that 1 or 2 of the queues are always empty and 1 machine is full to bursting. We'd like a script that when our QC team approve the Artwork, Filemaker moves the EPS to the next available machine. The script i wrote before gives me a report, it would be great if i could take the info and maybe populate our database with a record of how many jobs are running on which machine.
# 2  
Old 05-13-2005
check here for a possible solution ...
 
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Balance the load of files across queues using shell script

Hi, I need to balance the load to be processed by the system using shell script. The scenario is like below: Suppose there are some files in a directory: -rw-rw-r-- 1 usr usrgrp 456432306 Oct 23 07:53 abc_queue_q1 -rw-rw-r-- 1 usr usrgrp 4123934 Oct 23 07:53... (1 Reply)
Discussion started by: vsachan
1 Replies

2. Shell Programming and Scripting

Check value of load balance dynamically

Hi All, I want to check load balance(or CPU utilzation) on server dynamically based on that value i want to perform some operation . Means if load balance is <10 then start server . Am using prstat -a 1 commadn it is listing CPU utilzation/load balancing dynamically .. How to take this... (7 Replies)
Discussion started by: vivek1489
7 Replies

3. UNIX for Dummies Questions & Answers

mv load balance files

Ok so I have files that are going to land on /apps/, but I need to load balance them so I need to load balance them to four different folders. The three file extensions I get are .mpe .mpd and mpf which will land here... /apps/ I can't move them until the mpf is there it triggers the next... (8 Replies)
Discussion started by: xgringo
8 Replies

4. Linux

Load balance

Hello anybody know how use Load balance in linux? Summer (2 Replies)
Discussion started by: summerpeh
2 Replies

5. Shell Programming and Scripting

Need help in wrting Load Script for a Load-Resume type of load.

hi all need your help. I am wrting a script that will load data into the table. then on another load will append the data into the existing table. Regards Ankit (1 Reply)
Discussion started by: ankitgupta
1 Replies

6. UNIX for Dummies Questions & Answers

general ledger balance.

My general ledger account did not balance to my posting journal. How can I change the general ledger account to balance with my posting journal without having to post a one sided ticket and have it go to my outage account? :confused: (1 Reply)
Discussion started by: Jenny
1 Replies
Login or Register to Ask a Question