Help with TOPAS command


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Help with TOPAS command
# 1  
Old 12-12-2009
Data 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!
# 2  
Old 12-12-2009
don't think that is possible. use the nmon utility. it is like topas but better and also has a batch mode. you can also get the same information with the ps command.
# 3  
Old 12-12-2009
well it is too late now as I have a bunch of these files saved.

If someone can at least describe what the format is, maybe I can recover some info manually. Not the best option, but I am new and did not know about this site before!!

Any help appreciated -- I can read much of the file, what I don't understand is why the lines after the first one or two sets appear 'short'. Maybe the command is only sending the delta to the screen display. If that is it I can work with it, i just need to get an idea of what I have *lots and lots* of already.

Thanks!
# 4  
Old 12-13-2009
I do not know for sure if topas works the same as top. I tested with top and redirected output to top.out (that is what you did, right?). I then used strings to filter out the screen positioning characters and then I did some more filtering. Perhaps that works for you and then you can take it from there:

Code:
strings top.out | sed '/\^[/d;s/^(B//'

Output:
Code:
top - 09:11:49 up 31 min,  1 user,  load average: 0.06, 0.03, 0.05
Tasks:
  75
   1
  74
   0
   0
Cpu(s):
  0.0%
  0.3%
  0.0%
 99.7%
  0.0%
  0.0%
  0.0%
  0.0%
Mem:
   255908k
   246304k
     9604k
    32500k
Swap:
   433712k
        0k
   433712k
   151816k
    1 root      20   0  2980 1864  544 S  0.0  0.7   0:02.66 init
    2 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 kthreadd
[...]
etcetera

In future you could either use ps or e.g. sar for this purpose or perhaps you can select command line options that save topas information without the screen information, like top has.

Last edited by Scrutinizer; 12-13-2009 at 04:35 AM..
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

To get only the cpu info from the topas command terminal

To get only the cpu info from the topas command terminal. CPU User% Kern% Wait% Idle% Physc Entc ALL 2.3 4.4 0.0 93.3 0.07 7.7 I tried some thing like this but did not work topas << done grep "ALL" q done Can someone help me in this. (5 Replies)
Discussion started by: rpm120
5 Replies

2. AIX

Need to grep two lines from the topas command through a Korn Script

I need to grep two lines from topas command in one of my AIX server. Topas Monitor for host: semas001 EVENTS/QUEUES FILE/TTY Wed Jan 29 10:12:06 2014 Interval: 2 Cswitch 764 Readch 4473.1K Syscall 5166 ... (4 Replies)
Discussion started by: rpm120
4 Replies

3. 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

4. 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

5. AIX

Record topas command output

How to record output of below command in a text file. 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. top -b prstat -c (5 Replies)
Discussion started by: NarayanaPrakash
5 Replies

6. 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

7. 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

8. AIX

Top command in AIX 4.2 (no topas, no nmon, no top)?

Is there a 'top' command equivalent in AIX 4.2 ? I already checked and I do not see the following ones anywhere: top nmon topas (1 Reply)
Discussion started by: Browser_ice
1 Replies

9. UNIX for Advanced & Expert Users

How to schedule "topas" command in crontab

Hi, Grateful if you could advise how to schedule the AIX "topas" command in crontab? Below script works fine at shell prompt. But it does not run via crontab at an AIX Server. Script: topas_run.sh export top_file=/oracle/rman_scripts/"topas_run"_`date '+%m_%d_%y_%H_%M_%S'`".txt" echo >>... (7 Replies)
Discussion started by: schandrakar1
7 Replies

10. 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
Login or Register to Ask a Question