IAISO
  • 首页
  • Wiki
  • Reviews
  • Business
  • Dewshelf
  • Plaza
  • Language Sites
  • what todayorigin
  • Login
  • Register
  • ☰
    3-1进程标识与fork
    Published 2022-02-28 stdout fprintf ppid

    进程标识 一个程序被加载到内存中运行,系统会为这个进程分配相应的标识信息,比如 pid,ppid,uid,euid,pgid,sid,gid,egid… 进程查看命令 pstree 可看出进程间的关系 父子,兄弟; ps -exj ps -aux ps … PID PPID PGID UID TTY STAT TIME…

    3-2进程退出和回收
    Published 2022-03-04 stdout fprintf laradock

    进程的退出 PHP 进程退出的几种情况 运行到最后一行语句 运行时遇到 return 运行时遇到 exit() 函数的时候 程序异常的时候 进程接收到中断信号 正常结束、异常结束(跟信号有关),不管以何种方式退出,都有一个终止状态码。 僵尸进程 僵尸进程(zombie process):指子进程已结束,但是父进程还没有…

    3-3进程exec
    Published 2022-03-05 2228 2227 posix

    pcntl_exec 函数用来执行一个程序,它内部的系统调用是 execve 一般的用法是父进程先创建一个子进程,然后子进程调用这个函数,正文段(代码段)+ 数据段会被新程序替换,它的一些属性会继承父进程,PID并没有发生变化。 execve() executes the program referred to by …

    3-4进程调度
    Published 2022-03-05 fprintf getpriority pcntl

    pcntl_fork 创建了一个子进程,这个时候就会存在父进程和子进程,cpu先调度哪个进程? pcntl 封装了可以控制进程优先级的函数 pcntl_setpriority ( setpriority ),修改任意进程的优先级, pcntl_getpriority ( getpriority )获取任意进程的优先级。…

    3-5多进程编写
    Published 2022-03-07 cpu parent count

    多进程编写需要清楚的几个问题 创建了几个进程? 每个进程 $count 是多少? 每个进程从哪个地方开始运行代码的? fork 之后,每个进程的变量 $i, $count 的值是多少 ? 每个进程运行到哪一行语句结束? 示例一: 代码

    3-6 SUID特权进程
    Published 2022-03-08 setuid euid posix

    SUID、SGID 概念 The Unix access rights flags setuid and setgid (short for “set user ID” and “set group ID”) allow users to run an executable with the file system p…

    3-7 进程查看
    Published 2022-03-08 rw proc usr

    一个程序启动之后就是一个进程,进程的数据在内存中,包括正文段和数据段,内存中的一些数据也会写入到proc文件系统中。 $ ll /proc/ total 4 dr-xr-xr-x 447 root root 0 Mar 8 06:31 ./ drwxr-xr-x 1 root root 4096 Mar 1 07:45…

    4-1 什么是中断信号(软中断)
    Published 2022-03-09 ctrl php

    中断信号 指软件中断信号,简称软中断。 中断信号处理程序(信号处理函数,信号捕捉函数)完以后,就会返回继续执行主程序。 中断是用以提高计算机工作效率、增强计算机功能的一项重要技术。最初引入硬件中断,只是出于性能上的考量。如果计算机系统没有中断,则处理器与外部设备通信时,它必须在向该设备发出指令后进行忙等待(Busy w…

    2022-03-10 面试复盘
    Published 2022-03-11 39 10

    笔试题 40分钟,A4纸手写。 好多年都没握过笔了。 MVC 中的 M, V, C 分别代表什么? 我的答案: Model View Controller 分析:回答比较粗浅,只写出了完整的单词。 以下代码的运行结果 $value = FALSE ; if ( empty ($value)) { echo 'null'…

    4-2 编写中断信号处理程序
    Published 2022-03-15 pcntl signal something

    pcntl_signal 信号处理函数 安装一个信号处理器。 说明: pcntl_signal ( int $signo, callback $handler, bool $restart_syscalls = true ) : bool 函数 pcntl_signal 为 signo 指定的信号安装一个新的信号处理器…

    首页 上一页 1 ... 7634 7635 7636 ... 7911 下一页 尾页
    Archive 2026-11·43,218 2026-10·1,863 2026-09·860 2026-08·628 2026-07·532 2026-06·403
    Cluster C3·6,038 C2·79,148 C1·2,037,450
    Disclaimer: All resources on this site are user-submitted, for personal learning only, not for commercial use. Copyright belongs to the original authors, who bear full responsibility. Views do not represent this site. Contact us for prompt removal in case of any rights issue or inappropriate content.
    © 2026 IAISO

    Scan QR to visit our website

    QR
    logo

    no residue, re-add anytime

    Armenia Azerbaijan Bangladesh Bulgaria Belarus China Czechia Germany Denmark Egypt International Ethiopia Finland France Georgia Spain India Hong Kong, China India Croatia Israel Iran Italy Japan Kyrgyzstan Cambodia India Kazakhstan Laos Sri Lanka North Macedonia Myanmar Mongolia India Malaysia Nigeria Netherlands Norway Nepal India India Philippines Pakistan Poland Portugal Serbia Russia Saudi Arabia Pakistan Sweden Slovenia Slovakia India Thailand Tajikistan Taiwan, China Tanzania Ukraine Vietnam South Africa