Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What is the time unit in the lock stat output from /proc/lock_stat? microsecond or nanosecond?

class name    con-bounces    contentions   waittime-min   waittime-max waittime-total    acq-bounces   acquisitions   holdtime-min   holdtime-max holdtime-total
&(&dentry->d_lock)->rlock:       2917691        3323806           0.10      157427.70  2221545741.66        8786458       19485395           0.00         235.65    38647798.25
share|improve this question
up vote 2 down vote accepted

Buried in the documentation is the following line:

The integer part of the time values is in us.

So those values are in microseconds.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.