Operating System - HP-UX
1832924 Members
2685 Online
110048 Solutions
New Discussion

Re: "erroneous" stime with ps command

 
SOLVED
Go to solution
fly_fisher
Advisor

"erroneous" stime with ps command

Hi all,

i'm getting some strange output fom the ps command. I executed yesterday at
Wed Jan 30 16:13:02 MET 2002 the ps command, and some stime outputs are greater than the current time:

nmpro 17087 1 0 Jan 29 ?
.
.
nmpro 20101 1 0 10:10:05 ?
nmpro 27791 1 0 13:12:12 ?
.
.
nmpro 4320 1 0 17:01:58 ? <---
nmpro 27747 1 0 17:14:43 ? <---
nmpro 8879 1 0 20:02:21 ? <---

Do anybody know the reason of that?
Thanks,
Catch and release !!!!!!
3 REPLIES 3
A. Clay Stephenson
Acclaimed Contributor

Re: "erroneous" stime with ps command

Hi:

I can only guess that the TZ variable for this process somehow got reset. Perhaps in a .profile?
If it ain't broke, I can fix that.
Steve Steel
Honored Contributor
Solution

Re: "erroneous" stime with ps command

Hi

I have the same because of how stime works.

It shows the start time and when less than 24 hours it is as you mention.


My time is now 16:08

I see 16:52 on an sh shell

That is yesterday at 16:52 and when 24 hours are finished it will show the date of yesterday.

Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
fly_fisher
Advisor

Re: "erroneous" stime with ps command

Thank you very much for your help
Catch and release !!!!!!