10 More Discussions You Might Find Interesting
1. AIX
Hi,
I can't seem to make sense of this. My wait time is showing really high but vmstat's and topas are showing normal usage.
ps aux
USER PID %CPU %MEM SZ RSS TTY STAT STIME TIME COMMAND
root 9961810 5680.7 0.0 448 384 - A Dec 16 6703072:12 wait
... (2 Replies)
Discussion started by: techy1
2 Replies
2. Programming
Hi All,
I have a program for class that needs to do the following:
1. Print the directory entries from the current directory using ncurses
2. Provide a prompt next to each directory entry and allow the user to enter commands that may or may not be about the file
3. Execute those commands in... (1 Reply)
Discussion started by: afulldevnull
1 Replies
3. Shell Programming and Scripting
Hi ,
I am trying to :wall: my head while scripting ..I am really new to this stuff , never did it before :( .
how to find cpu's system high time and user time high in a script??
thanks , help would be appreciated !
:) (9 Replies)
Discussion started by: sushwey
9 Replies
4. 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
5. Red Hat
i have a Intel Quad Core Xeon X3440 (4 x 2.53GHz, 8MB Cache, Hyper Threaded) with 16gig and 1tb harddrive with a 1gb port and my apache is causing my cpu to go up to 100% on all four cores heres my http.config
<IfModule prefork.c>
StartServers 10
MinSpareServers 10
MaxSpareServers 15... (4 Replies)
Discussion started by: awww
4 Replies
6. Programming
Hello everybody.I want to make clear that i am not going to ask from anybody to build my asignement but i have a big problem. I can't seem to find anywhere ONE good example on C about what i am trying to do:wall:.I think it is simple. All i ask is one example, even a link is fine.
So, i want to... (1 Reply)
Discussion started by: Cuervo
1 Replies
7. Shell Programming and Scripting
I have a shell script that i want to run and then wait 30 minutes before running the rest of the script.
When I google the "wait" command, it seems to work for waiting for child processes or some pid to stop.
How do I wait for 30 minutes before continuing? (2 Replies)
Discussion started by: guessingo
2 Replies
8. 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
9. 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
10. UNIX for Advanced & Expert Users
Hi,
I am seeing very high kernel usage and very high load averages on my system (Although we are not loading much data to our database). Here is the output of top...does anyone know what i should be looking at?
Thanks,
Lorraine
last pid: 13144; load averages: 22.32, 19.81, 16.78 ... (4 Replies)
Discussion started by: lorrainenineill
4 Replies
iostat(1) General Commands Manual iostat(1)
NAME
iostat - Reports I/O statistics
SYNOPSIS
iostat [drive...] [interval] [count]
OPERANDS
Forces iostat to display specific drives. If drive is not specified (or the specified drive does not exist on the system or cluster,
iostat displays the first two drives (even if more than two disk drives are configured in the system). Causes iostat to report once each
interval seconds. The first report is for all time since the system was last booted, and each subsequent report is for the last interval
only.The value must not be 0. Specifies the number of reports. For example, iostat 1 10 would produce 10 reports at 1-second intervals.
You cannot specify count without interval because the first numeric argument to iostat is assumed to be interval.
DESCRIPTION
The iostat command reports the following information: For terminals (collectively), the number of characters read and written per second.
For each disk, the number of transfers per second and bytes transferred per second (in kilobytes). For the system, the percentage of time
the system has spent in user mode, in user mode running low priority (nice) processes, in system mode, and idling.
To compute this information, iostat counts data transfer completions, the number of words transferred for each disk, and the collective
number of input and output characters for terminals. Also, each sixtieth of a second, iostat examines the state of each disk and makes a
tally if the disk is active.
When you issue an iostat command on a cluster member, it displays statistics only for those disks that are local to the member and that
member's usage of those shared disks that it has mounted. It displays 0 for other disks in the cluster (those it doesn't have mounted),
regardless of whether they are on the shared bus or are local to some other member.
EXAMPLES
The output from this example displays cpu, terminal, and disk statistics for the first two disks on the system providing 5 reports at 1
second intervals:
# iostat 1 5
tty floppy1 dsk9 cpu
tin tout bps tps bps tps us ni sy id
0 3 0 0 0 0 1 0 4 95
4 58 0 0 0 0 1 0 2 97
1 53 0 0 0 0 0 0 2 98
5 59 0 0 0 0 1 0 1 98
6 60 0 0 0 0 1 0 2 97
The second example specifies device names in the command:
# iostat dsk2 dsk3 cdrom2
tty dsk2 cdrom2 dsk3 cpu
tin tout bps tps bps tps bps tps us ni sy id
0 13 11 5 5 2 2427 1213 0 1 1 98
SEE ALSO
Commands:vmstat(1)
iostat(1)