Sponsored Content
Operating Systems Linux Process start time not showing correct time Post 302326697 by hemangjani on Thursday 18th of June 2009 12:52:38 PM
Old 06-18-2009
Process start time not showing correct time

Process start time is not showing the correct time:

I had started a process on Jun 17th at 23:30:00.
Next day morning when I run the command "ps -ef | grep mq", the process is showing the start date of Jun 17th but the start time is 00:16:41

Day/Date is setup correctly on the server.

It is not that the process took that long time to startup as the process was available right after the it was started at 23:30:00

Any suggestions?
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

start a process at boot up time

Hi, I have a program that check the IP address and automatic update it to the DNS server. I would like to run this program when the computer bootup after pppd get a connection. How do I add it to the init file. Does any one have any information of how to do it. I run a Linux Mandrake as a... (1 Reply)
Discussion started by: vtran4270
1 Replies

2. Programming

get process start time

Hi all, I like to know how can I get currenlty running process start time and date , I know only porcess id in solaris and hp-ux and what is command to get same using ps with switch. Thanks Naeem (1 Reply)
Discussion started by: naeem ahmad
1 Replies

3. UNIX for Advanced & Expert Users

to get process start date and time

what is command to get same using ps with switch. I know process id, by specify process id. It should work on solaris and hp-ux I will be happy if for both different commands. (2 Replies)
Discussion started by: naeem ahmad
2 Replies

4. UNIX for Advanced & Expert Users

start time of a terminated process

Hi, I have a shell script which i am running. I want it's starting time (the time when the execution of the shell script started) in another shell script. Note that the process has already terminated when i need it's starting time.... else i could have used ps -f | cut -d" " -f5... But that's... (2 Replies)
Discussion started by: k_chaaya
2 Replies

5. UNIX for Dummies Questions & Answers

start process at assidned date and time

How can I start FTP at assigned DATE and TIME? (6 Replies)
Discussion started by: gd2003
6 Replies

6. HP-UX

HP UX start process at boot time

When I get start program at boot I read which run level /sbin/rcx.d runlevel=0.....x only read directory which directory name has UpperCase 'S' is not enough someone says that I need to reference another file which file I need to reference 1)/etc/rc.config.d/all file which parameter... (4 Replies)
Discussion started by: alert0919
4 Replies

7. Solaris

How to get process start date and time in SOLARIS?

how can I get the process start date and time? using ps command i can get the timstamp for a process, which are started today. and only date (MMM DD) for others. i need to get both for all the running process. please help. Regards, Jagadeeswaran.K (7 Replies)
Discussion started by: Jagadeeswaran.K
7 Replies

8. Shell Programming and Scripting

ps showing inconsistent process start time

Not sure if it makes a difference but "foo" is a java process. The start time reported by various flavors of ps seems to be flopping back and forth by a minute. I have many (a few hundred) "foo" like processes which tend to be somewhat unstable and get restarted somewhat frequently, I wrote a... (2 Replies)
Discussion started by: jstrangfeld
2 Replies

9. UNIX for Dummies Questions & Answers

how to get start time of a running process

I am trying to see if a process is running what was its start time. here is the code that I am using if then echo 'Gateway output processing started.' else VAR=$(ps -ef | grep batch_output_x ) ... fi now the problem i see is when the process is running i get two... (3 Replies)
Discussion started by: akabir77
3 Replies

10. Shell Programming and Scripting

How to calculate time difference between start and end time of a process!

Hello All, I have a problem calculating the time difference between start and end timings...! the timings are given by 24hr format.. Start Date : 08/05/10 12:55 End Date : 08/09/10 06:50 above values are in mm/dd/yy hh:mm format. Now the thing is, 7th(08/07/10) and... (16 Replies)
Discussion started by: smarty86
16 Replies
acctcom(1M)															       acctcom(1M)

