i tried the smart script but i got errors if anybody will help that will be great
this is the script i am using
http://pastebin.com/rK2WGNE5
[root@freenas] ~# ./scripts/smart.sh
./scripts/smart.sh: +------+---------------+----+-----+-----+-----+-------+-------+--------+------+----------+------+-------+: not found
./scripts/smart.sh: +------+---------------+----+-----+-----+-----+-------+-------+--------+------+----------+------+-------+: not found
awk: no variable name
./scripts/smart.sh: -v: not found
awk: no variable name
./scripts/smart.sh: -v: not found
awk: no variable name
./scripts/smart.sh: -v: not found
awk: no variable name
./scripts/smart.sh: -v: not found
awk: no variable name
./scripts/smart.sh: -v: not found
awk: no variable name
./scripts/smart.sh: -v: not found
awk: no variable name
./scripts/smart.sh: -v: not found
awk: no variable name
./scripts/smart.sh: -v: not found
./scripts/smart.sh: +------+---------------+----+-----+-----+-----+-------+-------+--------+------+----------+------+-------+: not found
awk: syntax error at source line 2
context is
>>> $3, <<<
awk: illegal statement at source line 2
usage: awk [-F fs] [-v var=value] [-f progfile | 'prog'] [file ...]
./scripts/smart.sh: {print $3}: not found
awk: syntax error at source line 2
context is
>>> $3, <<<
awk: illegal statement at source line 2
usage: awk [-F fs] [-v var=value] [-f progfile | 'prog'] [file ...]
./scripts/smart.sh: {print $3}: not found
awk: syntax error at source line 2
context is
>>> $3, <<<
awk: illegal statement at source line 2
usage: awk [-F fs] [-v var=value] [-f progfile | 'prog'] [file ...]
./scripts/smart.sh: {print $3}: not found
awk: syntax error at source line 2
context is
>>> $3, <<<
awk: illegal statement at source line 2
usage: awk [-F fs] [-v var=value] [-f progfile | 'prog'] [file ...]
./scripts/smart.sh: {print $3}: not found
awk: syntax error at source line 2
context is
>>> $3, <<<
awk: illegal statement at source line 2
usage: awk [-F fs] [-v var=value] [-f progfile | 'prog'] [file ...]
./scripts/smart.sh: {print $3}: not found
awk: syntax error at source line 2
context is
>>> $3, <<<
awk: illegal statement at source line 2
usage: awk [-F fs] [-v var=value] [-f progfile | 'prog'] [file ...]
./scripts/smart.sh: {print $3}: not found
awk: syntax error at source line 2
context is
>>> $3, <<<
awk: illegal statement at source line 2
usage: awk [-F fs] [-v var=value] [-f progfile | 'prog'] [file ...]
./scripts/smart.sh: {print $3}: not found
awk: syntax error at source line 2
context is
>>> $3, <<<
awk: illegal statement at source line 2
usage: awk [-F fs] [-v var=value] [-f progfile | 'prog'] [file ...]
./scripts/smart.sh: {print $3}: not found