06-23-2011
How to figure out and solve slow disks?
I'm using SUN x4600 with 64GB ram and 2 SAS 146GB 10krpm with Solaris 10
One told me, that the system seems to be slow, so I did a
iostat -xtc 5 2
which showed for a long period of time only 4-6000 kw/s and 100%b
PHP Code:
dbserver:~ # iostat -xtc 5 200
extended device statistics tty cpu
device r/s w/s kr/s kw/s wait actv svc_t %w %b tin tout us sy wt id
sd0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 0 6 1 1 0 98
sd1 1.2 76.3 154.3 4266.3 1.3 5.4 86.1 1 100
sd2 1.0 0.9 14.7 2.6 0.0 0.0 14.5 0 1
This looks slow to me, too.
Are there more tools to discover the reason or where might I solve the root cause?
Thanks Stefan
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am having problems scripting in UNIX. I am currently attending school and for the first time I am being introduced to scripting. My problem is I am supposed to enhance the spell_check by adding a third optional argument. The third argument is to specify a list of words to be added to the... (1 Reply)
Discussion started by: steph
1 Replies
2. UNIX for Dummies Questions & Answers
hi there i am new to this site and this linux and unix stuff so kind of plz help me out hoe to start the stuff.... (1 Reply)
Discussion started by: cool_dude
1 Replies
3. Shell Programming and Scripting
All,
I appreciate any help you can provide on this. I get an "else unmatched" error with this code and can't figure out why. If I remove the 1st if statement through the 1st else the script runs through fine. Any thoughts?
#decrypt file
sudo -u gpg /usr/bin/gpg... (4 Replies)
Discussion started by: peteroc
4 Replies
4. Shell Programming and Scripting
Hi, I need a little help here. I am exporting user info from a PSQL database and everything is working with the exception of this:
10029008:dsAuthMethodStandard\:dsAuthClearText:classword:10029008:2004:10029008:10029008:/home/student/1002/90/08:10029008
It is putting a colon right before the... (1 Reply)
Discussion started by: Stud33
1 Replies
5. IP Networking
Hi,
How do I get subnet from this:
10.252.0.138/25
Tnx (2 Replies)
Discussion started by: mehrdad68
2 Replies
6. UNIX for Dummies Questions & Answers
Hi,
I have inherited a server at work that has one IP and two virtual IP's. It is live and I want to figure out what each IP is being used for. I thought of NETSTAT but I cannot figure out how to get it to list what each IP is listening for. ANy advice? (8 Replies)
Discussion started by: mojoman
8 Replies
7. UNIX for Advanced & Expert Users
I have two machines, each with a virtual interface, with the following configurations:
Machine1:
eth2 Link encap:Ethernet HWaddr 00:09:6B:19:E5:05
inet addr:172.16.0.201 Bcast:172.16.0.255 Mask:255.255.255.0
eth2:0 Link encap:Ethernet HWaddr 00:09:6B:19:E5:05
... (0 Replies)
Discussion started by: druidmatrix
0 Replies
8. UNIX for Dummies Questions & Answers
I'm putting together a shell script while I'm learning UNIX -- just for myself. It's a little script that simply takes some vendor names and writes them to a file. So far I'm at the stage where the user enters the name of the file and places it in a folder called vendorlists:
* ) touch... (5 Replies)
Discussion started by: Straitsfan
5 Replies
9. UNIX for Dummies Questions & Answers
#!/bin/sh
while IFS=: read address port; do
: ${port:=443}
address=$address
port=$port
cd $f_location
number=`grep "$address" thing.txt -A 1 | grep "addresses=" | cut -d'"' -f2`
echo "$address,$port,$number,$answer" >>... (9 Replies)
Discussion started by: shade917
9 Replies
10. Shell Programming and Scripting
Hi,
Below is my input file:
Long list of significant figure
1.757E-4
7.51E-3
5.634E-5
.
.
.
Desired output file:
0.0001757
0.00751
0.00005634
.
.
. (10 Replies)
Discussion started by: perl_beginner
10 Replies
LEARN ABOUT NETBSD
iostat
IOSTAT(8) BSD System Manager's Manual IOSTAT(8)
NAME
iostat -- report I/O statistics
SYNOPSIS
iostat [-CdDITx] [-c count] [-M core] [-N system] [-w wait] [drives]
DESCRIPTION
iostat displays kernel I/O statistics on terminal, disk and CPU operations. By default, iostat displays one line of statistics averaged over
the machine's run time. The use of -c presents successive lines averaged over the wait period. The -I option causes iostat to print raw,
unaveraged values.
Only the last disk option specified (-d, -D, or -x) is used.
The options are as follows:
-c count Repeat the display count times. Unless the -I flag is in effect, the first display is for the time since a reboot and each sub-
sequent report is for the time period since the last display. If no wait interval is specified, the default is 1 second.
-C Show CPU statistics. This is enabled by default unless the -d, -D, -T, or -x flags are used.
-d Show disk statistics. This is the default. Displays kilobytes per transfer, number of transfers, and megabytes transferred.
Use of this flag disables display of CPU and tty statistics.
-D Show alternative disk statistics. Displays kilobytes transferred, number of transfers, and time spent in transfers. Use of this
flag disables the default display.
-I Show the running total values, rather than an average.
-M core Extract values associated with the name list from the specified core instead of the default ``/dev/mem''.
-N system Extract the name list from the specified system instead of the default ``/netbsd''.
-T Show tty statistics. This is enabled by default unless the -C, -d, or -D flags are used.
-w wait Pause wait seconds between each display. If no repeat count is specified, the default is infinity.
-x Show extended disk statistics. Each disk is displayed on a line of its own with all available statistics. This option overrides
all other display options, and all disks are displayed unless specific disks are provided as arguments. Additionally, separate
read and write statistics are displayed.
iostat displays its information in the following format:
tty
tin characters read from terminals
tout characters written to terminals
disks
Disk operations. The header of the field is the disk name and unit number. If more than four disk drives are configured in the sys-
tem, iostat displays only the first four drives. To force iostat to display specific drives, their names may be supplied on the com-
mand line.
KB/t Kilobytes transferred per disk transfer
t/s transfers per second
MB/s Megabytes transferred per second
The alternative display format, (selected with -D), presents the following values.
KB Kilobytes transferred
xfr Disk transfers
time Seconds spent in disk activity
cpu
us % of CPU time in user mode
ni % of CPU time in user mode running niced processes
sy % of CPU time in system mode
id % of CPU time in idle mode
FILES
/netbsd Default kernel namelist.
/dev/mem Default memory file.
SEE ALSO
fstat(1), netstat(1), nfsstat(1), ps(1), systat(1), vmstat(1), pstat(8)
The sections starting with ``Interpreting system activity'' in Installing and Operating 4.3BSD.
HISTORY
iostat appeared in Version 6 AT&T UNIX. The -x option was added in NetBSD 1.4.
BSD
March 1, 2003 BSD