try rather topasrec or smitty performance / smitty topas ...
To start a report that runs for 5 minutes and collects metrics every 1 minute, enter the following command:
... the file will be in the directory you were in when starting the record and in the format servername_timestamp.topas ... data will be binary and you can run it through nmon analyzer or generate a report via smitty topas panel.
collects data as well and the data is stored automatically in /etc/perf/** but as far as I know there is no possibility to define any values like count or intervals - all you get is the default - and you would need to run it as well through either topasout or nmon analyzer or the smitty panel to really have useful data ...
There was a webinar last year from the AIX virtual usergroup about topas recording - have a look into '2008-9-25_Topas_Recording.wmv' that can be found here:
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)
good morning
what is the better solution to examen a P570 ?
because i use topas and nmon, and the results are totally different !!!
with nmon, i have 80% free cpu, and with nmon, i have 90% of used cpu !!!!!!
i take a shot with an intervall of 10s during 10 mn.
thank you (0 Replies)
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)
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)
Hi,
I have two files , one file with data file with attributes that need to be sent to another file to generate a predefined format.
Example:
File.txt
AP|{SSHA}VEEg42CNCghUnGhCVg==
APVG3|{SSHA}XK|"password"
AP3|{SSHA}XK|"This is test"
....
etc
---------
test.sh has... (1 Reply)
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)
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)
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)
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
LEARN ABOUT NETBSD
script
SCRIPT(1) BSD General Commands Manual SCRIPT(1)NAME
script -- make typescript of terminal session
SYNOPSIS
script [-adfpqr] [-c command] [file]
DESCRIPTION
script makes a typescript of everything printed on your terminal. It is useful for students who need a hardcopy record of an interactive
session as proof of an assignment, as the typescript file can be printed out later with lpr(1).
If the argument file is given, script saves all dialogue in file. If no file name is given, the typescript is saved in the file typescript.
Option:
-a Append the output to file or typescript, retaining the prior contents.
-c command
Run the named command instead of the shell. Useful for capturing the output of a program that behaves differently when associated
with a tty.
-d When playing back a session with the -p flag, don't sleep between records when playing back a timestamped session.
-f Flush output after each write. This is useful for watching the script output in real time.
-p Play back a session recorded with the -r flag in real time.
-q Be quiet, and don't output started and ended lines.
-r Record a session with input, output, and timestamping.
The script ends when the forked shell exits (a control-D to exit the Bourne shell (sh(1)), and exit, logout or control-d (if ignoreeof is not
set) for the C-shell, csh(1)).
Certain interactive commands, such as vi(1), create garbage in the typescript file. script works best with commands that do not manipulate
the screen, the results are meant to emulate a hardcopy terminal.
ENVIRONMENT
The following environment variable is used by script:
SHELL If the variable SHELL exists, the shell forked by script will be that shell. If SHELL is not set, the Bourne shell is assumed. (Most
shells set this variable automatically).
SEE ALSO csh(1) (for the history mechanism).
HISTORY
The script command appeared in 3.0BSD.
BUGS
script places everything in the log file, including linefeeds and backspaces. This is not what the naive user expects.
BSD October 17, 2009 BSD