[erlang-questions] file:read_file won't read from /proc

Vlad Dumitrescu <>
Fri Mar 5 16:00:22 CET 2010


>> Okay, that makes sense. So what would the best way to read "files" in
>> /proc be? Is there any standard erlang way to read a stream till you
>> get an EOF?

Maybe os:cmd("cat /proc/cpuinfo") could work?

regards,
Vlad


More information about the erlang-questions mailing list