Just in-case you encounter a large file /var/adm/exacct/zstat-process.
Here is work-around to reclaim the space.
# df -kh /var
Filesystem Size Used Available Capacity Mounted on
/dev/md/dsk/d3 4.9G 4.4G 529M 90% /var
# find /var -xdev -type f -size +100000 -ls -exec du -sk {} \;
273 2740992 -rw------- 1 root root 2805391217 Nov 20 06:32 /var/adm/exacct/zstat-process
2740992 /var/adm/exacct/zstat-process
# svcs -a | grep zstat
online Apr_05 svc:/application/xvm/zstat:default
# svcadm restart svc:/application/xvm/zstat:default
# svcs -a | grep zstat
online 6:38:37 svc:/application/xvm/zstat:default
# df -k /var
Filesystem 1024-blocks Used Available Capacity Mounted on
/dev/md/dsk/d3 5166102 1831942 3282499 36% /var
# df -kh /var
Filesystem Size Used Available Capacity Mounted on
/dev/md/dsk/d3 4.9G 1.7G 3.1G 36% /var
# find /var -xdev -type f -size +100000 -ls -exec du -sk {} \;
#
So helpful..Thanks for this post.
ReplyDeletein my case i have the service in maintenance mode look :
ReplyDelete############# svcs -a | grep zstat
maintenance Oct_04 svc:/application/xvm/zstat:default
and when i restart the service , the size of this file stay in the initial state
ps : zstat-process = 12G
So please if u have any idea help me