Access /proc via scala API