How to get the start time of a process

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 to convert it in date/time.

I want to find all processes older than n-days and send them a special
signal

Some suggest?

Many thanks

-- 
Dario Lesca <d.lesca@xxxxxxxxxx>

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux