Solved

HP-UX v1 shutdown command

Posted on 2008-10-28
7
1,086 Views
Last Modified: 2013-12-06
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
Comment
Question by:verpit
  • 4
  • 3
7 Comments
 
LVL 40

Accepted Solution

by:
omarfarid earned 500 total points
ID: 22833537
try to use shutdown command with time to shutdown. Please see

man shutdown
0
 

Author Comment

by:verpit
ID: 22854669
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
 
LVL 40

Expert Comment

by:omarfarid
ID: 22854694
I think he wants you to sync (several times ) the memory content to the disks and wait enough time before shutting down
0
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 

Author Comment

by:verpit
ID: 22854838
yes, i understand that one.  what about rehash and repeat.  I don't see any hp page describing those two commands?
0
 
LVL 40

Expert Comment

by:omarfarid
ID: 22854869
I can't understand that as well
0
 
LVL 40

Expert Comment

by:omarfarid
ID: 23063985
answer was given
0
 

Author Closing Comment

by:verpit
ID: 31510962
sorry omar... you are correct
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now