06-05-2009
It depends on the OS you're using...use something like truss to latch onto the running process and see what it is doing and if that doesn't work kill it with SIGQUIT or SIGABRT...both of which should produce a core file for debugging later.
10 More Discussions You Might Find Interesting
1. Solaris
Hi,
whenever I am giving a 'ls' command system is going into infinite loop displaying the current home directory.
There is no separate shell script/file with ls name anywhere in the system.
I am using Solaris 10.
Any help / guidance in solving this problem is highly appreciated.
... (3 Replies)
Discussion started by: umakant
3 Replies
2. Shell Programming and Scripting
code is as
#!/bin/sh
i=1;
while
do
welcome $i times;
i='expr $i+1';
done
exit 0; (6 Replies)
Discussion started by: mrityunjay22
6 Replies
3. Shell Programming and Scripting
Hi guys, I'm having a problem getting my infinite loop to loop. It simply reads in the users choice form the menu, executes the corresponding case statement and quits instead of looping back to the main menu again. I have a feeling it might be something with my if then statements within the case... (2 Replies)
Discussion started by: hootdocta5
2 Replies
4. Shell Programming and Scripting
hi all,
this is how my scrip looks like
#!/bin/sh
bindir='/opt/apps/script/bin'
datadir='/opt/apps/script/data'
dir='/opt/apps/script'
while : ; do
ls -1rt /opt/apps/script/data/check.txt*|tail -1 > /dev/null 2>&1
if ;then
chmod +rwx $bindir/dummy2.sh
... (8 Replies)
Discussion started by: tententen
8 Replies
5. Shell Programming and Scripting
what is the difference between while:,while true and while false? (6 Replies)
Discussion started by: proactiveaditya
6 Replies
6. UNIX for Advanced & Expert Users
I wanted to copy (not forward but copy) all incoming email to another address of mine. It worked, but now I encountered an infinite loop problem: When the second address doesn't like the content and bounces the message back, the bounce message will be sent back and forth.
So, what I have in... (1 Reply)
Discussion started by: distill
1 Replies
7. Shell Programming and Scripting
Hi All,
I need to run an infinite loop.
requirement below:
function1 --> creates a file file1
function2 ---> need to call if the file creates
i am running these both function via a script --> script.sh
i need to run the function1 first and if the file file1 creates then need to run the... (3 Replies)
Discussion started by: satyaranjon
3 Replies
8. Homework & Coursework Questions
1. The problem statement, all variables and given/known data:
My problem is an infinite loop when i press any other key other then Y or y in the while loop. what i want it to do is return to the normal script outside of it if pressing N or n or keep asking the same question if its any other... (4 Replies)
Discussion started by: Ren_kun
4 Replies
9. Shell Programming and Scripting
Hi, I was debating if I should put this in the dummies or scripts section, I apologize in advance if I chose poorly.
Fairly new to Unix and BASH scripting but I thought I made it fairly well given my limited understanding. However, the output indicates that it's looping and I'm ending up with a... (5 Replies)
Discussion started by: gotreef
5 Replies
10. Shell Programming and Scripting
Im unable to stop the below infinite loop (bash script). Can someone tell me why this isnt responding to signals eg: ctrl+c (SIGINT) or ctrl+z
c=0
test_loop() {
c=$(($c+1))
echo "count value is : $c "
sleep 1
test_loop
}
Im using: SunOS 5.10
PS: If run this as... (13 Replies)
Discussion started by: Arun_Linux
13 Replies
LEARN ABOUT CENTOS
datetime::infinite
DateTime::Infinite(3) User Contributed Perl Documentation DateTime::Infinite(3)
NAME
DateTime::Infinite - Infinite past and future DateTime objects
VERSION
version 1.04
SYNOPSIS
my $future = DateTime::Infinite::Future->new();
my $past = DateTime::Infinite::Past->new();
DESCRIPTION
This module provides two DateTime.pm subclasses, "DateTime::Infinite::Future" and "DateTime::Infinite::Past".
The objects are in the "floating" timezone, and this cannot be changed.
BUGS
There seem to be lots of problems when dealing with infinite numbers on Win32. This may be a problem with this code, Perl, or Win32's IEEE
math implementation. Either way, the module may not be well-behaved on Win32 operating systems.
METHODS
The only constructor for these two classes is the "new()" method, as shown in the SYNOPSIS. This method takes no parameters.
All "get" methods in this module simply return infinity, positive or negative. If the method is expected to return a string, it return the
string representation of positive or negative infinity used by your system. For example, on my system calling "year()" returns a number
which when printed appears either "inf" or "-inf".
The object is not mutable, so the "set()", "set_time_zone()", and "truncate()" methods are all do-nothing methods that simply return the
object they are called with.
Obviously, the "is_finite()" method returns false and the "is_infinite()" method returns true.
SEE ALSO
datetime@perl.org mailing list
http://datetime.perl.org/
AUTHOR
Dave Rolsky <autarch@urth.org>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2013 by Dave Rolsky.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
perl v5.16.3 2014-06-09 DateTime::Infinite(3)