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
fcache_fb_policy(5)						File Formats Manual					       fcache_fb_policy(5)

NAME
fcache_fb_policy - policy for flushing dirty file data to disk VALUES
Failsafe Default Allowed values Minimum: Maximum: DESCRIPTION
HP-UX asynchronously flushes dirty data to disk to manage the risk of data loss and avoid burst mode I/O. However, excessive flushing can cause extra I/O and reduce performance. The tunable is used to determine the trade-off between write performance and data availability. The tunable has three settings: This is the default setting. It is a high-performance setting. It minimizes the performance impact of optional flushing. For example, in case of mapped access to a file, the dirty pages are only flushed out asynchronously when they are unmapped by a call (see munmap(2)). The asynchronous flushing allows the call to complete quicker than if the flushing was syncrhonous. For file system access, the dirty data is flushed every 30 seconds or so by the syncer daemon. This setting is a high-performance setting. It disables the VxFS Flush Behind feature. Refer to the next paragraph, for more details about VxFS Flush Behind feature. Please note that the semantics of default behavior are liable to change as HP-UX identifies more optimal settings. This setting is a lower performance setting, but it provides more frequent flushing to disk. It increases the amount of flushing for file system access by enabling the Flush Behind feature of VxFS File System. Dirty pages are flushed when the number of dirty pages in memory for a file reaches a certain threshold. These flushes are controlled by a variety of VxFS tunables, such as and See the vxtunefs(1M) manpage for more details on the VxFS tunables. This setting corresponds to the HP-UX 11i v2 default behavior. It does the same amount of flushing as the tunable setting 1, but the I/O requests for flushing data are scheduled immedi- ately (synchronously). Who Is Expected to Change This Tunable? System administrators who run applications that do large file writes may change this tunable. Restrictions on Changing Changes to this tunable will take effect immediately. When Should the Value of This Tunable Be Changed to 1? This tunable should be changed from 0 to 1 if applications running on the system require more data integrity than the HP-UX syncer daemon provides. In addition, should be changed to 1 if the VxFS tunable, is set. The tunable lets an administrator lower the number of dirty buffers per file that the file system will generate before writing them to disk. The default value of is zero. The default value places no limit on the number of dirty buffers per file. With the default setting, there is no problem bypassing the Flush Behind feature. However, if is enabled, the application performing writes may encounter longer delays as it waits for to flush some of the dirty buffers before the appli- cation can continue. When Should the Value of This Tunable Be Changed to 2? This tunable should be changed to 2 if applications running on the system have been highly tailored for HP-UX 11i v2 behavior. It provides the most backwards compatible behavior. What Are the Side Effects of Changing the Value? Changing the value from 0 to 1 will cause increased I/O activity. Changing the value from 0 to 2 will cause lower response time for and system calls. It may result in loss of overall write performance. What Other Tunables Should Be Changed at the Same Time? None. WARNINGS
All HP-UX kernel tunable parameters are release specific. This parameter may be removed or have its meaning changed in future releases of HP-UX. Installation of optional kernel software, from HP or other vendors, may cause changes to tunable parameter values. After installation, some tunable parameters may no longer be at the default or recommended values. For information about the effects of installation on tun- able values, consult the documentation for the kernel software being installed. For information about optional kernel software that was factory installed on your system, see the at AUTHOR
was developed by HP. SEE ALSO
syncer(1M), vxtunefs(1M), fsync(2), munmap(2), write(2). Tunable Kernel Parameters fcache_fb_policy(5)