freebsd:uname -a apache: apachectl -v php:php -v mysql:mysql -V(大写V) 查看php模块:php -m 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/20624/showart_2063236.html
systat 能实时查看各种信息 systat -pigs 默认值CPU systat -iostat 硬盘IO systat -swap 交换分区 systat -mbufs 网络缓冲区 systat -vmstat 虚拟内存 systat -netstat 网络 systat -icmp ICMP协议 systat -ip IP协议 systat -tcp TCP协议 systat -ifstat 网卡 dmesg 显示PCI总线设备信息 pciconf -lv 显示内核加载的模块 kldstat -v 显示指定模块 klsdstat -m ipfilter 即插即用设备 pnpinfo 显示设备占用的IRQ和内存地址 devi...
freebsd是一个多任务的操作系统,也就是说同时可以执行多个程序。一个执行中的程序就是进程。 每个进程都有一个由系统临时分配的唯一标识,称为进程ID(可从1分配到99999),或PID。绝大多数的进程都有一个父进程,即用来启动该进程的进程。但是,在系统中有一个叫做init的进程,其PID始终为1,该进程在freebsd启动时由内核自动启动。 例如,用户在shell中执行指令ls,则ls对应的进程就是shell的子进程,shell是ls的父...
www# mount -t linprocfs linprocfs /compat/linux/proc www# cat /compat/linux/proc/cpuinfo 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u2/66983/showart_654045.html
systat -if 1 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/4255/showart_239873.html
[1] netstat 1 netstat -i netstat -I vr0 simple way [2]ports: nload vivid way eg. view vr0--> nload vr0 [3]systat -if 1 nice way [4]ports:ntop detailed information about bandwidth, esp for monitoring LAN info, but high system resource needed. view through website, eg. http://localhost:3000 [5]ports:mrtg Did not use it [6]ports:bandwidthd Did not use it [7]ports:iftop 对ntop印象不错,生成...
[1] netstat 1 netstat -i netstat -I vr0 simple way [2]ports: nload vivid way eg. view vr0--> nload vr0 [3]systat -if 1 nice way [4]ports:ntop detailed information about bandwidth, esp for monitoring LAN info, but high system resource needed. view through website, eg. http://localhost:3000 [5]ports:mrtg Did not use it [6]ports:bandwidthd Did not use it [7]ports:iftop convienient and simple for m...