You should have root user or sudo access to root to run this command:
[/sas/SASFoundation/9.2/utilities/bin] ./cleanwork /work
The above one only clears space of dead processes
So
1. du -sh /work/SAS*| grep G | sort -nr |head -10
Sample Result :
109G /work/SAS_work610D000036F9_host
35G /work/SAS_work2A1700001920_host
2. ls -ldrt /work/SAS_work610D000036F9_host
from above command we get the owner of directory then
3. ps -ef | grep owner
Next kill the process of owner other than batch process
4. kill -9 pid
then run the ./cleanwork utility
[/sas/SASFoundation/9.2/utilities/bin] ./cleanwork /work
The above one only clears space of dead processes
So
1. du -sh /work/SAS*| grep G | sort -nr |head -10
Sample Result :
109G /work/SAS_work610D000036F9_host
35G /work/SAS_work2A1700001920_host
2. ls -ldrt /work/SAS_work610D000036F9_host
from above command we get the owner of directory then
3. ps -ef | grep owner
Next kill the process of owner other than batch process
4. kill -9 pid
then run the ./cleanwork utility
Comments
Post a Comment