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.

How to check the startup time of a particular program

Answer:

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
  1. How to check the ./configure arguments used during last program compilation
  2. How to get the file creation time?
  3. How to enable / disable service during startup in Fedora?
  4. How to check and kill long running MySQL query
  5. Display the top 10 processes used up the most of the memory

Leave a Reply

(required)

(required)

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>