Record topas command output


 
Thread Tools Search this Thread
Operating Systems AIX Record topas command output
# 1  
Old 07-29-2013
Record topas command output

How to record output of below command in a text file.

Code:
topas -P

or is there any other command which will do the same thing in AIX.

I would like to get a report something similar to below commands.

Code:
top -b
prstat -c

# 2  
Old 07-29-2013
you can use redirection to send the command output to a file instead of the standard output (that is your display device).
Code:
top -b > top_output.txt

# 3  
Old 07-29-2013
Code:
top -b

is not available in AIX.
# 4  
Old 07-29-2013
Set up nmon, it can write this information to a file. nmon2rrd can convert it to a graphic, if needed.

Check the link: nmon
# 5  
Old 07-30-2013
@zaxxon is it possible for nmon to record only process related information (pid,process,user &cpu) ,similar to pressing t/u in nmon interactice mode.
# 6  
Old 07-31-2013
IIRC, it records some information automatically so it is not just the plain output of your top processes. You can check the documentation for nmon and try it out.
Here a short excerpt from the documentation:
Quote:
Code:
nmon -fT -s 15 -c 240

... line also captures the top processes. Both of these will create the output file in the current directory called: <hostname>_date_time.nmon
This file is in a comma separated values format and can be imported into a spread sheet directly.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Alternative command for topas

hi, I need alternative command for topas to check cpu %, i tried with ps but their is lot of diffference between the outputs of two commands... Thanks (3 Replies)
Discussion started by: sumanthupar
3 Replies

2. AIX

Need help on topas command

Hi, how to grep data from topas command...for example i have to grep owner from topas command Thanks (2 Replies)
Discussion started by: sumanthupar
2 Replies

3. Shell Programming and Scripting

Help with topas command

How do i display only one iteration of topas command. Ideally i would topas -P to show only one instance rather than keep on running. is there any swicth? (1 Reply)
Discussion started by: NarayanaPrakash
1 Replies

4. UNIX for Advanced & Expert Users

Redirect Topas output to a file

Hi, I want to know how to redirect the output of topas -P to a file in a readable format. I tried doing it by using topas -P > topas.txt but the output is not properly aligned and when I opened it using vi it ahd some characters. Please help me out in this. Thanks (1 Reply)
Discussion started by: Preetha
1 Replies

5. UNIX for Dummies Questions & Answers

TOPAS command in Unix

Hi, I am able to see the output of TOP command in my unix server whereas i could not see for TOPAS $ topas nologin: topas: not found May i know what is topas in unix and how to resolve this? Thanks (3 Replies)
Discussion started by: Maddy123
3 Replies

6. UNIX for Dummies Questions & Answers

Help with TOPAS command

I used the TOPAS command to get top 20 process information by routing the output to a file. But the output is not very readable. can ayone explain how to read the output, or how to interpret the information? Thanks! (3 Replies)
Discussion started by: ginnyr1
3 Replies

7. AIX

topas -P output to file

Hi, I need to output to a file, what will be ftp'ed to windows the output of a topas -P command in AIX. I can't install anything in the server (because it's the bank AIX server) but i need to control and keep the history of the % cpu that my processes use. I tried to use topas -R >>... (7 Replies)
Discussion started by: jtmartins
7 Replies

8. UNIX for Dummies Questions & Answers

command topas

hi, everybody i have a problem about performane in unix when i run topas, there 1 form show, there are many parameter about memory,cpu,.... i want to know detail about those example : MEMORY Real,MB 12287 % Comp 25.0 % Noncomp 75.8 % Client 0.5 comp mean ? 25 mean ? 25MB or 25%memory... (6 Replies)
Discussion started by: tokienlua
6 Replies

9. AIX

How to redirect output of topas?

Hi , How do i redirect output of topas to a file. i did not find any such option in topas command. Regards, Ashok (2 Replies)
Discussion started by: ashokd001
2 Replies

10. AIX

topas -P save output

hi i have server monitor script which totally depends upon the output of TOP which works fine on HP. now i am told to put same script on aix i found that topas -P produces same output but it doesnt redirect output to file i have to kill/terminate it. is there any other way to this. as the... (0 Replies)
Discussion started by: zedex
0 Replies
Login or Register to Ask a Question