From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,290b626fc464a8cc,start X-Google-Attributes: gidfee84,public From: Brian Buckley Subject: How can I get process start time on OSF1? Date: 2000/02/23 Message-ID: <38B3B548.C8E70D51@iona.com>#1/1 X-Deja-AN: 588782394 Content-Transfer-Encoding: 7bit X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@bvweb.dublin.iona.ie X-Trace: bvweb.dublin.iona.ie 951301535 2648 10.2.1.22 (23 Feb 2000 10:25:35 GMT) Organization: Iona Technologies Mime-Version: 1.0 NNTP-Posting-Date: 23 Feb 2000 10:25:35 GMT Newsgroups: comp.unix.osf.osf1 Hi there! I am trying to get a c function call for what should be really simple - getting the start time of a process (any process, i.e. of which I am not the owner). This is no problem in SVR4 systems with a procfs (solaris, IRIX, Linux) - just stat() the corresponding /proc entry for the process. Even AIX which has no procfs at least has a getprocs() system call. My system here has a procfs but for some reason which baffles me it updates the creation time of the /proc entries every minute (does anyone know why???) - so stat() is useless. I have searched the documentation for something like AIX's getprocs() to no avail. Help would be much appreciated. _______________________________________________________________ Brian Buckley. Any views expressed here are my own and do not represent those of my company.