Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

Mar 312010

How to check the startup time of a particular program


E.g. To check the startup time of MySQL server:

# ps -eo pid,user,cmd,lstart | grep /sbin/mysqld
 3546 mysql    /usr/sbin/mysqld --basedir= Tue Mar 30 21:29:12 2010
 9195 root     grep /sbin/mysqld           Tue Mar 30 22:43:33 2010

 Leave a Reply



You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>