Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
systemsmanagement:Ardana:8:CentOS:7.3
zookeeper
zkCleanTRX.sh
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File zkCleanTRX.sh of Package zookeeper
#!/bin/bash ZK_DIR=${1:-"/var/lib/zookeeper"} FILES=$(find $ZK_DIR -type f -size 0) COUNT=$(echo $FILES | wc -w) if [ $COUNT -ge 1 ]; then echo "Removing ${FILES} as 0-length TRX files" rm -rf $FILES else echo "No 0 TRX files found" fi
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor