limreport 指令可以讓一位管理員查詢任何使用者的任何屬性,包括累計屬性。此指令提供一種靈活的方式來顯示所選定的 lnode 中的資訊。
例如,下列指令:
% limreport 'cpu.accrue!=0' '%u %s %f\n' uid lname cpu.accrue |
選取在 usr 領域中有累計使用量的所有 lnode,並且列出 UID 以及每個選定的 lnode 中累計的使用量屬性。要以 cpu.accrue 來排序這些數值並只列出前十位使用者,只要將結果重導至一個 sort(排序)指令即可:
% limreport 'cpu.accrue!=0' '%u %s %f\n' uid lname cpu.accrue | sort -2n | head |
請參閱 limreport(1SRM) 中的額外資訊。