如何使用该time
实用程序显示轻微页面错误的数量?
答案1
根据手册页time
:
%R Number of minor, or recoverable, page faults. These are faults
for pages that are not valid but which have not yet been claimed
by other virtual pages. Thus the data in the page is still
valid but the system tables must be updated.
和
-f FORMAT, --format=FORMAT
Specify output format, possibly overriding the format specified
in the environment variable TIME.
因此:
time -f %R command