pcstat icon indicating copy to clipboard operation
pcstat copied to clipboard

some file appears to be 0 bytes in length

Open coboe opened this issue 6 years ago • 2 comments

once a file is 0 bytes, pcstat is stop. and do not deal with other files.

$ ./pcstat /lib/x86_64-linux-gnu/libnsl-2.27.so |--------------------------------------+----------------+------------+-----------+---------| | Name | Size | Pages | Cached | Percent | |--------------------------------------+----------------+------------+-----------+---------| | /lib/x86_64-linux-gnu/libnsl-2.27.so | 97176 | 24 | 24 | 100.000 | |--------------------------------------+----------------+------------+-----------+---------|

$ ./pcstat /lib/x86_64-linux-gnu/libnsl-2.27.so /lib/x86_64-linux-gnu/liblzma.so.5.2.2 |----------------------------------------+----------------+------------+-----------+---------| | Name | Size | Pages | Cached | Percent | |----------------------------------------+----------------+------------+-----------+---------| | /lib/x86_64-linux-gnu/libnsl-2.27.so | 97176 | 24 | 24 | 100.000 | | /lib/x86_64-linux-gnu/liblzma.so.5.2.2 | 153984 | 38 | 38 | 100.000 | |----------------------------------------+----------------+------------+-----------+---------|

$ ./pcstat /home/gpu2/data1/rook/osd2/current/omap/LOCK 2019/11/21 08:07:04 /home/gpu2/data1/rook/osd2/current/omap/LOCK appears to be 0 bytes in length

$ ./pcstat /lib/x86_64-linux-gnu/libnsl-2.27.so /lib/x86_64-linux-gnu/liblzma.so.5.2.2 /home/gpu2/data1/rook/osd2/current/omap/LOCK 2019/11/21 08:08:30 /home/gpu2/data1/rook/osd2/current/omap/LOCK appears to be 0 bytes in length

coboe avatar Nov 21 '19 08:11 coboe

encountered the same issue.

wangdepeng avatar Jan 11 '20 04:01 wangdepeng

Interesting. I can't seem to reproduce it locally but will keep trying.

tobert avatar Sep 20 '21 22:09 tobert