I have tracefile of three nodes (0 , 1 and 2 ) as follows:
I want an awk program which gives me an output file where : each time of node 1, i found total enqueed and total dequeed ( $3=="1") and their difference
like this form :
time ....tot of "+" by node 1....tot of "-"by node 1....(tot of "+" - tot of "-") by node 1
to have a curve : (tot of "+" - tot of "-") by node 1 = f( time )
i try this awk program :
but without goud result
plz, i wait your help
Last edited by radoulov; 06-27-2010 at 05:50 PM..
Reason: Please use code tags!
I have installed Win98 OS .......1st
then RH7.2
with GRUB bootloader okay
i.e in the Grub there is two choices 1-Linux
2-Dos
also I install bootloader of linux in MBR -master boot record-
when select Linux an error :
... (6 Replies)
Hey everyone,
I'm new to the forum.
I have a problem with Mandrake 8.00; i have installed it on my old PC with no problems (none mentioned) but on re-booting after the installation it just hangs after listing the devices: Hard Disk, CD-ROM & Floppy A.
I have installed it on Packard Bell with... (2 Replies)
When running top, I notice a bit more I/O wait time than usual. Is there a tool or piece of software out there that can me help evaluate the performance of these operations on my machine? Thanks! (5 Replies)
Hi ALL:
I am not able to get the response back from weblogic in the shell script.
The weblogic server in different account. I am able to login to that account and bring the server up but while doing a ping, the script is failing. While the same script is running fine if I run it on the account... (1 Reply)
count2=0
var2=NOT
if
then
echo"Loop1"
command="egrep ',$var1,"
if
then
echo "the command is OR"
command=$command"|,$var3,"
echo "$command"
elif
then
command=$command"| egrep ',$var3,"
else
... (4 Replies)
Did not use 'wait' yet.
How I understand by now the wait works only for child processes, started background.
Is there any other way to watch completion of any, not related process (at least, a process, owned by the same user?)
I need to start a background process, witch will be waiting... (2 Replies)
Hey friends, below mentioned script is giving me proper o/p which can be 1 or 2
echo select status_ac from db_acct where acct_num='$1'" | dbaccess elstest
Now I want to interpret the o/p as follows.
If o/p is 1 then YES
If o/p is 2 then No
And to do this I have modified above... (2 Replies)
Hello, I have been trying to figure out why the wait isnt waiting for the sleep process to complete till now and have found out that since sleep runs as different process and not a child process the wait isnt waiting.
script:
cat test|while read i
do
echo $i
sleep 30 &
done
wait
ps... (4 Replies)
Iam having a script which is used to load users and dumpfile in any given schema.Iam trying to autolog the script and have added two fucntion in it.
function init_stdout_redirect {
OUT_LOG=$1
OUT_PIPE=$(mktemp -u)
# Create the output pipe
mkfifo $OUT_PIPE
# Save stdout and... (15 Replies)
Hi,
I have run into a problem to which i can't seem to find any solution, posting here is my last resort.
Problem:
I am using plink to access my router and run a few configuration commands. When in enter configurations mode, instead of sending next command plink keeps on waiting for manual... (7 Replies)
Discussion started by: zaainabbas
7 Replies
LEARN ABOUT SUSE
tcp-env
tcp-env(1) General Commands Manual tcp-env(1)NAME
tcp-env - set up TCP-related environment variables
SYNOPSIS
tcp-env [ -rR ] [ -ttimeout ] program [ arg ... ]
DESCRIPTION
The input for tcp-env must be a TCP connection. tcp-env finds out information about that connection, puts the information into several
environment variables as described in tcp-environ(5), and runs program with the given arguments.
Usually tcp-env is run from inetd. It might instead be run from another server that already sets up the right environment variables; if
PROTO is set to TCP when tcp-env is invoked, tcp-env assumes that all the other variables are set up properly, and it does not check
whether the input is a TCP connection.
OPTIONS -r (Default.) Attempt to obtain TCPREMOTEINFO from the remote host.
-R Do not attempt to obtain TCPREMOTEINFO from the remote host.
-ttimeout
Give up on the TCPREMOTEINFO connection attempt after timeout seconds. Default: 30.
SEE ALSO tcp-environ(5), inetd(8)tcp-env(1)