ChinaUnix.net
相关文章推荐:

daemon高级编程

介绍一下daemon

by hanlenry - 博客SNS站务交流区 - 2008-09-08 13:36:39 阅读(2853) 回复(0)

相关讨论

請問一下 如果我的linux背景有跑很多程式 我怎麼知道那一個程式 是開哪些PORT? 我使用netstat -a只能看到 打開的PORT 但是可以知道 那一個程式 是開哪些PORT嗎 ?

by dspecialtwo - Linux系统管理 - 2012-03-13 14:26:20 阅读(1233) 回复(2)

本帖最后由 mxiaohua1768 于 2011-12-06 17:48 编辑 centos 5.5 木有 xinetd 这个 管理程序了吗,非独立的进程由谁控制的? 在/etc/init.d/ 里没有找到xinetd这个脚本, 但是有这个/etc/xinetd.d 这个目录,里面还有好几个文件,比如rsync 等。

by mxiaohua1768 - Linux系统管理 - 2011-12-06 17:49:38 阅读(1595) 回复(1)

daemon 登录档的 syslog 这支 daemon 的初始化设定就写入在 /etc/sysconfig/syslog: [root@www ~]# /etc/init.d/syslog 用法: /etc/init.d/syslog {start|stop|status|restart|condrestart} # 什么参数都不加的时候,系统会告诉你可以用的参数有哪些,如上所示。 范例一:观察 syslog 这个 daemon 目前的状态 [root@www ~]# /etc/init.d/syslog status 范例二:重新让 syslog 读取一次配置文件 [root@www ~]# /etc/init...

by mingwjj - Linux文档专区 - 2009-07-21 16:44:29 阅读(606) 回复(0)

以下程序开始运行时,只有一个进程,到后来会同时出现数个进程,是怎么回事呢? [quote]& init_daemon; while(1) { & myapp(); sleep(5); } exit; sub init_daemon { my $pid; if( $pid=fork() ) { exit(0); } elsif( $pid< 0 ) { exit(1); } }[/quote]

by 屠龙 - Perl - 2009-01-02 11:14:12 阅读(1888) 回复(6)

An usefull daemon program modified from tftp code. 文件:tftp.rar 大小:10KB 下载: 下载 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u2/75096/showart_1714556.html

by jerrykinki - Linux文档专区 - 2008-12-11 22:16:04 阅读(638) 回复(0)

一、引言 daemon程序是一直运行的服务端程序,又称为守护进程。 本文介绍了在Linux下编写daemon程序的步骤,并给出了例子程序。 二、daemon程序简介 daemon是长时间运行的进程,通常在系统启动后就运行, 在系统关闭时才结束。一般说daemon程序在后台运行,是因为它没有控制终端, 无法和前台的用户交互。daemon程序一般都作为服务程序使用,等待客户端程序 与它通信。我们也把运行的daemon程序称作守护进程。 三、daemon程序...

by newyoko - Linux文档专区 - 2008-10-06 10:07:16 阅读(659) 回复(0)

关于daemon我有点不明白。 stand alone类型的daemon是直接和client交互,transient类型的daemon要求先呼叫xinetd这个super daemon之后才能和用户交互。而telnet 又属于xinetd所启动。当我在redhat as4上chkconfig xinetd off, chkconfig krb5-telnet on后仍然可以用telnet 来登录这台linux主机。netstat -ult发现telnet 服务确实已经起来了。 不明白这是为什么。telnet 服务是由xinetd这个super daemon所管理吗?

by shichunda - Linux系统管理 - 2008-08-15 20:01:44 阅读(1380) 回复(9)

acpi acpid - the ACPI event daemon There isn't much meat to this web-page yet. It's just here to let people know what this is. ACPID is a completely flexible, totally extensible daemon for delivering ACPI events. It listens on a file (/proc/acpi/event) and when an event occurs, executes programs to handle the event. The programs it executes are configured through a set of configuration files, whic...

by songbei6 - Linux文档专区 - 2008-07-13 22:04:10 阅读(821) 回复(0)

守护进程的概念以及与demon的区别 daemon The term you selected is being presented by searchWebServices.com, a TechTarget site for Web Services professionals. --> A daemon (pronounced DEE-muhn) is a program that runs continuously and exists for the purpose of handling periodic service requests that a computer system expects to receive. The daemon program forwards the requests to ...

by 面筋粘知了 - Linux文档专区 - 2005-06-20 13:49:49 阅读(984) 回复(0)

The term “daemon” is derived from Greek mythology. The ancient Greeks called a supernatural being that acted as an intermediary between the gods and man a daemon.

by sunsun2003 - Solaris - 2003-05-26 09:19:50 阅读(946) 回复(2)