Checking a hd using badblocks

I have a server that tends to break down and I would like to check the drive. I heard the command to do this is "badblocks" but the server is very important and I do not want to delete anything. Does anyone know the right command to scan a drive for bad blocks without deleting any data or partitions ? I found this command but I am not sure if it is safe:

badblocks -o blocks-list.txt -s -w /dev/hda1 88326

What is the correct command ?

 

 

 

 

Top