![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| get Thread information from process | umen | Shell Programming and Scripting | 2 | 02-12-2007 01:46 PM |
| Process information | fermisoft | UNIX for Dummies Questions & Answers | 4 | 12-13-2006 04:56 PM |
| Report Process Information (Help me) | jabcd | Shell Programming and Scripting | 1 | 02-21-2005 04:23 PM |
| pthreads run time information | hmurali | High Level Programming | 0 | 07-17-2002 02:24 AM |
| Process Information | rejise | UNIX for Advanced & Expert Users | 1 | 08-23-2001 10:09 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Hello,
I am working on Sun Solaris 5.7. I am trying to read the running time of a process through a C program. One way I am reading it is by using the command ps -<pid> -f The other way is from the struct psinfo_t which is there under /proc/pid/psinfo. However, the two times are different. The time read from the shell using ps -<pid> -f appears to be more realistic. Can someone please tell me which one to rely on ? regards, Murali |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|