I want to parse /proc/net/tcp/, but is it safe? How should I open and read files from /proc/ and not be afraid, that some other process (or the OS itself) will be changing it in the same time?
The /proc/net files are not guaranteed to be consistent, they are only consitent on the row level. This is probably one of the reasons why consequent read calls might return duplicate entries - the kernel is changing the file as it is being read. In certain situations this might lead to loop like situations - the same net entry is being returned by consequent read calls as new connections are adde
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く