![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| 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 |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
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 |
|
||||
|
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
|
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|