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


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting identify the unix processes performing high disk i/o reads and writes
# 1  
Old 01-09-2009
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 [read and write] or/and writes

If any one knows the solution please help me?

-Swamy

Last edited by jim mcnamara; 01-09-2009 at 11:58 PM.. Reason: Closed - duplicate post
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. 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

2. AIX

How to Identify long running unix processes

Hi All, Need an urgent help, I have a requirement to find long running unix processes.. I have tried the below commands, but not succeed. I need to arrange the unix processess in an order of elapsed time (high to low) that runs in a system. For Eg: Consider we have 3 processes, Pid 1 pid 2... (5 Replies)
Discussion started by: mohamedirfan
5 Replies

3. 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

4. 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

5. 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

6. AIX

Script to identify high CPU usage processes

Hi Guys, I need to write a script capable of identifying when a high cpu utilitzation process. It sounds simple but we are on a AIX 5.3 environment with Virtual CPU's (VP's) and logical CPU's. Please any ideas or tips would be highly appreciated. Thanks. Harby. (6 Replies)
Discussion started by: arizah
6 Replies

7. 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

8. 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

9. UNIX for Advanced & Expert Users

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

Guys, Is there any UNIX command that captures the 'Unix process which is performing high disk I/O reads and writes'. can you help me in this? -Swamy (6 Replies)
Discussion started by: avsswamy
6 Replies

10. 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
Login or Register to Ask a Question
STRESSAPPTEST(1)					      General Commands Manual						  STRESSAPPTEST(1)

NAME
stressapptest - stress test application for simulating high load situations SYNOPSIS
stressapptest [options] DESCRIPTION
This manual page documents briefly the stressapptest command. stressapptest (unix name for Stressful Application Test) is a program that tries to maximize randomized traffic to memory from processor and I/O, with the intent of creating a realistic high load situation in order to test the existing hardware devices in a computer. OPTIONS
This program supports the following options: -A Run in degraded mode on incompatible systems. -C <threads> Number of memory CPU stress threads to run. -d <device> Add a direct write disk thread with block device (or file) 'device'. -f <filename> Add a disk thread with tempfile 'filename'. -F Don't result check each transaction. -i <threads> Number of memory invert threads to run. -l <logfile> Log output to file 'logfile'. -m <threads> Number of memory copy threads to run. -M <mbytes> Megabytes of RAM to test. -n <ipaddr> Add a network thread connecting to system at 'ipaddr'. -p <pagesize> Size in bytes of memory chunks. -s <seconds> Number of seconds to run. -v <level> Verbosity (0-20), default is 8. -W Use more CPU-stressful memory copy. --blocks-per-segment <number> Number of blocks to read/write per segment per iteration (-d). --cache-size <size> Size of disk cache (-d). --cc_inc_count <number> Number of times to increment the cacheline's member. --cc_line_count <number> Mumber of cache line sized datastructures to allocate for the cache coherency threads to operate. --cc_test Do the cache coherency testing. --destructive Write/wipe disk partition (-d). --filesize <size> Size of disk IO tempfiles. --findfiles Find locations to do disk IO automatically. --force_errors Inject false errors to test error handling. --force_errors_like_crazy Inject a lot of false errors to test error handling. --listen Run threads that listen for incoming net connections. --local_numa Choose memory regions associated with each CPU to be tested by that CPU. --max_errors <number> Exit early after finding specified number of errors. --monitor_mode Only do ECC error polling, no stress load. --no_errors Run without checking for ECC or other errors. --paddr_base <address> Allocate memory starting from this address. --pause_delay <seconds> Delay (in seconds) between power spikes. --pause_duration <seconds> Duration (in seconds) of each pause. --random-threads <number> Number of random threads for each disk write thread (-d). --read-block-size <size> Size of block for reading (-d). --read-threshold <time> Maximum time (in us) a block read should take (-d). --remote_numa <time> Choose memory regions not associated with each CPU to be tested by that CPU. --segment-size <size> Size of segments to split disk into (-d). --stop_on_errors Stop after finding the first error. --write-block-size <size> Size of block for writing (-d). If not defined, the size of block for writing will be defined as the size of block for reading. --write-threshold <time> Maximum time (in us) a block write should take (-d). SEE ALSO
http://code.google.com/p/stressapptest/ AUTHOR
stressapptest was written by Nick Sanders and Rapahel Menderico (Google Inc). This manual page was written by Michael Prokop <mika@debian.org> for the Debian project (and may be used by others). 2009-10-20 STRESSAPPTEST(1)