Sponsored Content
Top Forums UNIX for Advanced & Expert Users identify the unix process performing high disk i/o reads and writes Post 302275583 by avsswamy on Sunday 11th of January 2009 12:28:03 PM
Old 01-11-2009
Thanks .
Can any one give me the script/command which gives the output as below format.
PID I/O READS I/OWRITES I/O WAIT
--- ----------- ---------- ---------
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

sh script that reads/writes based upon contents of a file

Hi everyone, Ive got a quick question about the feasibility and any suggestions for a shell script. I can use sh or ksh, doesnt matter. Basically, Ive got an output file from a db2 command that looks like so: SCHEMA NAME CARD LEAF ELEAF LVLS ISIZE NDEL KEYS F4 F5 ... (3 Replies)
Discussion started by: rdudejr
3 Replies

2. Shell Programming and Scripting

identify the unix processes performing high disk i/o reads and writes

I would like to write shell/perl script which identifies the top unix processes that are performing high disk I/O's or/and writes If any one knows the solution please help me? -Swamy (0 Replies)
Discussion started by: avsswamy
0 Replies

3. Shell Programming and Scripting

Unix Script to find and kill a process with high memory utilization

Hi Unix Gurus i am somewhat new to unix scripting so need your help to create a script as below. # This script would find the process consuming memory beyond a certain #limit. if the meemory consumption is more than 100% for a period of 1 # minute for the specific process. the script would... (0 Replies)
Discussion started by: robinforlinux
0 Replies

4. Filesystems, Disks and Memory

Does vmstat -d give a count of actual physical writes/reads done to/from hard disk?

Hi, I am trying to find the reliability of 'vmstat -d' for showing the actual physical writes on sectors on hard disk. Can anyone please tell me if the numbers in the "sectors" field under "read" or "write" headers show a count of the actual write commands sent to disk from the low level... (2 Replies)
Discussion started by: jake24
2 Replies

5. Filesystems, Disks and Memory

Life span of HDD - maximum reads/writes etc

Hi All I was wondering how the copying of vast amounts of data affected the overall lifespan of an HDD. In my example, I'm copying approx 120GB (250,000) of files, once per hour from disk to another. Is this likely to have a detrimental effect on the disk in terms of reads/writes etc? ... (2 Replies)
Discussion started by: huskie69
2 Replies

6. Shell Programming and Scripting

Identify high values "ÿ" in a text file using Unix command

I have high values (such as ÿÿÿÿ) in a text file contained in an Unix AIX server. I need to identify all the records which are having these high values and also get the position/column number in the record structure if possible. Is there any Unix command by which this can be done to : 1.... (5 Replies)
Discussion started by: devina
5 Replies

7. UNIX for Dummies Questions & Answers

Difference between buffered disk reads and cached reads?

I was analyzing the Disk read using hdparm utility. This is what i got as a result. # hdparm -t /dev/sda /dev/sda: Timing buffered disk reads: 108 MB in 3.04 seconds = 35.51 MB/sec # hdparm -T /dev/sda /dev/sda: Timing cached reads: 3496 MB in 1.99 seconds = 1756.56 MB/sec... (1 Reply)
Discussion started by: pinga123
1 Replies

8. Shell Programming and Scripting

Help with script that reads and writes java console Minecraft

Hi I am looking for an easy way to lock game mode (0) for everyone included op on a Minecraft server. It can be a script that every time a player changes game to 1 the script changes back to 0. What the player writes is visible in the java console. I am not good at script programming and my... (0 Replies)
Discussion started by: MyMorris
0 Replies

9. Linux

Dealing with a really high amount of reads merged

I'm trying to performance tune the I/O of my web server, which is at 41.1% reads merged (If my math is correct), which seems a tad high to just be going along with the defaults. Will modifying read_ahead_kb affect the value of "reads merged" in diskstats? If not, what's a good way of tracking... (2 Replies)
Discussion started by: thmnetwork
2 Replies

10. Emergency UNIX and Linux Support

How to find which process using, while getting High Disk I/O?

In Our Production server I/O was very high, I Recived mail that Disk I/O was high, is it possible how to find which process Used this much I/O ? Iam Using Ubuntu server 12.04. Linux 3.9.3-x86_64-server33 (Li473-1200) 07/23/2014 _x86_64_ (8 CPU) 12:05:01 AM DEV ... (5 Replies)
Discussion started by: babinlonston
5 Replies
dskx(8) 						      System Manager's Manual							   dskx(8)

Name
       dskx - generic disk exerciser

Syntax
       /usr/field/dskx [ options ] -rdev
       /usr/field/dskx [ options ] -pdevpart
       /usr/field/dskx [ options ] -cdev

Description
       The exerciser tests the disk drives on your system.  The exerciser has three main options which include read only, write/read/validate data
       on a partition, and write/read/validate data of a disk.

       The exerciser does random seeks and reads of random block sizes and random seeks, writes, reads, and validations of random data patterns of
       random block sizes. The exerciser will run until or kill -15 pid is sent to the process.

       A  logfile is made in for you to examine and then remove. If there are errors in the logfile, make sure you check the file, because that is
       where the driver and kernel error messages are saved.

       CAUTION: Both the -c and -p options of the exerciser destroy data on the disk.  Use extreme caution before using them  on  any  non-scratch
       media.  If you are unsure of what data is on the disk, contact your system manager before running with either of these options.

Arguments
       One of the following function flags and arguments must be specified.

       -rdev	 Performs a random read-only test on all partitions except the c partition.  The dev argument can be a raw or buffered device name
		 and number.  For example, rhp0, ra3, hk1.

       -pdevpart Writes, reads, and validates data from the device name and number specified by dev and the partition specified by part.  The  dev
		 argument  can be a raw or buffered device name and number.  For example, rhp0, ra3, hk1.  The part argument can be any valid par-
		 tition from a - h.

		 CAUTION:  Be careful when exercising partitions that overlap other partitions, as you may inadvertently destroy data on a  parti-
		 tion that you do not want to test.  You can use the -q option of the command to see what partitions overlap on the device on your
		 system.

       -cdev	 Writes, reads, and validates data from all partitions except the c partition on the device specified by dev.	The  dev  argument
		 can be a raw or buffered device name and number.  For example, rhp0, ra3, hk1.

Options
       The options are:

       -h	 Prints help message for the command.

       -ofile	 Saves output diagnostics in file.

       -tn	 Specifies the run time in minutes (n).  The default is to run until the process receives a or kill -15 pid.

       -dm	 Prints statistics every m minutes.

Restrictions
       If  there  is  a  need to run a system exerciser over an NFS link or on a diskless system there are some restrictions.  For exercisers that
       need to write into a file system, such as the target file system must be writable by root.  Also the directory, in which any of	the  exer-
       cisers  are  executed,  must be writable by root because temporary files are written into the current directory.  These latter restrictions
       are sometimes difficult to overcome because often NFS file systems are mounted in a way that prevents root from writing into them.  Some of
       the restrictions may be overcome by copying the exerciser to another directory and then executing it.

Examples
       The following example exercises RA disk unit 1, for 60 minutes in the background:
       % /usr/field/dskx -t60 -cra1 &
       The following example exercises raw HP disk unit 0, partition d, until or kill -15 pid:
       % /usr/field/dskx -prhp0d

See Also
       Guide to System Exercisers

																	   dskx(8)
All times are GMT -4. The time now is 07:05 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy