HP-UX v1 shutdown command

Posted on 2008-10-28
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.
Question by:verpit
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
LVL 40

Accepted Solution

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

man shutdown

Author Comment

ID: 22854669
what do

1. repeat
2. rehash
3. sync


I can tell sync from the HP cmd references.  Repeat seems self-explanatory until closer examination.  Does anyone have any specific information?
LVL 40

Expert Comment

ID: 22854694
I think he wants you to sync (several times ) the memory content to the disks and wait enough time before shutting down
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users


Author Comment

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

Expert Comment

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

Expert Comment

ID: 23063985
answer was given

Author Closing Comment

ID: 31510962
sorry omar... you are correct

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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

630 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