![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to find a file whick is consuming larger disk space in file system | lokeshpashine | UNIX for Dummies Questions & Answers | 3 | 01-04-2008 02:26 PM |
| How to get system memory usage like top | umen | UNIX for Dummies Questions & Answers | 3 | 02-13-2007 01:16 AM |
| Help -fwrite consuming lot of memory !!! | ajphaj | High Level Programming | 2 | 07-19-2005 01:08 PM |
| Check if deamons are running | W2W | UNIX for Dummies Questions & Answers | 3 | 05-02-2002 12:07 PM |
| Unix system memory | anilkumar | UNIX for Dummies Questions & Answers | 1 | 01-16-2001 10:59 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Dear all,
When I write the daemon programs it is consuming high memory and processor time. How can I avoid this? But, the system daemons are not consuming more. How? Can any one explain how the system daemons are handling the memory consumption and processor time. Thanks, Nagalenoj |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
Do you call sleep or usleep to shut down until a signal is received or the timeout of sleep is reached?
You can also use select or maybe poll for socket operations. daemons are "asleep" a large part of the time - sounds like yours is not. |
|||
| Google The UNIX and Linux Forums |