Operating System - OpenVMS
1748062 Members
5654 Online
108758 Solutions
New Discussion юеВ

Re: how to get Gone process details in VMS

 
shiva27
Frequent Advisor

how to get Gone process details in VMS

Can you pl. help urgently,

yesterday one of the application process stopped suddenly and process no more exist in the system ,application team wants the start and end of that process to troubleshoot the issue. they've given process id and name of the process.

I checked operator.log and ACCOUNTNG.DAT file has not updated since long time
9 REPLIES 9
Phil.Howell
Honored Contributor

Re: how to get Gone process details in VMS

accountng.dat will only get its modified date changed when it is closed.
$ acc /ident= should work
Phil
shiva27
Frequent Advisor

Re: how to get Gone process details in VMS

$ accou/ide=00001E0F /log
%ACC-I-INPUT, SYS$SYSROOT:[SYSMGR]ACCOUNTNG.DAT;2, 0 selected, 136 rejected

$accou/ide=737E_xyz
%ACC-F-SYNTAX, error parsing '737E_xyz'

note:account.dat file we've defined to different disk other than system disk.

$sho acc
Accounting is currently enabled to log the following activities:

PROCESS any process termination
INTERACTIVE interactive job termination
LOGIN_FAILURE login failures
SUBPROCESS subprocess termination
DETACHED detached job termination
BATCH batch job termination
NETWORK network job termination
PRINT all print jobs
MESSAGE user messages
Steven Schweda
Honored Contributor

Re: how to get Gone process details in VMS

> $accou/ide=737E_xyz
> %ACC-F-SYNTAX, error parsing '737E_xyz'

Is this unexpected?

alp $ help acco /iden *

ACCOUNTING

/IDENT

Description
[...]
Each process-id must be a hexadecimal number of eight digits or
less.
[...]

Around here, "_" is not a valid hex digit.
Phil.Howell
Honored Contributor

Re: how to get Gone process details in VMS

$ accou/ide=00001E0F /log
%ACC-I-INPUT, SYS$SYSROOT:[SYSMGR]ACCOUNTNG.DAT;2, 0 selected, 136 rejected

this shows it's looking at the system disk
and 136 records is not many

$accou/ide=737E_xyz
%ACC-F-SYNTAX, error parsing '737E_xyz'

this is not pid, a process name doesn't work do you know the image name?
if so use /image=

note:account.dat file we've defined to different disk other than system disk.

Then use
$ acc/ident=
or
$ acc/image=

Phil
shiva27
Frequent Advisor

Re: how to get Gone process details in VMS

Hi steven,

That was typo mistake,

can u pl. suggest on below error,

$ accou/ide=00001E0F /log
%ACC-I-INPUT, SYS$SYSROOT:[SYSMGR]ACCOUNTNG.DAT;2, 0 selected, 136 rejected
shiva27
Frequent Advisor

Re: how to get Gone process details in VMS

Thanks! it's thru.

can we collect the completed audit trail information from this process id , so that we can troubleshoot yestderday issue.
Volker Halle
Honored Contributor

Re: how to get Gone process details in VMS

Make sure you're looking at the correct ACCOUNTNG.DAT file. Just test with ACC/BRIEF and look at the timestamps of the entries.

If you have re-directed your accounting file, you need to specify the full accounting file filename on the ACC command line as a parameter.

Troubleshooting just based on the accounting entry may not get you very far. The best you can expect would be to see the exit status value and the termination time.

You can typically get more information from the application process logfile - if it has one. Look at the running process with

$ ANAL/SYS
SDA> SET PROC
SDA> SHOW PROC/CHAN

Does any opened file look like a .LOG file ?

SDA> EXIT

Volker.
Kumar_Sanjay
Regular Advisor

Re: how to get Gone process details in VMS

How do you know you Process is stopped ?
Have you checked is there any activity?
is it Hanged ?

what you did to resolved ?
whould you please share ??
shiva27
Frequent Advisor

Re: how to get Gone process details in VMS

Sanjay ,

We've monitoring tool and in that found this process was looping.At that time we had less time to trobleshoot coz of business impact. So we've restarted that image and since last 2 days it's working fine.

We analyze and found that application user initiated wrong procedure.

Cheers...