Subject : Account 관리 Program setup 예(Solaris 2.x) Description : . Account관리란 System User들의 System Resource 사용량, 작업활동내역등을 관리하기 위한 Utility이다. . Setup Procedure 1) Link /etc/init.d/acct to /etc/rc2.d/S22acct 2) Link /etc/init.d/perf to /etc/rc2.d/S21perf 3) Crontab add # collect statistics hourly 0 * * * * /usr/lib/sa/sa1 # generate daily accounting reports (daily at 1 AM) 0 1 * * * /usr/lib/acct/runacct # update disk usage stats (weekly at 2 PM on Sunday) 0 2 * * 1 /usr/lib/acct/dodisk # generate monthly summaries (on the first of the month at 2 AM) 0 2 1 * * /usr/lib/acct/monacct # manage accounting file size (hourly on the half-hour) 30 * * * * /usr/lib/acct/ckpacct 4) After stats are gathered, the /usr/lib/acct/prdaily command may be used to generate a set of accounting reports. Revision History 작성일자 : 96.06.17 작성자 : 이민호 수정일자 : 수정자