Unix questions - fork() ?

This is Interesting: Free IT Magazines  
Home > Archive > Unix questions > November 2005 > fork() ?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author fork() ?
friend.05@gmail.com

2005-11-18, 5:53 pm

I want the time of last fork() call in my program. How can I know this
time?

Lars Kellogg-Stedman

2005-11-18, 5:53 pm

> I want the time of last fork() call in my program. How can I know this
> time?


You could record the time yourself:

last_fork_time = time(NULL);
pid = fork();


-- Lars

--
Lars Kellogg-Stedman <8273grkci8q8kgt@jetable.net>
This email address will expire on 2005-11-23.

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com