請問一下 如果我的linux背景有跑很多程式 我怎麼知道那一個程式 是開哪些PORT? 我使用netstat -a只能看到 打開的PORT 但是可以知道 那一個程式 是開哪些PORT嗎 ?
本帖最后由 mxiaohua1768 于 2011-12-06 17:48 编辑 centos 5.5 木有 xinetd 这个 管理程序了吗,非独立的进程由谁控制的? 在/etc/init.d/ 里没有找到xinetd这个脚本, 但是有这个/etc/xinetd.d 这个目录,里面还有好几个文件,比如rsync 等。
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...
以下程序开始运行时,只有一个进程,到后来会同时出现数个进程,是怎么回事呢? [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]
An usefull daemon program modified from tftp code. 文件:tftp.rar 大小:10KB 下载: 下载 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u2/75096/showart_1714556.html
一、引言 daemon程序是一直运行的服务端程序,又称为守护进程。 本文介绍了在Linux下编写daemon程序的步骤,并给出了例子程序。 二、daemon程序简介 daemon是长时间运行的进程,通常在系统启动后就运行, 在系统关闭时才结束。一般说daemon程序在后台运行,是因为它没有控制终端, 无法和前台的用户交互。daemon程序一般都作为服务程序使用,等待客户端程序 与它通信。我们也把运行的daemon程序称作守护进程。 三、daemon程序...
关于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所管理吗?
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...
守护进程的概念以及与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 ...
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.