I finally got some hobby time this afternoon and wrote a small program which displays the temperature, uptime and self-test status of SCSI drives. It can also issue self-tests.
I've tested it on only one drive, so it may not work everywhere -- let me know if something breaks
Example usage:
Download:
Installing:
You must run this program as root.
Compiled with MIPSpro 7.4.4m: "cc -O2 -mips3 -o scsimon scsimon.c"
Source code (IRIX only):
Current version: 1.2
Enjoy
I've tested it on only one drive, so it may not work everywhere -- let me know if something breaks
Example usage:
Code: Select all
> sudo ./scsimon /dev/scsi/sc0d1l0
Inquiry response: [SEAGATE ST336752LC 0004]
Current temperature: 55C/131F
Maximum temperature: 65C/149F
Drive uptime (total): 524 minutes (= 0d 8h 44m)
Next internal test in: 120 minutes
Self-test data (newest first):
0: at: 8h type: bg extended result: completed OK
1: at: 6h type: bg extended result: completed OK
2: at: 5h type: bg short result: completed OK
3: at: 5h type: bg short result: aborted (SEND DIAG.)
4: at: 0h type: bg short result: completed OK
5: at: 0h type: bg short result: completed OK
Download:
Installing:
- Unpack the program: "gunzip scsimon.gz"
- Make it executable: "chmod +x scsimon"
- Place it anywhere you like
You must run this program as root.
Compiled with MIPSpro 7.4.4m: "cc -O2 -mips3 -o scsimon scsimon.c"
Source code (IRIX only):
Current version: 1.2
Enjoy