1 .TH lfs-heat 1 "Feb. 09, 2019" Lustre "Lustre utility"
3 lfs-heat_get, lfs-heat_set \- commands used to interact with file heat features
5 .B lfs heat_get|heat_set
6 .IR \fR<\fIFILE \fR...>
9 These are a set of lfs commands used to interact with Lustre file heat feature.
10 Currently file heat is only stored in memory with file inode, it might be reset
11 to be zero at any time with the release of the inode due to memory reclaim.
13 .B lfs heat_get \fR<\fIFILE \fR...>
14 Get file heat on file list.
16 .B lfs heat_set [\fB--clear\fR|\fB-c\fR] [\fB--off\fR|\fB-o\fR] [\fB--on\fR|\fB-O\fR] \fR<\fIFILE \fR...>
17 Set provided file heat flags on file list.
21 Clear file heat on given files.
24 Turn off file heat on given files.
27 Turn on file heat on given files.
30 Turn on file heat support for the Lustre filesystem:
31 .B $ lctl set_param llite.$FSNAME*.file_heat=1
33 Trun off file heat support for the Lustre filesystem:
34 .B $ lctl set_param llite.$FSNAME*.file_heat=0
36 Display current file heat for foo:
37 .B $ lfs heat_get /mnt/lustre/foo
51 Clear the file heat for foo:
52 .B $ lfs heat_set -c /mnt/lustre/foo
54 Turn off file heat for foo:
55 .B $ lfs heat_set -o /mnt/lustre/foo
57 Turn on file heat for foo:
58 .B $ lfs heat_set -O /mnt/lustre/foo
62 command is part of the