SCIENTIFIC-LINUX-USERS Archives

March 2008

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Reply To:
Date:
Sat, 15 Mar 2008 19:03:40 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (24 lines)
Ioannis Vranos <[log in to unmask]> ha scritto:

> This doesn't seem to work on my desktop system:
>
> [root@localhost ~]# while true; do smartctl -a /dev/hdc |grep
> Load_Cycle_Count; sleep 120; done;
>
> [root@localhost ~]# 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
> [root@localhost ~]#
>
>
> I left it more than 120 seconds.


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

Regards,
Andrea

ATOM RSS1 RSS2