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:
Code:
topasrec -L -c 5 -s 60
... 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.
Code:
topas -R
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 OPENSOLARIS
mmsexplorer
mmsexplorer(1M) System Administration Commands mmsexplorer(1M)NAME
mmsexplorer - generate diagnostic report for Media Management System
SYNOPSIS
mmsexplorer -u [report_name] [num_lines]
DESCRIPTION
The mmsexplorer command creates a diagnostic report of the activities of the Media Managment System (MMS) server configuration and collects
log information. It constructs the diagnostic report from the most recent entries in the MMS log file, MMS database, and MMS trace file.
The MMS is a software interface, consisting of library managers and drive managers, that manages storage resources such as tape libraries,
tape drives, media pools, tape volumes, and the disk resources that emulate tape drives and tape volumes.
By default, mmsexplorer generates a compressed report. Use the -u option to generate an uncompressed file.
To run mmsexplorer, you must become superuser, or assume the Primary Administrator role.
OPTIONS
The following options are supported:
-u
Generates the diagnostic report file in an uncompressed format.
report_name
Specifies the name of the diagnostic report file. The default name and location is:
/tmp/MMSreport.<hostname.YYYYMMDD.HHMMZ>.tar.gz
num_lines
Specifies the number of lines to capture from each file that contributes to the diagnostic report. The default is 1000 lines.
EXAMPLES
Example 1 Creating Diagnostic Report Using Default Values
The following command creates a diagnostic report using all default values. The MMS server is running on a host named x400. This name is
reflected in the name of the diagnostic file.
# mmsexplorer
Report name: /tmp/MMSreport.x4200.20080530.1247CDT.tar.gz
Lines per file: 1000
Output format: tar.gz (default) Use -u for unarchived/uncompressed.
Please wait.............................................
Please wait.............................................
Please wait.............................................
Please wait.............................................
Please wait.............................................
Please wait..
The following files should now be ftp'ed to your support provider as
ftp type binary.
/tmp/MMSreport.x4200.20080530.1247CDT.tar.gz
Example 2 Creating an Uncompressed Diagnostic Report
The following command creates an uncompressed diagnostic report. As in the previous example, the MMS server is running on a host named
x400.
# mmsexplorer
Report name: /tmp/MMSreport.x4200.20080530.1252CDT
Lines per file: 1000
Output format: unarchived/uncompressed
Please wait.............................................
Please wait.............................................
Please wait.............................................
Please wait.............................................
Please wait.............................................
Please wait..
The following files should now be ftp'ed to your support provider as
ftp type binary.
/tmp/MMSreport.x4200.20080530.1252CDT
/tmp/MMSreport.x4200.20080530.1252CDT.database.gz
/tmp/MMSreport.x4200.20080530.1252CDT.trace.tar.gz
EXIT STATUS
0
Success.
!=0
An error occurred.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWsmms |
+-----------------------------+-----------------------------+
|Interface Stability |Volatile |
+-----------------------------+-----------------------------+
SEE ALSO mmsadm(1M), mmsclient(1M), mmsinit(1M), attributes(5)NOTES
The diagnostic report generated by mmsexplorer can be sent to your Sun authorized service provider or to Sun's technical support, as speci-
fied in your maintenance contract.
SunOS 5.11 29 Jul 2008 mmsexplorer(1M)