05-15-2006
What is the system that you are trying to shutdown? Is it your desktop, or is it a server? Also what is the OS that you are using? Can you post the output of 'uname -a'?
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Friends,
We have migrated our Unix from HP True 64 v5.1 to HP-UX B.11.11i recently and copied all my shell scripts ( Korn shell ) to new HP-UX B.11.11i unix machine. I've encountered lot of errors during execution of the scripts for example:
cat x.sh
#!/usr/bin/ksh
if
then
echo... (3 Replies)
Discussion started by: krishna
3 Replies
2. UNIX for Dummies Questions & Answers
hi
i think this will make me seem dummier than most, actually i don't even understand most of the posts in the dummie section...
i have a project and i need to learn fortran programming, im working on a windows xp pc and so i have installed cygwin. and the cygwin site basically says learn unix so... (4 Replies)
Discussion started by: holyhive
4 Replies
3. UNIX for Dummies Questions & Answers
I have heard for a long time that in maybe 2039 Unix will no longer be useable due the length of the date value. Anyone know anything about this? (4 Replies)
Discussion started by: dhlopomo
4 Replies
4. Shell Programming and Scripting
Hi guys,
I'm new to unix but loving it!! BUT this is driving me nuts as i can't work out the best way to do it.
I have a while true loop that i use to monitor something. For my own reasons in ths script i have disabled the CTRL C using the trap command. But i want to put in a option to exit... (5 Replies)
Discussion started by: Noob e
5 Replies
5. UNIX for Dummies Questions & Answers
Hallo everybody
I am having a shell script called auto_run.sh in that only the first line works.
the second line which has sed command is working only at the # prompt. not within the shell script. What could be the reason.
*... sed 's/ //g' KTI >abc works in another shell script without the... (6 Replies)
Discussion started by: naushad
6 Replies
6. UNIX for Dummies Questions & Answers
I have Oracle 9i R2 on AIX 5.2. My Database is running in shared server mode (MTS).
Sometimes when I shutdown the database it shutsdown cleanly in 4-5 mints and sometimes it takes good 15-20 minutes and then I get some ora-600 errors and only way to shutdown is by opening another session and... (7 Replies)
Discussion started by: aixhp
7 Replies
7. Shell Programming and Scripting
Hi
I need help with a script to loop unitl the statement is true
done some thing like this
until
if
then
cp filename filename.anto
fi
done
Regards, (3 Replies)
Discussion started by: antointoronto
3 Replies
8. Shell Programming and Scripting
hi,
i am new in bash scripting.
i am trying to write a Bash script to monitor how many process are running in my Redhat6 Linux machine.
example :
let say there must be always 5 process from the same kind that must run and if one off them fails down the script must wake up another process... (2 Replies)
Discussion started by: zigizag
2 Replies
9. Shell Programming and Scripting
Hi Team,
I need to know why ppl use If true loop instead of just writing down the sequence of code lines.
1:
echo "Line1"
if true; then
echo "Line2"
fi
echo "Line3"
2:
echo "Line1"
echo "Line2"
echo "Line3"
Could you explain what does the if true loop make difference in 1st compare... (3 Replies)
Discussion started by: chandana hs
3 Replies
LEARN ABOUT OSF1
dxshutdown
dxshutdown(8) System Manager's Manual dxshutdown(8)
NAME
dxshutdown - Performs various types of automated system shutdown.
SYNOPSIS
/usr/bin/X11/dxshutdown
OPTIONS
The dxshutdown command accepts all of the standard X Toolkit command-line options, which are documented in the OPTIONS section of the X(1X)
reference page.
DESCRIPTION
The Shutdown Manager application, dxshutdown, provides the system administrator with a graphical user interface for running user-specified
scripts at shutdown time in addition to performing the following types of automated system shutdown: Halt (and restart console mode) Reboot
Single-user mode shutdown Message-only shutdown
Dependencies: None. You do not need to configure anything prior to running Shutdown Manager.
You must be root to run Shutdown Manager.
Shutdown Manager also lets the system administrator display one or more warning messages prior to system shutdown. The dxshutdown command
uses the Tru64 UNIX shutdown command as an API, passing command-line arguments as specified by application defaults and user inputs.
The Shutdown Manager also provides the following features, which the shutdown command does not provide: Selection of a preshutdown script
to be executed prior to system shutdown Easy cancellation for a shutdown while the timed countdown is in progress Maintenance of an error-
and-script output log under /var/adm/sysman/dxshutdown.log Saving and restoring user-selected shutdown options over multiple invocations of
the Shutdown Manager application
For additional information about the graphical user interface, see the online help volume, which is available from the Help button in the
main window of the Shutdown Manager application.
To start dxshutdown from the graphical user interface: Click on the Application Manager icon on the CDE front panel. Double click on the
System_Admin application group icon. Double click on the Daily Admin application group icon. Double click on the Shutdown Manager appli-
cation icon.
EXAMPLES
To start Shutdown Manager from the command line, enter: dxshutdown To open the Shutdown Manager help volume from the command line, enter
the following command: /usr/dt/bin/dthelpview -h /usr/dt/appconfig/help/C/DXshutdown.sdl
FILES
Shutdown Manager executable Shutdown Manager log file Shutdown Manager help volume Shutdown Manager resource file (for option settings)
SEE ALSO
Commands: fasthalt(8), halt(8), rc0(8), reboot(8), rwalld(8), shutdown(8), sync(8), X(1X)
dxshutdown(8)