• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1132
  • Last Modified:

HP-UX v1 shutdown command

I need some suggestions.  My office mate suggests that the best thing to use to shut down is the cmd repeat 10 sync;repeat 10 rehash;repeat 10 sync;shutdown -y.  He says he has had great luck with it.  It seems to make me wait 60 seconds for user to log-off before it will shut down.  This just 'seems' improper and I am a total novice.  Any suggestions are greatly appreciated.
0
verpit
Asked:
verpit
  • 4
  • 3
1 Solution
 
omarfaridCommented:
try to use shutdown command with time to shutdown. Please see

man shutdown
0
 
verpitAuthor Commented:
what do

1. repeat
2. rehash
3. sync

do?

I can tell sync from the HP cmd references.  Repeat seems self-explanatory until closer examination.  Does anyone have any specific information?
0
 
omarfaridCommented:
I think he wants you to sync (several times ) the memory content to the disks and wait enough time before shutting down
0
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

 
verpitAuthor Commented:
yes, i understand that one.  what about rehash and repeat.  I don't see any hp page describing those two commands?
0
 
omarfaridCommented:
I can't understand that as well
0
 
omarfaridCommented:
answer was given
0
 
verpitAuthor Commented:
sorry omar... you are correct
0

Featured Post

Learn to develop an Android App

Want to increase your earning potential in 2018? Pad your resume with app building experience. Learn how with this hands-on course.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now