Welcome toChina Server Net
About us | Add to Favorites | Contact us | 中文版
Position:home>Solutions >
AIX management experience talks
From;    Author:Stand originally

AIX management experience talks

[get together outstanding net solution] AIX management experience talks

The resource that can examine an user in AIX through opening Acct function uses a case, basically include: User connection case, user CPU use circumstance, disk use circumstance and printer use a circumstance to wait.

Concrete step (in all 7 paces) have:

1. In / 3 stature catalog found below Var/adm/acct catalog: Nite, sum, fiscal

2. Login with Root, arrive / below Var/adm catalog, carry out / Usr/lib/acct/nulladm Wtmp Pacct.

3. Through be in / two add in Etc/rc file (over last "exit 0" ) :
Echo "Starting Process Accounting" /usr/bin/su - Adm -c /usr/lib/acct/startup

Open function of chalk it up.

4. Will / the Account value in the section changes True related the file system that disk keep account should add in Etc/filesystems

5. Revise / Etc/qconfig file, the description of the printing alignment that should join printer to use keep account adds group in the section, be like: Lp0: Device=dlp0 Acctfile = /var/adm/qacct # is added row

6. Modification Cron, exemple / Var/spool/cron/crontabs/adm file:

10 23 * * 0-6 /usr/lib/acct/runacct /
2>/ Usr/adm/acct/nite/accterr>/ Dev/null
0 23 * * 0-6 /usr/lib/acct/dodisk>/ Dev/null 2>&1
0 * * * * /usr/lib/acct/ckpacct>/ Dev/null 2>&1
15 4 1 * * /usr/lib/acct/monacct>/ Dev/null 2>&1

7. If want to use Adm user to have government of chalk it up, want to assign a code to it above all, include in PATH environment variable next / Usr/lib/acct is carried out with convenient command.

After completing these step, the list that the system can make in measure falls to make report file regularly, the resource that records each user uses a case.