Solved

HP-UX v1 shutdown command

Posted on 2008-10-28
7
1,101 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
unix scripting question 1 119
how to check for shares on aix 1 112
Correct syntax to upload file in a script using sftp 2 109
unix shell script 4 39
This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
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…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
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.
Suggested Courses

734 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