I/O Utilization of Specific File System


 
Thread Tools Search this Thread
Operating Systems Solaris I/O Utilization of Specific File System
# 1  
Old 04-22-2015
I/O Utilization of Specific File System

Hello there,

Below is the output of df -kh:

Code:
Filesystem             size   used  avail capacity  Mounted on
/dev/md/dsk/d0          12G   8.8G   2.7G    77%    /
/devices                 0K     0K     0K     0%    /devices
ctfs                     0K     0K     0K     0%    /system/contract
proc                     0K     0K     0K     0%    /proc
mnttab                   0K     0K     0K     0%    /etc/mnttab
swap                    14G   1.7M    14G     1%    /etc/svc/volatile
objfs                    0K     0K     0K     0%    /system/object
sharefs                  0K     0K     0K     0%    /etc/dfs/sharetab
fd                       0K     0K     0K     0%    /dev/fd
swap                    14G   229M    14G     2%    /tmp
swap                    14G    56K    14G     1%    /var/run
/dev/md/dsk/d4         192G    83G   108G    44%    /logfiles


But what I need is that I want to measure the I/O stats for /dev/md/dsk/d4 (/logfiles). I have tried using iostat command but the output of the disk is different from 'df -kh':

Code:
root@OJRAD01 [sm(1)-node] / # iostat -dx
                 extended device statistics                 
device    r/s    w/s   kr/s   kw/s wait actv  svc_t  %w  %b 
md0       0.0    0.6    0.2    1.0  0.0  0.0   22.3   0   0 
md1       0.0    0.0    0.0    0.0  0.0  0.0    5.9   0   0 
md4       0.1   23.7   21.3  814.0  0.0  0.4   16.1   0  15 
md5       0.0    0.0    0.0    0.0  0.0  0.0    0.0   0   0 
md10      0.0    0.6    0.1    1.0  0.0  0.0   13.6   0   0 
md11      0.0    0.0    0.0    0.0  0.0  0.0    2.7   0   0 
md14      0.0   23.7   10.6  814.0  0.0  0.2    7.8   0  13 
md15      0.0    0.0    0.0    0.0  0.0  0.0    0.0   0   0 
md20      0.0    0.6    0.1    1.0  0.0  0.0   11.0   0   0 
md21      0.0    0.0    0.0    0.0  0.0  0.0    9.0   0   0 
md24      0.0   23.7   10.7  814.0  0.0  0.2    6.7   0  11 
md25      0.0    0.0    0.0    0.0  0.0  0.0    0.0   0   0 
sd0       0.1   27.2   10.8  815.3  0.0  0.2    7.4   0  12 
sd1       0.0    0.0    0.0    0.0  0.0  0.0    0.0   0   0 
sd2       0.1   27.2   10.8  815.3  0.0  0.2    8.6   0  13 
nfs1      0.0    0.0    0.0    0.0  0.0  0.0    0.7   0   0

So how can we measure I/O for a particular FS?

Thanks
# 2  
Old 04-22-2015
Code:
 iostat -nxd

# 3  
Old 04-26-2015
md4 is the kernel name of /dev/md/dsk/d4 (driver md instance 4).
The iostat -n option maps it to the logical pathname.
--
You can filter for certain disk(s), for example
Code:
iostat -dx md4 2

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

awk to update specific value in file with match and add +1 to specific digit

I am trying to use awk to match the NM_ in file with $1 of id which is tab-delimited. The NM_ will always be in the line of file that starts with > and be after the second _. When there is a match between each NM_ and id, then the value of $2 in id is substituted or used to update the NM_. Each NM_... (3 Replies)
Discussion started by: cmccabe
3 Replies

2. Red Hat

CPU Utilization and Memory Utilization of Services and Applications

Hi, i am new to linux/RHEL 6.0 and i have two questions. 1) How to get the CPU utilization and Memory Utilization of all Services running currently? 2) How to get the CPU utilization and Memory Utilization of all Applications running currently? Please help me to find the script. ... (2 Replies)
Discussion started by: nossam
2 Replies

3. Shell Programming and Scripting

Extract specific line in an html file starting and ending with specific pattern to a text file

Hi This is my first post and I'm just a beginner. So please be nice to me. I have a couple of html files where a pattern beginning with "http://www.site.com" and ending with "/resource.dat" is present on every 241st line. How do I extract this to a new text file? I have tried sed -n 241,241p... (13 Replies)
Discussion started by: dejavo
13 Replies

4. UNIX for Dummies Questions & Answers

Search for a specific String in a log file for a specific date range

Hi, I have log file which rolls out every second which is as this. HttpGenRequest - -<!--OXi dbPublish--> <created="2014-03-24 23:45:37" lastMsgId="" requestTime="0.0333"> <response request="getOutcomeDetails" code="114" message="Request found no matching data" debug="" provider="undefined"/>... (3 Replies)
Discussion started by: karthikprakash
3 Replies

5. Shell Programming and Scripting

[Solved] Getting the CPU utilization in a file periodically

Hi, I am trying to create a script that will run for every 5 mins to grep the CPU utilization. I have 6 instances running on a single unix server for which I have to export the individual utilizations periodically. Can we fetch the utilization of 6 instances in separate files using top... (8 Replies)
Discussion started by: jhilmil
8 Replies

6. Shell Programming and Scripting

Urgent request to consider:Search specific name in a file and fetch specific entries

Hi all, I have 2 files, One file contain data like this FHIT CS CHRM1 PDE3A PDE3B HSP90AA1 PTK2 HTR1A ESR1 PARP1 PLA2G1B These names are mentioned in the second file(Please see attached second file) as # Drug_Target_X_Gene_Name:(Where X can be any number (1-1000) (1 Reply)
Discussion started by: manigrover
1 Replies

7. UNIX for Advanced & Expert Users

File System Utilization

Hi All This is a simple question, but I am confused As netbackup user: the netbackup directory size is : idcxpr0012: cd /opt/VRTSnbu idcxpr0012: du -sh ./* 0K   ./bi 302M   ./db 0K   ./kms 758K   ./local 18M   ./lost+found 110G   ./netbackup 0K   ./replication_status 593K   ./var... (1 Reply)
Discussion started by: indrajit_renu
1 Replies

8. Shell Programming and Scripting

Assigning a specific format to a specific column in a text file using awk and printf

Hi, I have the following text file: 8 T1mapping_flip02 ok 128 108 30 1 665000-000008-000001.dcm 9 T1mapping_flip05 ok 128 108 30 1 665000-000009-000001.dcm 10 T1mapping_flip10 ok 128 108 30 1 665000-000010-000001.dcm 11 T1mapping_flip15 ok 128 108 30... (2 Replies)
Discussion started by: goodbenito
2 Replies

9. UNIX for Advanced & Expert Users

File disk utilization for 10 days prior

Hi I have a requirement to list the files & the total disk utilization they have which are 10 prior to current date. I tried couple of options in combinations of find mtime, ctime with du -m, but no luck. Could you please help me in this ? (2 Replies)
Discussion started by: videsh77
2 Replies

10. UNIX for Dummies Questions & Answers

CPU FILE SYSTEM UTILIZATION & %

Hi Everyone - I using unix (AIX Version 5.2). What command should I use to see the CPU utilization & how many bytes, %every file in the system is using to see if it needs to be reorganized/resized. Thanks a lot for your help! Ann. :eek: (1 Reply)
Discussion started by: Ann22
1 Replies
Login or Register to Ask a Question