yarsclient - Upload, download, and delete files to Yars.
# Send a file to Yars. yarsclient upload <filename> # Get the file back, write it to the current directory. yarsclient download <filename> <md5> # Put some content to somefilename.txt echo 'some content' | yarsclient put somefilename.txt # Get just the content back to stdout. yarsclient get <filename> <md5> # Delete the file from Yars. yarsclient remove <filename> <md5> # Check the status of all the yars hosts and disks. yarsclient servers_status # Check the usage of the disks, either from the configured host, or all hosts yarsclient disk_usage yarsclient disk_usage --all 1 # Mark a disk down yarsclient set_status --host http://host1 --disk /acps/f101 --state down # Mark a disk up yarsclient set_status --host http://host2 --disk /acps/f101 --state up # Check a manifest file yarsclient check_manifest /my/dir/MANIFEST # Just emit "ok" or "not ok" yarsclient check_manifest -c /my/dir/MANIFEST # Also do a server side md5 check yarsclient check_manifest --show_corrupt 1 /my/dir/MANIFEST
Command-line interface to Yars::Client. Client for Yars.
Brian Duggan Marty Brandon
Yars::Client
Clustericious::Client
To install Yars::Client, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Yars::Client
CPAN shell
perl -MCPAN -e shell install Yars::Client
For more information on module installation, please visit the detailed CPAN module installation guide.