Ioannis Vranos <[EMAIL PROTECTED]> ha scritto:

> This doesn't seem to work on my desktop system:
>
> [EMAIL PROTECTED] ~]# while true; do smartctl -a /dev/hdc |grep
> Load_Cycle_Count; sleep 120; done;
>
> [EMAIL PROTECTED] ~]# df -h
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/mapper/VolGroup00-LogVol00
>                        287G   34G  239G  13% /
> /dev/hdc1              99M   28M   67M  30% /boot
> tmpfs                 506M     0  506M   0% /dev/shm
> [EMAIL PROTECTED] ~]#
>
>
> I left it more than 120 seconds.


You must use `sh` for it to work as it is, `bash` won't do.

Regards,
Andrea

Reply via email to