LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 12-04-2004, 08:12 AM   #1
Yoko
LQ Newbie
 
Registered: Oct 2004
Posts: 24

Rep: Reputation: 15
Question start date and start time of a process - jiffies


In /proc/<process number>/stat is a field, which corresponds to the numbers of jiffies (since boot up) at process start time. Does anybody know the exact relationship of jiffies and seconds? From this it would be possible to calculate the start date and start time of a process (using additionally the time since boot up and the actual date and time). Or is there an easier way to access the process start date and start time? I would like to use these data in a bash script.

Some more problems: jiffies may wrap around. Is it possible to detect, if wrap around has occured?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Start Date + Time Duration = End Date/Time calculator? ToBe Linux - General 3 09-26-2005 10:17 AM
Start process at boot frkstein Ubuntu 1 05-15-2005 01:53 PM
Incorrect process start time hulala Fedora 2 04-26-2005 09:36 PM
Start up process in terminal vitaliiluchka Linux - General 1 10-18-2004 11:21 PM
How to start a remote process jdarren Linux - General 1 03-24-2004 10:31 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration