How to access PID in Process accounting on HP-UX?
Posted on 1997-05-22
On HP-UX 10.x,can I access historical process ID(not current ones)in process accounting and how? Because we want already past information,specially PID to match with other applications for the purpose of accounting. But as far as I know, the command "acctcom" in HP-UX 10.x can not provide information like PID or PPID. If I am in badly need of PID, how can I do that? Of course, I can't use "ps" to get PID,Because I need those PIDs which corresponding process finished already. Will there be future version of HP-UX or special accounting software that will or can provide such functionality in accounting?
On the other hand, I know HP MeasureWare and PerfView can provide past info like PID,PPID as well as other resource utilization, but it can only provide sampling data every minute,which is not so accurate as "acct" functionality provided by HP-UX itself.
Can you give me any solutions or recommendations on that?