Portál AbcLinuxu, 14. května 2025 01:13
#!/bin/bash cd /tmp while [ 1 ]; do POC=1 while [ "$POC" -le 20 ]; do CAS=`date +%s` dd if=/dev/urandom of=/tmp/urandom$CAS bs=512 count=1 > /dev/null 2>&1 sync POC=$((POC + 1)) sleep 5 done rm /tmp/urandom* done
//=============================================================================
//
// Copyright 2005-2008 Western Digital Corporation
//
// RESTRICTED RIGHTS LEGEND
// ------------------------
//
// Use, duplication or disclosure by any commercial industry (public
// or private), private individual or by any Government Agency without
// an expressed written consent of release from Western Digital
// Corporation is subject to restriction set forth in paragraph
// (b)(3)(B) of the Rights in Technical Data and Computer Software
// clause in DAR 7-104.9(a).
//
// Manufacturer is:
//
// Western Digital Corporation
// 20511 Lake Forest Dr.
// Lake Forest, CA 92630
// 1-800-275-4932
//=============================================================================
WDIDLE3 Version 1.03 for DOS
DESCRIPTION
- DOS Level utility to setup or report the idle3 value.
FEATURES
- Scan for all drives. Non-WD Drives shall only show the model and serial
numbers.
- Uses a Vendor Specific Command to set or get the idle3 timer.
- Timer can be set from 100 ms to 25.5 seconds on older drives.
- Timer can be set from 100 ms to 300 seconds on newer drives.
USAGE
WDIDLE3 [/S["Timer"]] [/D] [/R] [/?]
where:
/S["Timer"] Set timer, units in seconds. Default=8.0 (8.0 seconds).
Resolution is 0.1 seconds from 0.1 to 12.7 seconds.
Resolution is 30 seconds from 30 seconds to 300000 seconds.
Note, times between 12.8 and 30 seconds will be set to 30 seconds.
/D Disable timer.
/R Report current timer.
/? This help info.
DOS ERRORLEVEL
0 No error
1 Drive problem
254 Internal program error
255 Invalid command line argument
Jinak muj disk se jiz 16000 zaparkoval a odparkoval od 1.ledna:
smartctl version 5.33 [i686-pc-linux-gnu] Copyright (C) 2002-4 Bruce Allen
Home page is http://smartmontools.sourceforge.net/
=== START OF ENABLE/DISABLE COMMANDS SECTION ===
SMART Enabled.
=== START OF READ SMART DATA SECTION ===
SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x002f 200 200 051 Pre-fail Always - 0
3 Spin_Up_Time 0x0027 136 115 021 Pre-fail Always - 6183
4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 18
5 Reallocated_Sector_Ct 0x0033 200 200 140 Pre-fail Always - 0
7 Seek_Error_Rate 0x002e 200 200 000 Old_age Always - 0
9 Power_On_Hours 0x0032 098 098 000 Old_age Always - 2076
10 Spin_Retry_Count 0x0032 100 253 000 Old_age Always - 0
11 Calibration_Retry_Count 0x0032 100 253 000 Old_age Always - 0
12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 16
192 Power-Off_Retract_Count 0x0032 200 200 000 Old_age Always - 9
193 Load_Cycle_Count 0x0032 195 195 000 Old_age Always - 16241
194 Temperature_Celsius 0x0022 114 107 000 Old_age Always - 33
196 Reallocated_Event_Count 0x0032 200 200 000 Old_age Always - 0
197 Current_Pending_Sector 0x0032 200 200 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0030 200 200 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x0032 200 200 000 Old_age Always - 0
200 Multi_Zone_Error_Rate 0x0008 200 200 000 Old_age Offline - 0
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.