Your second HD is labelled /dev/hdb and not /dev/hdb1streaker69 wrote:I tested his script out against my second HD in this machine, as the first HD doesn't report Temp.rw-r----- 1 root disk 3, 65 Jun 30 08:45 /dev/hdb1
-rwxr-xr-x 1 root root 187224 May 24 12:42 /usr/sbin/smartctl
Search found 4 matches
- Tue Jul 01, 2008 12:26 pm
- Forum: Scripts and Templates
- Topic: Hardisk Temperature
- Replies: 15
- Views: 12208
- Tue Jul 01, 2008 10:58 am
- Forum: Scripts and Templates
- Topic: Hardisk Temperature
- Replies: 15
- Views: 12208
I have the exact same script that he was working with yesterday running on my box, apparently it's running as apache, without any issues. This is frightening. streaker69 , can you post the result of ls -l /usr/sbin/smartctl /dev/hda changing /dev/hda according to you system? I have brw-rw---- 1 roo...
- Tue Jul 01, 2008 7:58 am
- Forum: Scripts and Templates
- Topic: Hardisk Temperature
- Replies: 15
- Views: 12208
- Tue Jul 01, 2008 7:32 am
- Forum: Scripts and Templates
- Topic: Postfix Queues
- Replies: 39
- Views: 122751
I tried just tried this and it seems to be significantly faster: ( COUNT=`find $QUEUEDIR/$i -type f | wc -l | sed 's/ *//g'`) # timex /usr/local/getmailq-find.sh incoming:228 active:8 deferred:34 hold:0 real 0.29 user 0.00 sys 0.07 (COUNT=`qshape $i | grep TOTAL | awk '{print $2}'`) # timex /usr/lo...