The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Differences between time command and usr/bin/time icedrake UNIX for Dummies Questions & Answers 2 02-24-2009 10:48 AM
how to numeric sort on field time rahulspatil_111 Shell Programming and Scripting 1 04-27-2007 11:52 AM
sed command to change 2nd field Julius Shell Programming and Scripting 4 10-08-2006 08:30 AM
PS Command Field akuma Linux 2 11-08-2005 09:49 AM
exec command and field descriptors.. moxxx68 UNIX for Dummies Questions & Answers 5 12-04-2004 05:58 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 05-12-2008
nhatch nhatch is offline
Registered User
  
 

Join Date: Aug 2002
Location: London, England
Posts: 84
ps command - time field

Hi all,

Can someone extending on what the time field is explaining in a ps command.

Man page only has this:
time The cumulative execution time for the process.

Is this a combined CPU time? if that is the case then it should be impossible to have a 00:00 time on any process.

Any ideas?

Cheers,
Neil
  #2 (permalink)  
Old 05-12-2008
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
  
 

Join Date: Feb 2004
Location: NM
Posts: 5,715
No. the seconds in 00:00 is a rounded value. Many processes use small amounts of CPU time, less than 1 ms. And yes it is parent + all children.

We are on a fast HPUX PA_RISC box. Most processes show 00:00 because they use a tiny amount of CPU time.
Code:
jmcnama  3002  2993  0 08:29:57 ?         0:00 sshd: jmcnama@pts/0
 jmcnama 11290  3005  1 10:13:53 pts/0     0:00 grep jmc
    root  2993  2175  0 08:29:51 ?         0:00 sshd: jmcnama [priv]
 jmcnama  3005  3002  0 08:29:57 pts/0     0:00 -ksh
 jmcnama  8732     1  0  Apr 29  ?         0:07 uzpletd a b
 jmcnama 11289  3005  2 10:13:53 pts/0     0:00 ps -ef
uzpletd is a daemon running in test mode for 14 days. All the other processes show 00:00.
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 05:36 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0