Operating System - HP-UX
1821545 Members
2178 Online
109633 Solutions
New Discussion юеВ

tools to check disk and memory

 
SOLVED
Go to solution
Gary Yu
Super Advisor

tools to check disk and memory

Hi all,

Is there any tools on HPUX which can perform a hardware level of test and scan on disk and memory, like "scandisk" and "memory test" on PC?

we have some aging servers, would like to do a 'health check', but can't find any appropriate tools.

thanks,
Gary
11 REPLIES 11
Bruno Ganino
Honored Contributor

Re: tools to check disk and memory

Try command "ioscan".

Bruno
Torino (Turin) +2H
RAC_1
Honored Contributor

Re: tools to check disk and memory

There is a product - SHC (System Health Check) Run it, you will get lot of useful details with that.

As such there is no utility (As far as I know) to check disk, memory.

Though you can use STM to check if everything is OK with disks and memory.
Also you can try doing a read from disk so as to check if it is OK or not.

dd if=/dev/rdsk/cxtxdx of=/dev/null bs=1024k

Anil
There is no substitute to HARDWORK
Pete Randall
Outstanding Contributor
Solution

Re: tools to check disk and memory

Gary,

Memory diagnostics are run at boot time, as are I/O diags. You can also exercise a given disk drive to determine its health using the dd command: "dd if=/dev/rdsk/cNtNdN of=/dev/null bs=1024k". Or, you can use STM to run diagnostics against most systyem components.


Pete

Pete
Sanjay_6
Honored Contributor

Re: tools to check disk and memory

Hi Gary,

For disks try,

dd if=/dev/rdsk/cxtydz of=/dev/null bs=1024k

There is no such tool for memory that i can think of.

Hope this helps.

Regds
Gary Yu
Super Advisor

Re: tools to check disk and memory

thank you all so much for the response, I also recall that there's memory check at boot time, is it initiated from PDC, or it's a command we can run anytime?

thanks,
Gary
Pete Randall
Outstanding Contributor

Re: tools to check disk and memory

Gary,

No, it's not a separate command that you could run anytime. I do think you can exercise memory with STM though. Try playing with cstm or xstm and see.


Pete

Pete
SS_6
Valued Contributor

Re: tools to check disk and memory

cstm or stm will do this job for you. You can further go in these tools and use exerciser to test
By providing solutions I am helping myself
generic_1
Respected Contributor

Re: tools to check disk and memory

One other thing. If you have fast boot turned on you may want to turn it off. That way the system will run through more diags at boot. This will increase your boot time, but may be worth it if you are trying to diagnose a problem. You can always disable it later.

There is a graphic version of stm (xstm) too.
Michael D'Aulerio
Regular Advisor

Re: tools to check disk and memory

Sorry to jump into this thread so late but I have similar concers as Gary and the SHC tool Anil mentioned piqued my interest. Does this come standard with HP-UX or do you have to get it from a third party?

Email: michael.n.daulerio@lmco.com
RAC_1
Honored Contributor

Re: tools to check disk and memory

For Michael D'Aulerio,

Search the forums for SHC/System health Check. Recently there was post informing members about it. I have not tried it myself, but looks promising.

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=556471

Also check it at software.hp.com

Anil
There is no substitute to HARDWORK
Ted Buis
Honored Contributor

Re: tools to check disk and memory

The equivalent of a simple (not thorough) SCANDISK would be 'fsck', but this is run automatically at boot on any file systems that were not properly shutdown. Read the man page before using fsck.
Mom 6