03-17-2006
Sorry for the delayed response, I was out of the office a couple days.
The way we do it is that the Oracle DBAs have written scripts placed in /etc/rc2.d on our Sun boxes to start up and shut down their databases. When I reboot the box during maintenance I just issue the command "init 6" to cause a reboot. That command runs all the shutdown scripts before the reboot occurs, so the DBA's script takes care of their databases. That way I don't have to log into Oracle at all. One of the DBA team will be in the office for maintenance as well so if there is a problem (for example one of the servers hangs on the shutdown script or the databases don't restart after the reboot) they can check it out.
9 More Discussions You Might Find Interesting
1. SCO
Hi. Can entire data be taken thr' ncftp from one SCO Unix server to another?
Please let me know. (0 Replies)
Discussion started by: hrishi10a
0 Replies
2. UNIX for Dummies Questions & Answers
hi all!
I am VB developer and i am trying to automate a process in UNIX for which i request your help.
I want to learn the technique by which we can write batch process in unix server to search for a list of files and to note down files that are missing from the list in the form of a log so... (2 Replies)
Discussion started by: varsai123
2 Replies
3. UNIX for Dummies Questions & Answers
Hello, i am new to both this forum and UNIX as well; i am working at a local cancer center trying to reassociate 2 UNIX server systems that i am unfamiliar with; Both C3600 workstations were associated, however they were disassociated and need to be reassociated so programs can be accessed on... (0 Replies)
Discussion started by: RarisRSX
0 Replies
4. UNIX for Advanced & Expert Users
Guys,
I need a monitoring software for my Unix servers.
Over the last couple of years, the number has increased to well over 40 servers.
All have different applications running on them and it is impossible to go to everyone of them and do checks.
I was using Spotlight on Unix.
I was... (1 Reply)
Discussion started by: jair
1 Replies
5. Shell Programming and Scripting
Hi
I have server A and server B.
On server B the directory is called /tmp/hmp
On server A I want to get the files on server B:/tmp/hmp via FTP. After I have got the files via FTP I have to delete them. In the script below I'm affraid of that I delete files before I get them by ftp.
... (1 Reply)
Discussion started by: hpedersen4
1 Replies
6. Shell Programming and Scripting
hi,
anyone please explain ab the unix servers
thanks in advance
Satya (2 Replies)
Discussion started by: Satyak
2 Replies
7. Shell Programming and Scripting
Is it possible to use the diff command to compare two directories on different Unix (AIX) servers?
We have two regions set up and we want to be able to compare if the scripts directory in both regions contain the same files?
I want to figure out if its possible.. Have been messing around by... (10 Replies)
Discussion started by: Jazmania
10 Replies
8. UNIX for Dummies Questions & Answers
Hi All,
when i ftp the file from windows machine to unix server the record count in the file is decreased by 1.
example: Say a text file has three lines in it and when you place this file in unix server from your local machine and run a below command
cat filename | wc -l
the output is... (2 Replies)
Discussion started by: Umeshrm
2 Replies
9. UNIX for Dummies Questions & Answers
:wall: Does anyone know of a good Unix Server Syncronization Softwarware, I have a customer that has a primary server but he wants to get another one as a backup and he wants to syncronize all the disks on a daily or weekly bases to have it ready in case the primary fails. Your help would be... (2 Replies)
Discussion started by: reb
2 Replies
LEARN ABOUT DEBIAN
datetime::format::epoch::unix
DateTime::Format::Epoch::Unix(3pm) User Contributed Perl Documentation DateTime::Format::Epoch::Unix(3pm)
NAME
DateTime::Format::Epoch::Unix - Convert DateTimes to/from Unix epoch seconds
SYNOPSIS
use DateTime::Format::Epoch::Unix;
my $dt = DateTime::Format::Epoch::Unix->parse_datetime( 1051488000 );
# 2003-04-28T00:00:00
DateTime::Format::Epoch::Unix->format_datetime($dt);
# 1051488000
my $formatter = DateTime::Format::Epoch::Unix->new();
my $dt2 = $formatter->parse_datetime( 1051488000 );
$formatter->format_datetime($dt2);
DESCRIPTION
This module can convert a DateTime object (or any object that can be converted to a DateTime object) to the number of seconds since the
Unix epoch.
METHODS
Most of the methods are the same as those in DateTime::Format::Epoch. The only difference is the constructor.
o new()
Constructor of the formatter/parser object. It has no parameters.
SUPPORT
Support for this module is provided via the datetime@perl.org email list. See http://lists.perl.org/ for more details.
AUTHOR
Eugene van der Pijll <pijll@gmx.net>
COPYRIGHT
Copyright (c) 2003 Eugene van der Pijll. All rights reserved. This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.
SEE ALSO
DateTime
datetime@perl.org mailing list
perl v5.10.1 2007-12-03 DateTime::Format::Epoch::Unix(3pm)