System activity


 
Thread Tools Search this Thread
Operating Systems AIX System activity
# 1  
Old 11-17-2008
Bug System activity

Hi,
I want to find program's file read,write for a particular time.For example i am executing an application called test1, this will get input from some parameter files(file1,file2,file3) and it will write to some files(file4,file5), so i want to execute one program which will capture these activities and give me brief output on that application.Please advice me how to achieve this?

Regards,
Nags.
# 2  
Old 11-17-2008
You want information on the time it takes to read & write a file?
Or you want to know what process was reading writing a certain file at a given time?

Pick one.
# 3  
Old 11-17-2008
Bug

Hi jim,
My objective is to find the program excution flow for that particular program(As per my previous example say "test1" program).
For example i am executing the "test1" program.Now i want to know what are the file this "test1" program accessing.I think now you might understand little better?

Regards,
Nags.
# 4  
Old 11-18-2008
You will probably need a collection of tools to achieve this:

Use the "truss" command, which will tell you which files are being accessed by a process.

You might want to use some of the statistics provided by "filemon" too, read the manpage of "filemon" and its related tools (trcrpt, trcstop, ... ) and prepare to spend some time doing that, it is a complex tool.

You might want to include "iostat" into your arsenal for a closer look at the devices once you have found out on which disks the process of interest is reading/writing from/to.

Not to mention general(ized) tools to monitot I/O activity: "svmon", "vmstat -v", etc.

I hope this helps.

bakunin
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. Red Hat

RHEL Linux process activity monitoring tool from windows 7 system

I have 2 RHEL 5.9 system where customized applications are running. These 2 servers are with in a network (LAN) with each other.One application in say Server 1 can talk to another application in server 2 and vice versa. The applications are exchanging data among each other. Recently I am... (0 Replies)
Discussion started by: Anjan Ganguly
0 Replies

2. Infrastructure Monitoring

System Activity Report

Hi team , I am working on monitoring the solaris machine utilization continously with shell script without using any thirdparty software. I stuck at below commands which are limited to 1000000000 seconds. CPU Utilization sar -u 1 1000000000 Disk Utilization sar -d 1 1000000000 Memory... (4 Replies)
Discussion started by: tarun_nix
4 Replies

3. Red Hat

system activity and information data

Hi all, i need to collect all system activities data(processes running, disk details, memory, etc), system logs and things related. i heard of cfg2html but its not available for my CentOS distro(i may need to install separately but thats not what i wana do). i can use sar for syatem... (1 Reply)
Discussion started by: ajayyadavmca
1 Replies

4. UNIX for Dummies Questions & Answers

Strange system activity no matter what I try

When I choose to encrypt my drive during a Linux install, it encryps it, but I receive errors in dmesg and in ~/.xsessions-errors during use. The first error is in dmesg where it sometimes shows errors writing to the encypted device. The second error is in ~/.xsessions-errors with an error about... (0 Replies)
Discussion started by: justgoogleit
0 Replies

5. Shell Programming and Scripting

How to monitor system activity while executing tests

I need to monitor system activity (RAM, CPU usage, execution time) while running some tests on solaris, linux and aix and save the output. Please advise whether there's a utility available for these systems? How can time the execution of the command? Thanks! (2 Replies)
Discussion started by: smovla
2 Replies

6. UNIX for Dummies Questions & Answers

mksysb and system activity

Hello, With AIX 5.3 is it possible to run a mksysb with users logged into the system? The users are accessing a database app that runs on a separate physical disk than the system files. Does this even matter? Thanks (1 Reply)
Discussion started by: samsa1mi
1 Replies
Login or Register to Ask a Question