1824809 Members
4058 Online
109674 Solutions
New Discussion юеВ

Re: diagnostics logs

 
SOLVED
Go to solution
Carme Torca
Super Advisor

diagnostics logs

Hi,
I would like to known where is the file ascii with the last diagnostics logs.

Thanks very much!,
Carmen.
Users are not too bad ;-)
4 REPLIES 4
Pete Randall
Outstanding Contributor
Solution

Re: diagnostics logs

Hi Carmen,

I think you're looking for /var/stm/logs/sys/diaglogd_activity_log.


Pete

Pete
Carme Torca
Super Advisor

Re: diagnostics logs

Thanks,

but I if do one #more , I cannot see it very well... Is there any way to see it ok??
Users are not too bad ;-)
Pete Randall
Outstanding Contributor

Re: diagnostics logs

Well, the strings command makes it more readable, but I think you're really supposed to use stm to view it: cstm or xstm. Try running xstm > System > SystemActivityLog.


Pete

Pete
Dan Yeatman
Advisor

Re: diagnostics logs

The log is not kept as an ascii file, you must format and save the file using cstm as follows:

run cstm
cstm>ru
2 (for logtool)
fr (format raw)
select default directory
fl (View formatted log)
q (quit)
SA (Save As) and give it a file name, this file will be ascii viewable)

exit logtool and cstm
--------------------------------
It will look something like the following:

cstm>ru
-- Run Utility --
Select Utility
1 MOutil
2 logtool
Enter selection : 2

-- Logtool Utility --
To View a Summary of Events in a Raw Log

1. Select a raw (unformatted) log file. (File Menu -> "Select Raw")
The current log file ends in ".cur", e.g. "log1.raw.cur".
You do not have to switch logs.

2. View the summary of the selected log file. (View Menu -> "Raw Summary")

To Format a Raw Log

1. Set the format filter for the types of entries you want to see.
(Filters Menu -> "Format"). To see all entries, skip this step.

2. Format the raw log file. (File Menu -> "Format Raw")

3. Display the formatted file. (View Menu -> "Formatted Log")

4. To further narrow the entries displayed, set a display filter.
(Filters Menu -> "Display" -> "Formatted")

For more information, use the on-line help (Help Menu -> "General help").
Logtool Utility>fr
Select Raw processing file /var/stm/logs/os/log1.raw.cur
Number of entries analyzed is 1.
Number of entries analyzed is 51.
Number of entries analyzed is 101.
Number of entries analyzed is 151.
Number of entries analyzed is 201.
Number of entries analyzed is 251.
Number of entries analyzed is 301.
Number of entries analyzed is 306.
The Select Raw operation completed.

-- Logtool Utility: Format Raw Log File --

Select a directory into which to place the formatted file:
Directory: [/var/stm/logs/os/]

The Format Raw operation is currently in progress.

Entries processed is 1 of 306 total entries; entries formatted is 1.
Entries processed is 51 of 306 total entries; entries formatted is 51.
Entries processed is 101 of 306 total entries; entries formatted is 101.
Entries processed is 151 of 306 total entries; entries formatted is 151.
Entries processed is 201 of 306 total entries; entries formatted is 201.
Entries processed is 251 of 306 total entries; entries formatted is 251.
Entries processed is 301 of 306 total entries; entries formatted is 301.
Entries processed is 306 of 306 total entries; entries formatted is 306.
The Format Raw operation completed successfully. The following raw log file(s)
were formatted into /var/stm/logs/os/log1.fmt4:

/var/stm/logs/os/log1.raw.cur

The Display Formatted Summary operation is currently in progress.

-- Converting a (2352) byte raw log file to text. --
Preparing the Logtool Utility: View Formatted Summary File ...

>>>(some summary info will display)<<<

Logtool Utility>fl
The Display Formatted Log operation is currently in progress.

-- Converting a (220360) byte raw log file to text. --
Preparing the Logtool Utility: View Formatted Log File ...

...

-- Logtool Utility: View Formatted Log --

Formatted Output of: /var/stm/logs/os/log1.fmt4
Formatted from: /var/stm/logs/os/log1.raw.cur

Date/time of first entry: Fri Jul 2 18:19:14 2004

Date/time of last entry: Mon Feb 7 12:41:04 2005


Display Filters:

Starting Date: Fri Jul 2 18:19:14 2004

Ending Date: Mon Feb 7 12:41:04 2005


=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=


Entry Type: I/O Error
-- Logtool Utility: View Formatted Log --
View - To View the file.
Print - To Print the file.
SaveAs - To Save the file.
Enter Done, Help, Print, SaveAs, or View: [Done] SA
-- Save Logtool Utility: View Formatted Log --
Logtool Utility: View Formatted Log File
Path: /var/stm/logs/os/
File Name:t3

Enter Done, Help, Print, SaveAs, or View: [Done]
Display of the formatted log file was successful.

Logtool Utility>
Logtool Utility>exit
-- Logtool Utility. --

>>>>>>> ( EXIT LOGTOOL AND CSTM ) <<<<<<<<