How to determine what process is actively using my harddisk?


 
Thread Tools Search this Thread
Operating Systems AIX How to determine what process is actively using my harddisk?
# 1  
Old 07-27-2009
How to determine what process is actively using my harddisk?

Hi,

Is there any command that I can issue to check who is actively using my harddisk? I notice that yesterday the hdisk0 and hdisk1 is really actively being used and is reaching almost 100%. I realized that this is because of paging which is climbing up to 70%.

However, just this morning I see paging is at 7% but still the hdisk0 and hdisk1 is high. Any thoughts?

Thanks.
# 2  
Old 07-27-2009
You mean the %tm_act from iostat or other monitoring tools?
Best show us an excerpt of
Code:
iostat -d 1 20

while this peak/busy behaviour occurs. Also a
Code:
vmstat 1 20

might come handy.

You could use the too filemon to try to locate at least the LV(s) and file(s) that is/are affected.
Example from man page:
Code:
filemon -o fmon.out -O all

Best check the man page for it. When launching it you can stop it after some seconds or minutes of busy disk time with
Code:
trcstop

Should be also covered in the Performance Tools Redbook from IBM.
If you found the LV/FS or file you could also check with fuser or lsof which process might be related.
# 3  
Old 07-27-2009
Hi zaxxon,

Thanks for the prompt reply. I will try this tomorrow.
# 4  
Old 07-27-2009
Np, I added some info to my post that you might have missed reading it while I edited it again Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to determine the completion of a background process to trigger something else?

I've been thinking about a peculiar problem, and so far haven't been able to find out a convincing solution to that. To put it simply, I have a shell script (assume it to be parent_script.sh), calling another shell script (child_script.sh) 5 times, in nohup mode to be executed in the background.... (3 Replies)
Discussion started by: Aviktheory11
3 Replies

2. Shell Programming and Scripting

Determine amount of time to process

Hello all, Hopefully someone can point me in the right direction... I have a script written in bash which is pretty basic and just stop/starts various services based on particular conditions. What I am trying to build is a reporting type function which will send out an email with various stats... (3 Replies)
Discussion started by: systrex
3 Replies

3. Shell Programming and Scripting

Actively merge kde 3.x and gnome 2.x menus

ok, here's the scoop, google has similar, but nothing that quite fits the bill. here is what I'm up against: i have a linux system that is running both kde 3.x and gnome 2.x, selectable via gdm. the kde 3.x app menu is heavily modified and i'm looking for a way to import that over to the... (0 Replies)
Discussion started by: macphail
0 Replies

4. AIX

unix host actively refused the connection attempt

Dear all, I am faced with an error "UX ER087-0" failling to connect to the server. Any ideas of what might be causing the error? Many thanks (17 Replies)
Discussion started by: captain.scorpio
17 Replies

5. What is on Your Mind?

How Many Technology Forums Do You Actively Participate In?

How Many Technology Forums Do You Actively Participate In? (29 Replies)
Discussion started by: Neo
29 Replies

6. UNIX for Dummies Questions & Answers

determine total memory used by some user/process

HI guys, :confused:i would like to know how can i determine the total/approx memory used by a single user. Example Top output is below =========================================================================== top - 20:00:50 up 24 days, 2:48, 2 users, load average: 0.43, 0.40, 0.37... (3 Replies)
Discussion started by: cromohawk
3 Replies

7. UNIX for Dummies Questions & Answers

Determine which file is invoking process?

Hey Guys, I am trying to figure out what is chewing up a bunch of CPU on our SunFire V120 Boxes and I am having a little trouble drilling down the source. When I check the CPU usage it displays tail & cat as the top two processes PID USERNAME SIZE RSS STATE PRI NICE TIME CPU... (1 Reply)
Discussion started by: Jerrad
1 Replies

8. HP-UX

how to check whether a script is running actively or hanged/ in deadlock)

Hi I have a doubt regarding process states in HP unix system. Is there a way to check whether a process is hanged or still actively running? I have few scripts which run for a long time. but sometimes these are getting hanged. But i'm never sure whether they are running or waiting in kind of... (4 Replies)
Discussion started by: truth
4 Replies

9. Shell Programming and Scripting

Actively watching for running processes

Here's a fun one... What's the best way to script looking for a process when it runs? For example, what if a process is running that's been set up graphically, which you would like the entire command line string for? Say it's rpm for the sake of having a command to use as an example. You want... (2 Replies)
Discussion started by: sysera
2 Replies

10. UNIX for Advanced & Expert Users

clone harddisk

Hi, i have to make an excect physical copie of a sun unix station harddisk. I have to make all partitions the same on about 60 harddisks, and also they should contain the same data/info. I have hade a look at commands 'DD' and 'UFSDUMP' but both of them are not sufficient enough. Can... (5 Replies)
Discussion started by: dirk2
5 Replies
Login or Register to Ask a Question