Linux -Blue forest free software | Return to home page | Site Map | Search WWW | Contact Us |
Your current position : Homepage > Free Software > Technological exchanges >Application Programming


    

Blue Forest http://www.lslnet.com at 10:18 on June 6, 2006


Linux a procedural errors, such as online.

Information is regularly sent to the system in the database.
I do : First, the process of creating a DAEMON, died in a cycle Calling framed set up timer. The main program on the use of a large number of functions to be deployed as netstat -i popen eth1 | grep | awk '{print$4}' "; Sysinfo.txt such orders. The result is a one-day procedure went, the process has more than 500 mummy, where is the problem?
Which helped me ah, thank you!

Linux a procedural errors, such as online.

You fork process? You signal (SIGCHLD, SIG_IGN) yet?

Linux a procedural errors, such as online.

Thank you can return. No.
Getline analysis of the remaining work is to use the data from which the paper version. The other did not use the function.

Linux a procedural errors, such as online.

Then you look at the procedures out stickers.

Linux a procedural errors, such as online.

Int main ()
{
Pid_t pid;

If ((pid = fork ()) "0)
Return (-1);
Else if (pid> 0)
Exit (0);
Setsid ();
Umask (0);

LEAVES OF 13 SPECIES OF LAURACEAE structural definition */
While (1)
        {
Unsigned short int iInterval 4003rd timer = 0

If ((iInterval = GetSysConf (&stInfoTmp)) "0)
                {
Printf ( "Get configuration file fail");
Exit (1);
                }
IInterval *= 60;

If (!SendSysInfoToFile (stInfoTmp))
                {
Printf ( "Send file system information to fail");
Exit (1);
                }

If (!GetSysInfo (&stSysInfo))
                {
Printf ( "Read information system fail");
Exit (1);
                }

SendSysInfoToDB (stSysInfo);

Sleep (iInterval);
      }
}

Linux a procedural errors, such as online.

Popen when you probably have, huh? You see with this sentence :
Signal (SIGCHLD, SIG_IGN)

Linux a procedural errors, such as online.

Son said you did not fork process?
In fork add signal (SIGCHLD, SIG_IGN)
Fork or two.
Shabusi reference to a process in front of the message.

Linux a procedural errors, such as online.

Thank you for help.
Principle can tell? SIG_IGN signal concerned not ah?

Linux a procedural errors, such as online.

-->
Man signal
Some inside.

Linux a procedural errors, such as online.

#include "Signal.h>;

Linux a procedural errors, such as online.

Solve the problem. Thank you.
This signal-to see the man.
Causing BSD software that sets the action for SIGCHLD to SIG_IGN to fail on Linux
This would not have written it if Unix?

I now have a knock on the transport procedures after that can we see suggest bond issue, and why?



 Privacy Policy  Copyright © 1999-2000 LSLNET.COM. All rights reserved. Blue Forest website owners. E-mail : Webmaster@lslnet.com