(from DeveloperWorks) :
Now to clean it up, use the command chhmcfs:
chhmcfs -o f {-d days | -h hours | -s size} [-f file-system] [--help]
The -o indicates the operation to perform, which in this case is f to free
up file system disk space. (At the current release of HMC V7R7.2 this is the
only valid value for -o). The -d indicates the number of days to keep before
today's date, so -d 0 says get rid of the lot of 'em.
chhmcfs -o f -d 0
--
Jim Oberholtzer
Agile Technology Architects
-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Rob
Berendt
Sent: Monday, October 02, 2017 11:59 AM
To: Midrange Systems Technical Discussion
Subject: Re: purge HMC old logs
https://archive.midrange.com/midrange-l/201501/msg00601.html
Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1 Group Dekko Dept 1600 Mail
to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com
From: Christopher Bipes <chris.bipes@xxxxxxxxxxxxxxx>
To: "'MIDRANGE-L@xxxxxxxxxxxx'" <midrange-l@xxxxxxxxxxxx>
Date: 10/02/2017 12:46 PM
Subject: purge HMC old logs
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx>
The weekly backup of my HMC has grown to be over a GB. It is mostly old
logs. How does one purge the old logs, let's say over 90 days?
HMC version is V8R8.4.0.2
Chris Bipes
Director of Information Services
CrossCheck, Inc.