Searched refs:samples (Results 1 - 25 of 79) sorted by relevance

1234

/freebsd-current/tools/tools/ath/athsurvey/
H A Dathsurvey.c87 * Skip samples with no cycle count
89 if (hs->samples[i].cycle_count == 0)
96 cycle_count = hs->samples[i].cycle_count;
103 tx = (float) hs->samples[i].tx_busy * 100.0 /
104 hs->samples[i].cycle_count;
105 rx = (float) hs->samples[i].rx_busy * 100.0 /
106 hs->samples[i].cycle_count;
107 cc = (float) hs->samples[i].chan_busy * 100.0 /
108 hs->samples[i].cycle_count;
109 cext = (float) hs->samples[
[all...]
/freebsd-current/sys/contrib/openzfs/cmd/zpool/zpool.d/
H A Dsmart_test36 # If you set $samples to a directory containing smartctl output text files,
39 # $samples is set, and additional 'file' column is added to the zpool output
41 samples=
81 if [ -b "$somepath" ] && PATH="/usr/sbin:$PATH" command -v smartctl > /dev/null || [ -n "$samples" ] ; then
82 if [ -n "$samples" ] ; then
85 file=$(get_filename_from_dir "$samples")
87 raw_out=$(cat "$samples/$file")
H A Dtest_ended36 # If you set $samples to a directory containing smartctl output text files,
39 # $samples is set, and additional 'file' column is added to the zpool output
41 samples=
81 if [ -b "$somepath" ] && PATH="/usr/sbin:$PATH" command -v smartctl > /dev/null || [ -n "$samples" ] ; then
82 if [ -n "$samples" ] ; then
85 file=$(get_filename_from_dir "$samples")
87 raw_out=$(cat "$samples/$file")
H A Dnvme_err36 # If you set $samples to a directory containing smartctl output text files,
39 # $samples is set, and additional 'file' column is added to the zpool output
41 samples=
81 if [ -b "$somepath" ] && PATH="/usr/sbin:$PATH" command -v smartctl > /dev/null || [ -n "$samples" ] ; then
82 if [ -n "$samples" ] ; then
85 file=$(get_filename_from_dir "$samples")
87 raw_out=$(cat "$samples/$file")
H A Doff_ucor36 # If you set $samples to a directory containing smartctl output text files,
39 # $samples is set, and additional 'file' column is added to the zpool output
41 samples=
81 if [ -b "$somepath" ] && PATH="/usr/sbin:$PATH" command -v smartctl > /dev/null || [ -n "$samples" ] ; then
82 if [ -n "$samples" ] ; then
85 file=$(get_filename_from_dir "$samples")
87 raw_out=$(cat "$samples/$file")
H A Drep_ucor36 # If you set $samples to a directory containing smartctl output text files,
39 # $samples is set, and additional 'file' column is added to the zpool output
41 samples=
81 if [ -b "$somepath" ] && PATH="/usr/sbin:$PATH" command -v smartctl > /dev/null || [ -n "$samples" ] ; then
82 if [ -n "$samples" ] ; then
85 file=$(get_filename_from_dir "$samples")
87 raw_out=$(cat "$samples/$file")
H A Dserial36 # If you set $samples to a directory containing smartctl output text files,
39 # $samples is set, and additional 'file' column is added to the zpool output
41 samples=
81 if [ -b "$somepath" ] && PATH="/usr/sbin:$PATH" command -v smartctl > /dev/null || [ -n "$samples" ] ; then
82 if [ -n "$samples" ] ; then
85 file=$(get_filename_from_dir "$samples")
87 raw_out=$(cat "$samples/$file")
H A Dsmartx36 # If you set $samples to a directory containing smartctl output text files,
39 # $samples is set, and additional 'file' column is added to the zpool output
41 samples=
81 if [ -b "$somepath" ] && PATH="/usr/sbin:$PATH" command -v smartctl > /dev/null || [ -n "$samples" ] ; then
82 if [ -n "$samples" ] ; then
85 file=$(get_filename_from_dir "$samples")
87 raw_out=$(cat "$samples/$file")
H A Dsmart36 # If you set $samples to a directory containing smartctl output text files,
39 # $samples is set, and additional 'file' column is added to the zpool output
41 samples=
81 if [ -b "$somepath" ] && PATH="/usr/sbin:$PATH" command -v smartctl > /dev/null || [ -n "$samples" ] ; then
82 if [ -n "$samples" ] ; then
85 file=$(get_filename_from_dir "$samples")
87 raw_out=$(cat "$samples/$file")
H A Dtemp36 # If you set $samples to a directory containing smartctl output text files,
39 # $samples is set, and additional 'file' column is added to the zpool output
41 samples=
81 if [ -b "$somepath" ] && PATH="/usr/sbin:$PATH" command -v smartctl > /dev/null || [ -n "$samples" ] ; then
82 if [ -n "$samples" ] ; then
85 file=$(get_filename_from_dir "$samples")
87 raw_out=$(cat "$samples/$file")
H A Dpend_sec36 # If you set $samples to a directory containing smartctl output text files,
39 # $samples is set, and additional 'file' column is added to the zpool output
41 samples=
81 if [ -b "$somepath" ] && PATH="/usr/sbin:$PATH" command -v smartctl > /dev/null || [ -n "$samples" ] ; then
82 if [ -n "$samples" ] ; then
85 file=$(get_filename_from_dir "$samples")
87 raw_out=$(cat "$samples/$file")
H A Dpwr_cyc36 # If you set $samples to a directory containing smartctl output text files,
39 # $samples is set, and additional 'file' column is added to the zpool output
41 samples=
81 if [ -b "$somepath" ] && PATH="/usr/sbin:$PATH" command -v smartctl > /dev/null || [ -n "$samples" ] ; then
82 if [ -n "$samples" ] ; then
85 file=$(get_filename_from_dir "$samples")
87 raw_out=$(cat "$samples/$file")
H A Drealloc36 # If you set $samples to a directory containing smartctl output text files,
39 # $samples is set, and additional 'file' column is added to the zpool output
41 samples=
81 if [ -b "$somepath" ] && PATH="/usr/sbin:$PATH" command -v smartctl > /dev/null || [ -n "$samples" ] ; then
82 if [ -n "$samples" ] ; then
85 file=$(get_filename_from_dir "$samples")
87 raw_out=$(cat "$samples/$file")
H A Dnonmed36 # If you set $samples to a directory containing smartctl output text files,
39 # $samples is set, and additional 'file' column is added to the zpool output
41 samples=
81 if [ -b "$somepath" ] && PATH="/usr/sbin:$PATH" command -v smartctl > /dev/null || [ -n "$samples" ] ; then
82 if [ -n "$samples" ] ; then
85 file=$(get_filename_from_dir "$samples")
87 raw_out=$(cat "$samples/$file")
H A Dr_proc36 # If you set $samples to a directory containing smartctl output text files,
39 # $samples is set, and additional 'file' column is added to the zpool output
41 samples=
81 if [ -b "$somepath" ] && PATH="/usr/sbin:$PATH" command -v smartctl > /dev/null || [ -n "$samples" ] ; then
82 if [ -n "$samples" ] ; then
85 file=$(get_filename_from_dir "$samples")
87 raw_out=$(cat "$samples/$file")
H A Dr_ucor36 # If you set $samples to a directory containing smartctl output text files,
39 # $samples is set, and additional 'file' column is added to the zpool output
41 samples=
81 if [ -b "$somepath" ] && PATH="/usr/sbin:$PATH" command -v smartctl > /dev/null || [ -n "$samples" ] ; then
82 if [ -n "$samples" ] ; then
85 file=$(get_filename_from_dir "$samples")
87 raw_out=$(cat "$samples/$file")
H A Dtest_progress36 # If you set $samples to a directory containing smartctl output text files,
39 # $samples is set, and additional 'file' column is added to the zpool output
41 samples=
81 if [ -b "$somepath" ] && PATH="/usr/sbin:$PATH" command -v smartctl > /dev/null || [ -n "$samples" ] ; then
82 if [ -n "$samples" ] ; then
85 file=$(get_filename_from_dir "$samples")
87 raw_out=$(cat "$samples/$file")
H A Dtest_status36 # If you set $samples to a directory containing smartctl output text files,
39 # $samples is set, and additional 'file' column is added to the zpool output
41 samples=
81 if [ -b "$somepath" ] && PATH="/usr/sbin:$PATH" command -v smartctl > /dev/null || [ -n "$samples" ] ; then
82 if [ -n "$samples" ] ; then
85 file=$(get_filename_from_dir "$samples")
87 raw_out=$(cat "$samples/$file")
H A Dtest_type36 # If you set $samples to a directory containing smartctl output text files,
39 # $samples is set, and additional 'file' column is added to the zpool output
41 samples=
81 if [ -b "$somepath" ] && PATH="/usr/sbin:$PATH" command -v smartctl > /dev/null || [ -n "$samples" ] ; then
82 if [ -n "$samples" ] ; then
85 file=$(get_filename_from_dir "$samples")
87 raw_out=$(cat "$samples/$file")
H A Dw_proc36 # If you set $samples to a directory containing smartctl output text files,
39 # $samples is set, and additional 'file' column is added to the zpool output
41 samples=
81 if [ -b "$somepath" ] && PATH="/usr/sbin:$PATH" command -v smartctl > /dev/null || [ -n "$samples" ] ; then
82 if [ -n "$samples" ] ; then
85 file=$(get_filename_from_dir "$samples")
87 raw_out=$(cat "$samples/$file")
H A Dw_ucor36 # If you set $samples to a directory containing smartctl output text files,
39 # $samples is set, and additional 'file' column is added to the zpool output
41 samples=
81 if [ -b "$somepath" ] && PATH="/usr/sbin:$PATH" command -v smartctl > /dev/null || [ -n "$samples" ] ; then
82 if [ -n "$samples" ] ; then
85 file=$(get_filename_from_dir "$samples")
87 raw_out=$(cat "$samples/$file")
H A Data_err36 # If you set $samples to a directory containing smartctl output text files,
39 # $samples is set, and additional 'file' column is added to the zpool output
41 samples=
81 if [ -b "$somepath" ] && PATH="/usr/sbin:$PATH" command -v smartctl > /dev/null || [ -n "$samples" ] ; then
82 if [ -n "$samples" ] ; then
85 file=$(get_filename_from_dir "$samples")
87 raw_out=$(cat "$samples/$file")
H A Dhours_on36 # If you set $samples to a directory containing smartctl output text files,
39 # $samples is set, and additional 'file' column is added to the zpool output
41 samples=
81 if [ -b "$somepath" ] && PATH="/usr/sbin:$PATH" command -v smartctl > /dev/null || [ -n "$samples" ] ; then
82 if [ -n "$samples" ] ; then
85 file=$(get_filename_from_dir "$samples")
87 raw_out=$(cat "$samples/$file")
H A Dcmd_to36 # If you set $samples to a directory containing smartctl output text files,
39 # $samples is set, and additional 'file' column is added to the zpool output
41 samples=
81 if [ -b "$somepath" ] && PATH="/usr/sbin:$PATH" command -v smartctl > /dev/null || [ -n "$samples" ] ; then
82 if [ -n "$samples" ] ; then
85 file=$(get_filename_from_dir "$samples")
87 raw_out=$(cat "$samples/$file")
H A Ddefect36 # If you set $samples to a directory containing smartctl output text files,
39 # $samples is set, and additional 'file' column is added to the zpool output
41 samples=
81 if [ -b "$somepath" ] && PATH="/usr/sbin:$PATH" command -v smartctl > /dev/null || [ -n "$samples" ] ; then
82 if [ -n "$samples" ] ; then
85 file=$(get_filename_from_dir "$samples")
87 raw_out=$(cat "$samples/$file")

Completed in 94 milliseconds

1234