Re: [SOLVED] How to get the start time of a process

2010-03-12 Thread Dario Lesca
Il giorno ven, 12/03/2010 alle 16.57 +0100, Dario Lesca ha scritto: > Hi, how to get from a Shell the date that was start a process? I have found this simple suggest: http://linuxcommando.blogspot.com/2008/09/how-to-get-process-start-date-and-time.html Many thanks -- Dario Lesca -- users mai

Re: How to get the start time of a process

2010-03-12 Thread Patrick O'Callaghan
On Fri, 2010-03-12 at 16:57 +0100, Dario Lesca wrote: > Hi, how to get from a Shell the date that was start a process? > > Then command: "ps h -ostime $$" > show a value not usable for me (14:13 or May22 or 2009) > > The command: "awk '{print $22}' /proc/$$/stat" > show The time in jiffies the pr

How to get the start time of a process

2010-03-12 Thread Dario Lesca
Hi, how to get from a Shell the date that was start a process? Then command: "ps h -ostime $$" show a value not usable for me (14:13 or May22 or 2009) The command: "awk '{print $22}' /proc/$$/stat" show The time in jiffies the process started after system boot (es 1563950) and I do not known how