title: How do you get clock_gettime(2) clock in shell?
body: <p>I see no such option for <code>date</code></p>
  
  <p><code>/proc/uptime</code> is bootbased, not monotonic.</p>
  
  <p>And at last I found <code>cat /proc/timer_list | grep now</code> which yields number of nsecs which is obtained via <code>ktime_get</code> which is returning monotonic time if I understand correctly, but that's quite cumbersome.</p>
  
  <p><strong>update:</strong> the returned value must be the same as returned by <code>clock_gettime</code></p>