02-23-2005
it's like it is going to sleep state..
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi Guys,
I faced a problem in one of our workstations, from five days ago when i come to office i see that this system has been powred off & when i start it up again it goes trough the "System Setup Restoring " & seems that automatic power off is active .
For disabling this i went to... (2 Replies)
Discussion started by: nikk
2 Replies
2. Linux
HI,
How can I restrict normal user from doing 'poweroff' ?
Regards
JAGDISH (1 Reply)
Discussion started by: jagdish.machhi@
1 Replies
3. Shell Programming and Scripting
Hi all,
The place where i stay experiences lot of power cuts and my solaris box is almost always on.
It so happens that many times i will not be around to switch it off as soon as there is a power cut..(i also have UPS which provides alternative supply for 15min)
So i wanted to write a script... (3 Replies)
Discussion started by: wrapster
3 Replies
4. OS X (Apple)
I have depended heavily on an external hd I named 300FWR. It has my backed-up apps, docs, and hours of captured video from digital video recordings of my wife and kids. 90% of the contents are indispensable to me. Recently, the 300FWR volume popped up on my desktop with a Lock icon on the Drive... (1 Reply)
Discussion started by: ejmjensen
1 Replies
5. UNIX for Dummies Questions & Answers
I want 2 authorize all the users to use poweroff command. How can I do this ??:o (1 Reply)
Discussion started by: lipun4u
1 Replies
6. Solaris
Hi there,
We have a Solaris 10 machine which has been up and running for more than 400 days. A strange behaviour happened. The system date defaulted to epoch timestamp. Oracle stopped and application failed causing management to parade. We managed to reset the date. All other servers and... (8 Replies)
Discussion started by: sundar63
8 Replies
7. Solaris
We have a SPARC T4-1 server, running Solaris 11, and it's doing some pretty extensive parsing on roughly 100GB data set.
All was well still few weeks ago, when I was testing the performance, I was reaching rougly 50minute calculation times, and it was more or less expected performance.
Now... (0 Replies)
Discussion started by: julumme
0 Replies
8. Solaris
Hi,
There is a abrupt memory rise observed for a process on solaris.
When the process is started the memory is around 268 MB and is stable for a day. Then suddenly the memory increased to 4364 MB.
Below is the pmap -xs output for the process (only for heap)
Address Kbytes ... (1 Reply)
Discussion started by: Nidds
1 Replies
9. Solaris
Hi,
I am getting service busy alarms on my machines which are using MongoDB every now and then. When the service busy alarm appears, I get the following errors on my mongo router logs.
Tue Apr 7 08:01:08.445 dbclient_rs nodes.ok = true hxcslc-b05:27014
Tue Apr 7 08:01:08.445 dbclient_rs... (0 Replies)
Discussion started by: sni_engineer
0 Replies
10. HP-UX
Hi,
This weekend there was a sudden application crash in the server.
I did not know where to start to investigate the problem, so I first looked into the /var/adm/syslog/syslog.log, and this was what I found :
Dec 17 00:38:02 L28bi01 sshd: error: accept: No buffer space available
Dec 17... (9 Replies)
Discussion started by: anaigini45
9 Replies
SLEEP(3) BSD Library Functions Manual SLEEP(3)
NAME
sleep -- suspend thread execution for an interval measured in seconds
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <unistd.h>
unsigned int
sleep(unsigned int seconds);
DESCRIPTION
The sleep() function suspends execution of the calling thread until either seconds seconds have elapsed or a signal is delivered to the
thread and its action is to invoke a signal-catching function or to terminate the thread or process. System activity may lengthen the sleep
by an indeterminate amount.
This function is implemented using nanosleep(2) by pausing for seconds seconds or until a signal occurs. Consequently, in this implementa-
tion, sleeping has no effect on the state of process timers, and there is no special handling for SIGALRM.
RETURN VALUES
If the sleep() function returns because the requested time has elapsed, the value returned will be zero. If the sleep() function returns due
to the delivery of a signal, the value returned will be the unslept amount (the requested time minus the time actually slept) in seconds.
SEE ALSO
nanosleep(2), usleep(3)
STANDARDS
The sleep() function conforms to ISO/IEC 9945-1:1990 (``POSIX.1'').
HISTORY
A sleep() function appeared in Version 7 AT&T UNIX.
BSD
February 13, 1998 BSD