04-06-2005
RE:Remove Server Sleep Mode
Hi Keith,
Thanks for the prompt reply. So meaning, i use a text pad to create a script. When i save it to a filename such as 'dbora' in /etc/init.d i need to make it executable? Otherwise it won't work? Actually this is a oracle file where by it trigger a dbstart script within the $ORACLE_HOME/bin directory. But of course i have symbolic link to /etc/rc0.d and /etc/rc3.d directory.
BTW ... was thinking of it now. I don think the server crash bcoz i use it the whole day in the office. The only thing is that the server will go into ok prompt the next day i go back to office. I believe it is in certain mode. Not sure sleep mode is good to describe it bcoz the fan is on while i am at the ok prompt. So also don know what happen to the server. The only way is to restart the server.
9 More Discussions You Might Find Interesting
1. Programming
0 .with regards to you
1 .Thank you for reading letter
2 .a Server call sleep(20) after listern(fd,5) . When the Server is in asleep,a Client connect() to it successful and send a lot of appointed data .
3 .Why ? I think that the server is in sleep (beasue I call sleep()) , it donot block at... (3 Replies)
Discussion started by: chenhao_no1
3 Replies
2. Programming
I am trying to writa a multi-client & multi-threaded TCP server.
There is a thread pool. Each thread in the pool will handle
requests of multiple clients.
But here I have a problem. I find a solution but it is not how
it must be... i think. When threads working without sleep(1)
I can't... (0 Replies)
Discussion started by: Parahat Melayev
0 Replies
3. BSD
Hello,
The issue of this job is to build a Lodel+servoo server (this is a CMS cf. http://www.servoo.net/document.php?id=20 and http://www.lodel.org/document136.html).
But I had a problem to install the ports open-office1.x. when I launch the make install it tell me to type a make... (0 Replies)
Discussion started by: SoulCoder
0 Replies
4. UNIX for Advanced & Expert Users
hi all
I process is sleeping after 12 hours but i need to be run this to 24 hours but it goes in sleep mode after 12 hours what should i do to make process always running.Kindly give me suggestion. (0 Replies)
Discussion started by: mukesh_rakesh1
0 Replies
5. Shell Programming and Scripting
This is a very crude attempt in Bash at something that I needed but didn't seem to find in the 'sleep' command. However, I would like to be able to do it without the need for the temp file. Please go easy on me if this is already possible in some other way:
How many times have you used the... (5 Replies)
Discussion started by: deckard
5 Replies
6. AIX
Hi,
I am a newbie to AIX. We have 2 AIX5.3 servers in our environment, I need to transfer some files in Binary mode from one server to another and some files in ASCII mode from one server to another server. Could you please help me as to how I need to do that?
Thanks,
Rakesh (4 Replies)
Discussion started by: rakeshc.apps
4 Replies
7. Shell Programming and Scripting
Hi ,
I am working on a Solaris server which goes to sleep mode if idle for more than 30 min. I have a remote access so that I can access the server from my home too. By the time I go back to my room, it is going to sleep mode so I could see nothing but a black screen. Is there any option to... (3 Replies)
Discussion started by: prabhag
3 Replies
8. Solaris
I am an experienced MS Windows user who has tried four different flavors of Linux: Mandriva, Centos, Debian, and Ubantu---each on a different PC. (I always used a dual-boot configuration with Grub and Win XP or Win 7). Each time, I encountered the following two problems:
While resuming from... (2 Replies)
Discussion started by: mjdz
2 Replies
9. UNIX for Beginners Questions & Answers
Hi All,
I have a shell script, at one point it try to ping a server in our organization network, if ping fail it will wait for an hour using sleep command and try to run the script again from the beginning.
I'm wondering what could be the possible impact on my Linux server if 1000 sleep... (5 Replies)
Discussion started by: SaddamAB
5 Replies
LEARN ABOUT DEBIAN
lwp-download
LWP-DOWNLOAD(1p) User Contributed Perl Documentation LWP-DOWNLOAD(1p)
NAME
lwp-download - Fetch large files from the web
SYNOPSIS
lwp-download [-a] [-s] <url> [<local path>]
DESCRIPTION
The lwp-download program will save the file at url to a local file.
If local path is not specified, then the current directory is assumed.
If local path is a directory, then the last segment of the path of the url is appended to form a local filename. If the url path ends with
slash the name "index" is used. With the -s option pick up the last segment of the filename from server provided sources like the Content-
Disposition header or any redirect URLs. A file extension to match the server reported Content-Type might also be appended. If a file
with the produced filename already exists, then lwp-download will prompt before it overwrites and will fail if its standard input is not a
terminal. This form of invocation will also fail is no acceptable filename can be derived from the sources mentioned above.
If local path is not a directory, then it is simply used as the path to save into. If the file already exists it's overwritten.
The lwp-download program is implemented using the libwww-perl library. It is better suited to down load big files than the lwp-request
program because it does not store the file in memory. Another benefit is that it will keep you updated about its progress and that you
don't have much options to worry about.
Use the "-a" option to save the file in text (ascii) mode. Might make a difference on dosish systems.
EXAMPLE
Fetch the newest and greatest perl version:
$ lwp-download http://www.perl.com/CPAN/src/latest.tar.gz
Saving to 'latest.tar.gz'...
11.4 MB received in 8 seconds (1.43 MB/sec)
AUTHOR
Gisle Aas <gisle@aas.no>
perl v5.14.2 2012-01-14 LWP-DOWNLOAD(1p)