07-01-2009
Sorry for the confusion but i 'm just trying to remove the IPMP configured on my system without restarting network services or reboot of the system
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi everyone, I am sort of new to shell scripting,
I have a bunch of files that begin with 'blah' and I want to rename those files with something different (renamedFile1, renamedFile2, renamedFileN). I don't want to go through each file and rename them with the mv command. Could I just use a for... (4 Replies)
Discussion started by: kcor
4 Replies
2. UNIX for Dummies Questions & Answers
I want to move and compress a big export file.
Like mv file_exp /filesystem/file_exp |compress
The file system is too small to compress and move with 2 steps.
What is the best command for me. I'm running solaris.
:confused: (1 Reply)
Discussion started by: simquest
1 Replies
3. Shell Programming and Scripting
Hi,
We use an application that is dumping logs to a file on disk. However, this is dumping very verbosely and there is no method of turning down the logging level. We need to remove certain contents from these before they are commited to disk.
Has anybody got any ideas how I can do this... (3 Replies)
Discussion started by: harperonline
3 Replies
4. Shell Programming and Scripting
Hi All,
I have bash script, so what is sintax script in bash for Enable and Disable Tab Key. Thanks for your help.:(
Thanks,
Rico (1 Reply)
Discussion started by: carnegiex
1 Replies
5. Shell Programming and Scripting
Hi,
I am creating files in a folder on the fly with arbritrary names but same extension (say, ".img"). How can I read each filename from the folder through a script.
regards
Angshuman (2 Replies)
Discussion started by: angshuman_ag
2 Replies
6. What is on Your Mind?
This is great!
Lqh8e2KYIrU (8 Replies)
Discussion started by: Neo
8 Replies
7. Red Hat
Hi all Expertise,
I have following issue to solve,
SSL / TLS Renegotiation DoS (low) 222.225.12.13
Ease of Exploitation Moderate
Port 443/tcp
Family Miscellaneous
Following is the problem description:------------------
Description The remote service encrypts traffic using TLS / SSL and... (2 Replies)
Discussion started by: manalisharmabe
2 Replies
8. HP-UX
Hi,
I have an old HPUX 10.20 server running Informix 7.23
I need to dump the database to get it off that hardware before it dies.
Unfortunately there is insufficient local diskspace to do so.
I have set up a linux box with sufficient disk onto which I can export the database.
Having... (1 Reply)
Discussion started by: fella
1 Replies
9. OS X (Apple)
Hi all...
Had an idea tonight which could really enhance shell scripting for me.
Yes I am aware there could be difficulties but......
Creating a C script inside the shell script to do a task, (a simple text print to stdout in
this example), compiling it on the fly, making sure it is... (4 Replies)
Discussion started by: wisecracker
4 Replies
10. Shell Programming and Scripting
Hi all,
I am calling a zsh script from batch file .
This zsh just removes the trigger file in a particular directory.File name is passed as a parameter from the batch file Problem is this batch is called in multiple other batch files and sometimes system says file cant be used as it is used... (4 Replies)
Discussion started by: Hypesslearner
4 Replies
LEARN ABOUT NETBSD
reboot
REBOOT(8) BSD System Manager's Manual REBOOT(8)
NAME
reboot, poweroff, halt -- restarting, powering down and stopping the system
SYNOPSIS
halt [-dlnpqvxz]
poweroff [-dlnqvxz]
reboot [-dlnqvxz] [arg ...]
DESCRIPTION
The poweroff, halt and reboot utilities flush the file system cache to disk, send all running processes a SIGTERM, wait for up to 30 seconds
for them to die, send a SIGKILL to the survivors and, respectively, power down, halt or restart the system. The action is logged, including
entering a shutdown record into the login accounting file and sending a message via syslog(3).
The options are as follows:
-d Create a dump before halting or restarting. This option is useful for debugging system dump procedures or capturing the state of a
corrupted or misbehaving system.
-l Suppress sending a message via syslog(3) before halting or restarting.
-n Do not flush the file system cache. This option should be used with extreme caution. It can be used if a disk or a processor is on
fire.
-p Attempt to powerdown the system. If the powerdown fails, or the system does not support software powerdown, the system will halt.
This option is only valid for halt.
-v To enable verbose messages on the console, pass the boothowto(9) flag AB_VERBOSE to reboot(2).
-x To enable debugging messages on the console, pass the boothowto(9) flag AB_DEBUG to reboot(2).
-z To silence some shutdown messages on the console, pass the boothowto(9) flag AB_SILENT to reboot(2).
-q Do not give processes a chance to shut down before halting or restarting. This option should not normally be used.
If there are any arguments passed to reboot they are concatenated with spaces and passed as bootstr to the reboot(2) system call. The string
is passed to the firmware on platforms that support it.
Normally, the shutdown(8) utility is used when the system needs to be halted or restarted, giving users advance warning of their impending
doom.
SEE ALSO
reboot(2), syslog(3), utmp(5), boot(8), init(8), rescue(8), shutdown(8), sync(8)
HISTORY
A reboot command appeared in Version 6 AT&T UNIX.
The poweroff command first appeared in NetBSD 1.5.
CAVEATS
Once the command has begun its work, stopping it before it completes will probably result in a system so crippled it must be physically
reset. To prevent premature termination, the command blocks many signals early in its execution. However, nothing can defend against delib-
erate attempts to evade this.
This command will stop the system without running any shutdown(8) scripts. Amongst other things, this means that swapping will not be dis-
abled so that raid(4) can shutdown cleanly. You should normally use shutdown(8) unless you are running in single user mode.
BUGS
The single user shell will ignore the SIGTERM signal. To avoid waiting for the timeout when rebooting or halting from the single user shell,
you have to exec reboot or exec halt.
BSD
February 16, 2011 BSD