02-16-2009
Understanding shutdown
Hi there,
I start using the function
shutdown instead of
reboot +
poweroff.
But there are some points that are not explained in the man pages.
1) What is the usage of the
t swith.
Quote:
shutdown 22:30 'Beware!'
shutdown -t 30 22:30 'Beware!'
Both commands will display the message immediatly on every terminal and shutdown at 22:30.
Where is the difference?
2) Can I specify the date/time like in the
date command?
Quote:
supernova:~# date
Mon Feb 16 22:33:45 CET 2009
supernova:~# date -d 'now + 1 minute'
Mon Feb 16 22:34:49 CET 2009
supernova:~# shutdown 'now + 1 minute'
Usage: shutdown [-akrhHPfnc] [-t secs] time [warning message]
[...]
supernova:~#
Thanks for your help
Santiago
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hai
Could somebody tell me the solution to my problem.
the question is as follows
there is one unix server and 100 dummy terminals connected to my server, i want to shutdown client system if some of the
client forgetten to power down their system.
plez provide me the code for that. (2 Replies)
Discussion started by: rajashekaran
2 Replies
2. SuSE
Hello all
I'm trying to automate the startup/shutdown of my database whenever the OS is bounced ...
OS : Linux (Kernel : 2.4.20.-6)
Oracle : 9.2.0.5
The contents of /etc/init.d/dbora file is listed below
case "$1" in
'start')
su - $ORACLE_OWNER -c "$ORACLE_HOME/bin/dbstart"... (1 Reply)
Discussion started by: luft
1 Replies
3. UNIX for Dummies Questions & Answers
Hello all -
On some of the systems we use - AlphaServer es40 Tru64 digital unix - you can login with the username: shutdown - with no password - and it shuts down the system gracefully. I've tried to trace what's going on in the system, but to no avail.
I've been searching the web, but... (1 Reply)
Discussion started by: kapolani
1 Replies
4. UNIX for Advanced & Expert Users
Hi Guys,
I want to execute few of my bash script, so that whenever someone calls shutdown now -r command, I want my script to execute first before shutting down.
Any help please?????
I've just started playing with the unix system, so far its been brilliant.... (10 Replies)
Discussion started by: alpha_manic
10 Replies
5. UNIX for Advanced & Expert Users
Firstly uname -a = UnixWare companyname 5 7.1.4 i386 x86at SCO UNIX_SVR5
Server is an HP Proliant ML350 G4 Tower
Right, now to the problem.
We frequently have power outtages and lightning strikes here due to our location in a VERY rural part of the UK.
As such, I need to be able to remotely... (6 Replies)
Discussion started by: aewpcoles
6 Replies
6. HP-UX
Hi,
I am on Alpha Server with HP Tru64 system.
I wish to setup shutdown to automatically and cleanly shutdown informix during the shutting down of the system.
Ie. I was trying to use rc0.d to do this but failed.
Has anyone tried doing this before? I already have the script and linked it
to... (0 Replies)
Discussion started by: kingsto88
0 Replies
7. AIX
Hi Guys,
Please help in this...when we start HACMP services ..server is getting shutdon.
Error mesg from cluster.log.
Apr 14 08:43:27 bascop17 snmpd: NOTICE: SMUX trap: (0 0) (127.0.0.1+46302+1)
Apr 14 08:43:33 bascop17 topsvcs: (Recorded using libct_ffdc.a cv 2):::Error ID:... (1 Reply)
Discussion started by: b_manu78
1 Replies
8. Solaris
Hi
is shutdown and init 0 are same command in solaris? (2 Replies)
Discussion started by: mokkan
2 Replies
9. 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
10. AIX
Hi,
I'm testing out this plink script - which will be executed to shutdown multiple LPARs.
This consists from:
plink -i /path/ssh/cert/ root@host shutdown -F
plink -i /path/ssh/cert/ root@host2 shutdown -F
The commands gets executed, however it stops on one host, and does not move... (6 Replies)
Discussion started by: ollie01
6 Replies
LEARN ABOUT DEBIAN
mdbfontsize
mdbFontSize(5) The m17n Library mdbFontSize(5)
NAME
mdbFontSize - Font Size
DESCRIPTION
In some case, a font contains incorrect information about its size (typically in the case of a hacked TrueType font), which results in a
bad text layout when such a font is used in combination with the other fonts. To overcome this problem, the m17n library loads information
about font-size adjustment from the m17n database by the tags <font, resize>. The data is loaded as a plist of this format.
FONT-SIZE-ADJUSTMENT ::= PER-FONT *
PER-FONT ::= '(' FONT-SPEC ADJUST-RATIO ')'
FONT-SPEC ::=
'(' [ FOUNDRY FAMILY
[ WEIGHT [ STYLE [ STRETCH [ ADSTYLE ]]]]]
REGISTRY ')'
ADJUST-RATIO ::= INTEGER
FONT-SPEC is to specify properties of a font. FOUNDRY to REGISTRY are symbols corresponding to Mfoundry to Mregistry property of a font.
See m17nFont for the meaning of each property.
ADJUST-RATIO is an integer number specifying by percentage how much the font-size must be adjusted. For instance, this PER-FONT:
((devanagari-cdac) 150)
instructs the font handler of the m17n library to open a font of 1.5 times bigger than a requested size on opening a font whose registry is
'devanagari-cdac'.
COPYRIGHT
Copyright (C) 2001 Information-technology Promotion Agency (IPA)
Copyright (C) 2001-2011 National Institute of Advanced Industrial Science and Technology (AIST)
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License
<http://www.gnu.org/licenses/fdl.html>.
Version 1.6.2 12 Jan 2011 mdbFontSize(5)