I wrote a script that restores all files on each volume group and appends it to a file. This way you can view what was restored on last night's tape. We ran this over and over and discovered that the restore process wasn't stopping, so there were hundreds of process hanging out there.
I'm trying to error proof the script but I don't know what to grep for to see if the restore process is still hanging out there. Can someone help?
Here is the line of code that I used to restore and append all into the file:
restore -Tpqvf /dev/rmt0.1 > /dso/mis/scripts/vfybkup/rootvglog 2>&1
Jason Alge
Jason.M.Alge@lowes.com
'There are three kinds of people: Those who can count and those who can't'
I'm trying to error proof the script but I don't know what to grep for to see if the restore process is still hanging out there. Can someone help?
Here is the line of code that I used to restore and append all into the file:
restore -Tpqvf /dev/rmt0.1 > /dso/mis/scripts/vfybkup/rootvglog 2>&1
Jason Alge
Jason.M.Alge@lowes.com
'There are three kinds of people: Those who can count and those who can't'