02-08-2006
how can iostat help? Is that *definately* all I need to look at this stuff? Thanks for the help.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
:cool:
I need to execute a shell script to do the following:
cat a file
run two back ground processes using the first two values from the file
wait till those background processes finish
run two more background processes using the next two values from the file
wait till those background... (1 Reply)
Discussion started by: halo98
1 Replies
2. UNIX for Dummies Questions & Answers
Hi everyone
I'm novice at Unix programming and I hope to post this thread in the correct place.
I have the following doubts:
1 Suppose we have some processes which are B's children process and another process A which has no relation with B and its children.
Can A do wait () for a... (5 Replies)
Discussion started by: Puntino
5 Replies
3. Shell Programming and Scripting
In one of the shell script (Where abinitio graph is called), the last line is wait ${!}. What does this wait ${!} mean ??? (2 Replies)
Discussion started by: risshanth
2 Replies
4. Shell Programming and Scripting
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)
Discussion started by: alex_5161
2 Replies
5. Shell Programming and Scripting
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)
Discussion started by: wannalearn
4 Replies
6. Shell Programming and Scripting
I have tracefile of three nodes (0 , 1 and 2 ) as follows:
+ 0.02 0 1 tcp 40 ------- 1 0.0 2.0 0 0
- 0.02 0 1 tcp 40 ------- 1 0.0 2.0 0 0
+ 0.02 2 1 tcp 40 ------- 2 2.1 0.1 0 1
- 0.02 2 1 tcp 40 ------- 2 2.1 0.1 0 1
r 0.025032 0 1 tcp 40 ------- 1 0.0 2.0 0 0
+ 0.025032 1 2 tcp 40 -------... (11 Replies)
Discussion started by: ASAADAOUI
11 Replies
7. HP-UX
Hello,
On a HP-UX 10.20 server I've executed something similar to this command:
# echo 'selall;info;wait;infolog;view;done' | /usr/sbin/cstm
But it returns sometype of "argument list too long" error.
I suppose there is a way to fix it by using xargs but I can't figure it out.
Any... (7 Replies)
Discussion started by: asanchez
7 Replies
8. Shell Programming and Scripting
Hi,
I am facing a strange issue,
when i call a script from my while loop in background it doesnt go in background, despite the wait i put below the whil loop it goes forward even before the process put in background is completed.
cat abc.txt | while read -u4 line
do
#if line contains #... (2 Replies)
Discussion started by: mihirvora16
2 Replies
9. Shell Programming and Scripting
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)
Discussion started by: Vikram_Tanwar12
15 Replies
10. Windows & DOS: Issues & Discussions
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
IOSTAT(1) General Commands Manual IOSTAT(1)
NAME
iostat - report I/O statistics
SYNOPSIS
iostat [ drives ] [ interval [ count ] ]
DESCRIPTION
Iostat iteratively reports the number of characters read and written to terminals per second, and, for each disk, the number of transfers
per second, kilobytes transferred per second, and the milliseconds per average seek. It also gives the percentage of time the system has
spent in user mode, in user mode running low priority (niced) processes, in system mode, and idling.
To compute this information, for each disk, seeks and data transfer completions and number of words transferred are counted; for terminals
collectively, the number of input and output characters are counted. Also, each sixtieth of a second, the state of each disk is examined
and a tally is made if the disk is active. From these numbers and given the transfer rates of the devices it is possible to determine
average seek times for each device.
The optional interval argument causes iostat to report once each interval seconds. The first report is for all time since a reboot and
each subsequent report is for the last interval only.
The optional count argument restricts the number of reports.
If more than 4 disk drives are configured in the system, iostat displays only the first 4 drives, with priority given to Massbus disk
drives (i.e. if both Unibus and Massbus drives are present and the total number of drives exceeds 4, then some number of Unibus drives will
not be displayed in favor of the Massbus drives). To force iostat to display specific drives, their names may be supplied on the command
line.
FILES
/dev/kmem
/vmunix
SEE ALSO
vmstat(1)
4th Berkeley Distribution April 29, 1985 IOSTAT(1)