Geting a value dynamically from topas


 
Thread Tools Search this Thread
Operating Systems AIX Geting a value dynamically from topas
# 1  
Old 05-31-2011
Java Geting a value dynamically from topas

Hi all,

I got an idea to get a value (like Syscall or %comp details for example)dynamically from topas. Is there any way to do this. I guss there must be some door opened for this. I tried running topas and redirecting to a file but in vain.
The idea is, script should run topas in backround for one min when ever invoked and then should fetch the %comp, %noncomp etc, values.
I tried many silly ideas and ended up in Smilie

Guss some one can help and share some best ideas in it.

Thanks in advance,

Warm Regards,
J D
# 2  
Old 06-01-2011
see vmstat, svmon, sar, nmon, perfpmr
# 3  
Old 06-01-2011
Ya, I tried that... but im mainly looking for values like %comp, %noncomp values which im finding difficult to get from vmstat, svmon etc...
# 4  
Old 06-01-2011
Have not used these commands but they might work for you.

topasrec
topasout
# 5  
Old 06-03-2011
See man topas the part for -R flag. You can extract the reports using topasout. Also useful will be xmwlm.


xmwlm: illegal option -- h
Usage: xmwlm {-d recording_dir} {-n recording_name} {-t trace_level} {-L}
Flags:
-L to activate daily recordings in /etc/perf/daily.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Not able to find the perfect code...Geting confused in between

I have to find last delimiter in each line of a file and store the value after the last '/' in a variable in ksh script...Pls Pls help me:(The file is as shown below: /opt/apps/cobqa/apps/abadv/bind/advc0007.bnd /opt/apps/cobqa/apps/abbrio/bind/naac6115.bnd... (5 Replies)
Discussion started by: bhavanabahety
5 Replies

2. UNIX for Advanced & Expert Users

Kernel Modules Not geting built

I installed in VM the Mandriva Linux with 2.6.27 kernel. But presently when I fire make the modules .ko does not get built. I get the following output on firing command in the kernel module folder. $ make Building first_driver.c ... make: Entering directory... (1 Reply)
Discussion started by: rupeshkp728
1 Replies

3. Shell Programming and Scripting

geting a value out of awk script

the value of flag is reset inside the awk statments and is not getting echoed out of it. how can this be done?? #!/bin/ksh flag=0 awk -F '' '$2 == "ABCD" && $6 == "MNOP"{flag=1}' file.xml echo $flag I am always getting the value of flag as "0" , even after the $2 is "ABCD" and $6 is... (2 Replies)
Discussion started by: skyineyes
2 Replies

4. Shell Programming and Scripting

geting user input from php and using perl for execution

I am using festival speech synthesis system and I would like to allow user input in a browser. This will be taken by a php page which is then supposed to pass the input text to a perl script. The perl script should pass this text to the festival engine by executing a unix command. this in turn... (2 Replies)
Discussion started by: wairimus
2 Replies

5. Shell Programming and Scripting

geting the real path

Hi there, Is there any way to obtain a real path from a weird path. For example : /foo/../bar/ -> /bar/ /foo/. -> /foo/ Thanks in advance Santiago (5 Replies)
Discussion started by: chebarbudo
5 Replies

6. AIX

using TOPAS

Hi, I'm using topas to monitor CPU and Disk activity including paging space. Previously, I can see the percentage activity of the disk under column "BUSY%", now I can no longer view it (it's all zero), unless I will run IOSTAT 2 simultaneously. What would be the cause of this? Thanks, (2 Replies)
Discussion started by: pasion
2 Replies

7. Solaris

I am geting error while trying to stop managed server of WEB LOGIC

Dear All, I am geting error while trying to stop managed server of WEB LOGIC through the command stop_wls managed1_wlsdom02.Can anyone tell me why I am geting this error?managed1_wlsdom02.pid exists at the path mentioned. Do you need any other details?... (0 Replies)
Discussion started by: ASHISH MISHRA
0 Replies

8. Shell Programming and Scripting

geting server name(ipaddress)

hi, can any one say how to get the server name if we know the ipaddress ie nslookup gives ipaddress if server name is given in the same way can i have server name if i know ipaddress thanks & regards babu :o (1 Reply)
Discussion started by: babu@shell
1 Replies

9. AIX

topas issue

how to capture output of topas command to text file by shell ??? I tried to do it by below method , but it is different to topas's output . The output file include ansi code as moves cursor up # lines , moves cursor up # lines ...... :( someone can help me ??? 1. (sleep 6; echo q)|topas... (2 Replies)
Discussion started by: charles_su
2 Replies

10. UNIX for Advanced & Expert Users

Topas

Hi ! I would like to collect every minute the data of the "topas" to file. Under Redhat 9, it's possible to user comand "top" in batch mode ! How is it possible under unix with TOPAS ? Because there is not the parameter " -b"... example ----> topas > filename.out but, it doesn't... (1 Reply)
Discussion started by: cgatrader
1 Replies
Login or Register to Ask a Question