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
Solved

HP-UX v1 shutdown command

Posted on 2008-10-28
7
1,096 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
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

791 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