freebsd下什么命令可以查看服务器的硬件配置啊? 还有查看已经安装了什么软件? 启动了什么服务? 开了哪些端口? 开了哪些用户? 用户的级别?... 还有怎么删除已经安装的软件? 怎么升级已经安装的软件?(比如 mysql,php, ) 会影响服务器正常使用吗? 还有怎么查看服务器的负荷, 以及当前使用的流量?
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...
使用 systat -ifstat可以显示每张网卡的数据收发速度,以及峰值。总的流量等等,跟Windows的任务管理器有点像。 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u2/69656/showart_1825240.html
top是给Linux设计的。在freebsd VM里面的Free概念和其他OS完全不同,使用top查看Free内存对于freebsd来说可以说没什么意义。正确的方法是看vmstat。 procs memory page disk faults cpu r b w swap free re mf mi po fr de sr f0 s0 s1 s2 in sy cs us sy id 0 0 0 14888 19120 0 4 2 11 10 0 0 0 0 0 8 198 2158 98 11 19 69 SWAP的单位应该是K,不是M。还有两个比较重要的参数是PI、PO,表示内存的调入、调出页面,单位也是K,但...
netstat -i只能查看开机到目前的总的包 torsmo也不错 是镶嵌在桌面的 要装X 还要xlib(depend) systat -if 最简单的netstat 1 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/6402/showart_137634.html
freebsd开机自启动系统服务 freebsd下安装了一些服务,这些服务需要设置为开机启动。 方法一: 1. 写脚本放置到/usr/local/etc/rc.d下面 如:/usr/local/etc/rc.d/cvsd 2. 设置脚本执行权限 chmod a+x cvsd 重新启动后cvsd服务就自动启动了,启动其他服务类似 方法二: 1. 在/etc/rc.local中添加添加要启动的服务 如:/usr/local/mysql/bin/mysqld_safe 2. 如果没有文件/etc/rc.local则先创建即可。 问题:禁用sendmai...