NAME
acctcom - search and print process accounting files SYNOPSIS
[[option]... [file]] ... DESCRIPTION
The command reads file, standard input, or in the form described in acct(4) and writes selected records to standard output. Each record represents the execution of one process. The output has the following column titles: Optionally, the following can be displayed: flag: for without System exit status Total blocks read and written PRM process resource group ID The command name is preceded by a if a privileged user is required to execute the command. For example, if a user is logged in as and executes the command to check the time, this does not require a privileged user, and will be shown by without the character on the line. If the user executes the command to set the time, this requires a privileged user, and so will be marked with a by If a process is not associated with a known terminal, a is printed in the field. The system exit status is if the process terminated by calling If it is not it is the signal number that caused the process to terminate. If a core file image was produced as a result of the signal (see signal(5)), the value is the signal number plus If no files are specified, and if standard input is associated with a terminal or (as is the case when using in a shell), reads Otherwise, it reads standard input. If any file arguments are given, they are read in their respective order. Each file is normally read forward, that is, in chronological order by process-completion time. The file is usually the current file to be examined. A busy system may need several such files of which all but the current file are found in Options recognizes the following values for the option argument. Listing options together has the effect of a logical AND. Show some average statistics about the processes selected. Statistics are printed after the output records. Read backwards, showing latest commands first. This option has no effect when standard input is read. Print in octal the flag and system exit status columns in the output. Instead of mean memory size, show the fraction of total available CPU time consumed by the process during its execution. This is computed as: Print columns containing the I/O counts in the output. Instead of memory size, show total kcore-minutes. Show mean core size (the default). Show the PRM process resource group ID of each process. See DEPENDENCIES. Show CPU factor: Show separate system and user CPU times. Exclude column headings from the output. Show only processes belonging to terminal Show only processes belonging to user, specified as: a user ID, a login name that is then converted to a user ID, a which designates only those pro- cesses executed by a privileged user, or which designates only those processes associated with unknown user IDs. The and characters should be preceded by a backslash and typed as and to prevent the shell from interpreting the as the start of a comment, or the as a pattern. Show only processes belonging to group, specified as either the group ID or group name. Select processes existing at or after time, given in the format: Select processes existing at or before time; see Using the same time for both and shows the processes that existed at time; see Select processes starting at or after time; see Select processes ending at or before time; see Show only commands matching pattern, where pattern is a regular expression as in ed(1) except that means one or more occurrences. Do not print any output records. Just print the average statistics as with the option. Copy selected process records in the input data format to ofile. Suppress standard output printing. Show only processes that exceed factor, where factor is the "hog factor" as explained in option Show only those processes with operating system CPU time exceeding time; see Show only processes with total CPU time, system plus user, exceeding sec seconds. Show only processes transferring more characters than the cut-off number given by chars. Show only processes belonging to process resource group prmgroup, specified as either process resource group name or ID number. See DEPENDENCIES. WARNINGS
only reports on processes that have terminated. For active processes, use the command (see ps(1)). If time exceeds the current system clock time, time is interpreted as occurring on the previous day. The accounting flag is not cleared when one processes exec's another, but only when one process forks another. One side-effect of this is that some processes will be marked with when users do not expect them to be. For example, the command requires a privileged user to assume the identity of the user who is logging-in, setting the ASU bit in the accounting flag (which ultimately causes the symbol in the output). After assuming the user's identity, exec's the user's shell. Since the exec does not clear the ASU flag, the shell will inherit it, and be marked with a in the output. The mean memory size may overflow for values greater than DEPENDENCIES
HP Process Resource Manager The and options require the optional HP Process Resource Manager (PRM) software to be installed and configured. See prmconfig(1) for a description of how to configure HP PRM, and prmconf(4) for the definition of process resource group. FILES
SEE ALSO
ps(1), su(1), acct(1M), acctcms(1M), acctcon(1M), acctmerg(1M), acctprc(1M), acctsh(1M), fwtmp(1M), runacct(1M), acct(2), wait(2), acct(4), utmp(4), signal(5). HP Process Resource Manager: prmconfig(1), prmconf(4) in STANDARDS CONFORMANCE
acctcom(1M)
All times are GMT -4. The time now is 03:49 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy