LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - News > Syndicated Linux News
User Name
Password
Syndicated Linux News This forum is for the discussion of Syndicated Linux News stories.

Notices


Reply
  Search this Thread
Old 04-01-2012, 08:50 AM   #1
LXer
LXer NewsBot
 
Registered: Dec 2005
Posts: 128,364

Rep: Reputation: 118Reputation: 118
LXer: how to determine the runtime and start time of a Linux process


Published at LXer:

Yesterday, I needed to determine the runtime of a Linux process for a monitoring script. Cos the format for start_time of the ps command may change if the process was not started in the same year, I decided to take the neccessary informations from the /proc/[he]lt[/he]PID[he]gt[/he]/stat file.

Read More...
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to get Process start time ??? sachin1112 Linux - Newbie 1 09-13-2008 11:28 AM
Process start time check ratul_11 Linux - General 1 02-21-2008 05:49 PM
Determine program's runtime kd5pbo Slackware 5 03-14-2007 02:42 PM
Incorrect process start time hulala Fedora 2 04-26-2005 09:36 PM
start date and start time of a process - jiffies Yoko Programming 0 12-04-2004 08:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - News > Syndicated Linux News

All times are GMT -5. The time now is 03:32 PM.

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