Large file `` zstat-process `` work-around to reclaim the space.
1.Find the file location
#
du -ad / | sort -n -r | head -n 10
15999511 /var/adm/exacct/zstat-process
2. To check the file type
# file zstat-process
zstat-process: extended accounting file
3.To display the current status of the extended accounting
facility
# acctadm
Task accounting: inactive
Task accounting file: none
Tracked task resources: none
Untracked task resources: extended
Process accounting:active ----à
Process accounting file: /var/adm/exacct/zstat-process
Tracked process resources: pid,cpu,time,ancpid,zone
Untracked process resources: uid,gid,projid,taskid,command,tty,host,mstate,flag,wait-status,memory
Flow accounting: inactive
Flow accounting file: none
Tracked flow resources: none
Untracked flow resources: extended
4. To Turn off process accounting. (if requires.)
# acctadm -x process
5. Restart the service
# svcs -a | grep zstat
online Aug_04 svc:/application/xvm/zstat:default
# svcadm restart svc:/application/xvm/zstat:default
# svcs -a | grep zstat
online 2:17:56 svc:/application/xvm/zstat:default
6.Check the release space
# du -sh /var/adm
90M /var/adm
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
For
Online and Class Room Training:-
Our
UNIX and Linux/Solaris training courses provide the skills to manage data,
execute commands, administer and customize your Linux and UNIX environment.
Please
Contact us: +91-8179101478, 8686025550
Thanks,
Sandeep