Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

I am reading about jiffies in linux kernel. In one of the related example in the book Linux Device Driver, the author use

head -8 /proc/currentime

to print out some time information.

However this file is not present in my linux installation (kernel: 2.6.32-131.6.1.el6.x86_64).

Why is it the case? Is it because the file path is no longer valid, or it is a distribution feature thing?

It is not present in OSX too. What would be an equivalent in OSX?

share|improve this question
up vote 1 down vote accepted

It is not part of Linux. The only references to /proc/currenttime I could find are Linux kernel programming courses – along the lines of "Write a kernel module that creates a /proc/currenttime file..." It could be that your book has the same task and the author is simply referring to a previously written module.

share|improve this answer
As an aside, Mac OS X does not have procfs at all, never mind /proc/currenttime although there are ways to get it (e.g. ). – Scott Aug 22 '11 at 9:11

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.