Sponsored Content
Full Discussion: problem in shell script
Top Forums Shell Programming and Scripting problem in shell script Post 302568169 by ordo_ordo on Wednesday 26th of October 2011 01:08:03 PM
Old 10-26-2011
yes i have all reay checked it and i answered , in fact i need this variable to use it in next command
as i have said the first code will generate a file with $i line (supposed as tasks to schedule each id of task with it's duration inside) the second file will take the variable copt (which is the optimal completition time calculated in copt.awk) and will generate a file containing the machines to do this tasks the number of machine is calculated from 5% of $i and the indisponibility are calculated from copt , then two scheduling algorithm will be tested , the first one in lpt(longest processing time) the completition time will be extracted from the terminal which is clpt and the second one from gensched which is a dynamic programming from which will be extracted cmax and then will be shown on the terminal the difference between copt, cmax and clpt
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

shell script problem

shell script for sorting,searchingand insertion/deletion of elements in a list (1 Reply)
Discussion started by: jayaram_miryabb
1 Replies

2. UNIX for Dummies Questions & Answers

Shell script problem

Hi, I have a shell script in which I am calling a function from a different shell script. This functions executes the SQL and the results are stored in a log file. If the result of the SQL is "no rows selected" then I need to exit the main shell script. My shell script is executing fine if... (5 Replies)
Discussion started by: shashi_kiran_v
5 Replies

3. Shell Programming and Scripting

Problem in shell script

:confused: Hi, I have written a script which calls a stored procrdure. The Stored procedure has 2 inputs and 6 outputs. I need to capture one of the outputs. But I am not able to get any result from this simple script- ! /bin/ksh echo "connect to dbau user etlbitst using anf1892;" >... (1 Reply)
Discussion started by: arnie_nits
1 Replies

4. Shell Programming and Scripting

call shell script from perl cgi script problem

hi,, i have perl scipt with line : system('./try.sh $t $d $m'); in shell scipt try.sh i have the line: echo $1 its not printing value of $t that i hav passed..y is it so..i am running it from apache web server (2 Replies)
Discussion started by: raksha.s
2 Replies

5. Shell Programming and Scripting

C-Shell Script Problem

I am trying to write a simple script to update clients that are probes with new software, but everytime I run it, it doesn't wait for the download it just runs through the list of clients without finishing the download. I tried to use wait on the pid and I could use sleep for some crazy amount of... (0 Replies)
Discussion started by: gbxfan
0 Replies

6. Shell Programming and Scripting

Problem Shell Script

hy, i have a problem with shell script with sybase. if start single command this script working, but if run into file for example select.sh, the script doesn't create output. Can you help me please ??? thank's USER=`cat $SYBASE/.asepwd | cut -d: -f2 | head -1` PWD=`asepwd.sh $USER... (4 Replies)
Discussion started by: Dolcissimo76
4 Replies

7. Shell Programming and Scripting

Shell script problem

Hello. I am trying to make this shell script bellow work on my server wich should take the names in newacc.cvs and add them to the system. For each user the script should ask me to enter a password for the user im adding and then add them to the system, however my current solution do not work atm... (7 Replies)
Discussion started by: ryzzaze
7 Replies

8. AIX

There's problem with shell script...Help me~

Hello, guys... I'm new to IBM AIX server admin. Actuall, I administrate Oracle 10g on it. *SYSTEM INFO - IBM AIX 6 Powerpc - Oracle 10g R2 (10.2.0.4.0 - 64bit) I wrote a script like bellow... DATE='date' cp /oracle/product/10g/network/log/listener_temp.log... (4 Replies)
Discussion started by: daniel han
4 Replies

9. Shell Programming and Scripting

Shell script newbie, what is problem with my script?

Hello, Ubuntu server 11.10 can anybody help what is problem with my shell script? #!/bin/bash #script to find out currently logged on user is root or not. if ] then echo "You are super" else echo "You are awesome!" fi When I run script, I get following output ./uid: line 3: I... (4 Replies)
Discussion started by: kaustubh
4 Replies
TORRUS_SCHEDULERINFO(8) 					      torrus						   TORRUS_SCHEDULERINFO(8)

NAME
schedulerinfo - Displays extended scheduler tasks information. SYNOPSIS
torrus schedulerinfo --tree=TREENAME [options...] DESCRIPTION
This utility displays the extended scheduler tasks information for tree TREENAME on standard output. This might be useful for scheduler planning and analysis. OPTIONS
--config Reports scheduler's configuration. The values are explained below. Total collector/monitor leaves: N Total number of datasources being processed by collector or monitor daemon. Scheduled leaves by type Torrus supports arbitrary number of collector types, and this report shows how many datasources belong to every type. Currently the monitor leaves are not divided into types. Least common period: N seconds The report below shows how the tasks are distributed across the time line, and the least common period shows the period of this time line. Tasks execution timeline This report tells which task and how many datasources are involved in each task startup event, and how these events are dispersed across the time. The column Interval shows the time interval from each task execution event to the next event on the timeline. --runtime Reports scheduler's runtime statistics, such as running cycle times, late starts etc. The meaning of the output values is as follows. Values that have zero values are usually not printed. Task: Name, Period: N seconds, Offset: M seconds Each scheduler task is characterized by its name (usually Collector or Monitor), period, and timeoffset. Fore example, if period is set to 300 seconds, and offset is 14 seconds, then the task would be executed at 00:00:14, 00:05:14, 00:10:14, and so on for every hour in a day. N running cycles passed How many times the task was executed since last reset. The counter is normally reset after torrus_compilexml(8) successfully compiles the configuration. N late starts How many times the task has started with a delay from its normal schedule. N too long runs How many times the task execution time was longer than its period. N overrun periods How many periods have been missed because of too long executions. N missed periods How many periods were missed because of any reason (such as other tasks delaying). Min, Max, Average, Exp Average The time values are displayed in four columns: Mimimum, Maximum and Average values since last reset, and Exponential decay value, which may be interpreted as the average for last several values. With defaults defined in torrus-config.pl, 95% of the average is calculated from last 3 values. Running Time How long the task executes each period. Late Start How long the task start was delayed. Too Long How much time the too long run took. RRD Queue In a multithreaded environment, the RRD files are writen in a background thread. This value shows the length of the RRD update queue at the beginning of each update cycle. --help Displays a help message. SEE ALSO
torrus(8), torrus_compilexml(8) NOTES
See more documentation at Torrus home page: http://torrus.org AUTHOR
Stanislav Sinyagin <ssinyagin@yahoo.com> torrus 2.03 2013-07-26 TORRUS_SCHEDULERINFO(8)
All times are GMT -4. The time now is 02:15 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy