9 More Discussions You Might Find Interesting
1. Programming
Hi , I have a doubt with signals and sleep function.
In a program i have this
while(1)
{
//do some work
sleep(1);
}And in a thread i have something like this
union sigval data;
char message;
char msg;
data.sival_int=0;
while(1)
{
... (4 Replies)
Discussion started by: bacesado
4 Replies
2. Hardware
I'm New to the linux world I'm running OpenSuse and as soon as I installed everything was wokring like a charm. and i said to myself I'm so keeping this OpSys! everytime i would plug in my iPhone it would read it as anything else as a filesystem and i was able to go through the device files an etc,... (9 Replies)
Discussion started by: JuankyKong
9 Replies
3. Shell Programming and Scripting
Hi All,
I am new to Unix , there i am facing one problem with sleep command. that is ..
in while loop i have defined sleep function ..
my condition is like this
while #i knew this is infinite loop
do
sleep 200
echo "hello "
done.
this condition will never become .. true... (3 Replies)
Discussion started by: mandlysreedhar
3 Replies
4. Programming
This is the gdb backtrace.
^C
Program received signal SIGINT, Interrupt.
0xffffe424 in __kernel_vsyscall ()
(gdb) bt
#0 0xffffe424 in __kernel_vsyscall ()
#1 0xb7e56a70 in __nanosleep_nocancel () from /lib/libc.so.6
#2 0xb7e568bb in __sleep (seconds=0) at sleep.c:138
#3 0x080496d5 in... (6 Replies)
Discussion started by: dragonpoint
6 Replies
5. Shell Programming and Scripting
Hey everyone, just entering the linux world, I need some help with a shell script i'm trying to write, the purpose is to check every 10 minutes what was the last time a certain file was modified, and if there is a connection to the server at this moment send an email with the date of the... (2 Replies)
Discussion started by: moshe88
2 Replies
6. 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
7. Solaris
Hi,
Server AIBVRFCC failed POST while booting on 06/28/2009. Server is up, but OS cannot see two CPUs (CPU 0 and CPU 2) and half of the installed system memory (8 GB is physically installed but only 4 GB is seen by OS now).
bld00016:root psrinfo
1 on-line since 06/28/09 05:51:36
3 on-line... (1 Reply)
Discussion started by: arumsun
1 Replies
8. Solaris
I just starting recieving in /var/adm/messages this kind of notice:
dmfe: NOTICE: dmfe0: TX stall detected after 2 ticks in state 3; automatic recovery initiated
does any one have any idea why this notice is generated ?
thanks in advance. (1 Reply)
Discussion started by: pasalagua
1 Replies
9. Debian
Hi,
I have got myself a new hard disk- a 80 GB SATA IDE from Seagate. When I try installing Red Hat Linux 9(and RHL 7.2 too), it displays an error message saying that it fails to detect any hard drive. In the BIOS, I tried changing the drive configuration to "Legacy Drive", but that didnt help... (5 Replies)
Discussion started by: Abhishek Ghose
5 Replies