Solved

HP-UX v1 shutdown command

Posted on 2008-10-28
7
1,095 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
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

 

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Red Hat Enterprise Linux 6.5 gets missing "/lib/ld-linux.so.2" 7 78
Linux: disable vim auto-comment 7 117
UNIX SCP 5 76
unix example issues 18 89
Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
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 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.

785 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