Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

1 Answer 1

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.