service network restart让linux不机器而重启网络
阅读(27 次)
service network restart让linux不机器而重启网络
阅读(27 次)
NBU中tape drive down的10大原因
NBU中tape drive down的10大原因
Symptom: Top Ten Reasons Tape Drives Go Down Solution:
10. Infrequent, random failure during “normal” operation. Diagnosis: Two drive errors occurred within 12 hours. (See: Technotes 234412, 235839) Remedies: A. Increase the number of allowable drive errors by creating a file named /usr/openv/netbackup/DRIVE_ERROR_THRESHOLD that contains an override […]
How do I setup VNC based on xinetd with XDMCP for GDM?
http://kbase.redhat.com/faq/FAQ_45_11127.shtm
以上是redhat官方网站给的标准方法,不过此方法有一个缺点就是不小心关闭vncviewer窗口就等于注销,那之前辛苦很可能白做。使用一下修改版可避免。
在/etc/xinetd.d下 建立vtest
service vtest
{
disable = no
socket_type = stream
protocol = tcp
wait = yes #这个选项选yes就是用来防止不小心关闭vncviewer窗口而注销
user = nobody
server = /usr/bin/Xvnc
server_args = -inetd -query localhost -geometry 800×600 -once passwordFile=/SomePath/passwd
}
最后一行的passwordFile用来在进入login窗口前先做一次认证用的,安全第一。
In the server_args section, the -query localhost will make each Xvnc instance query localhost […]
SimVision是verilog-XL的图形界面是cadence的
阅读(51 次)
vmstat 命令的用法说明
链接:http://www.eygle.com/digest/2007/07/vmstat_man_page.html
用途
报告虚拟内存统计信息。
语法
vmstat [ -f ] [ -i ] [ -s ] [ -I ] [ -t ] [ -v ] [ PhysicalVolume … ] [ Interval [ Count ] ]
描述
vmstat 命令报告关于内核线程、虚拟内存、磁盘、陷阱和 CPU 活动的统计信息。由 vmstat 命令生成的报告可以用于平衡系统负载活动。系统范围内的这些统计信息(所有的处理器中)都计算出以百分比表示的平均值,或者计算其总和。
阅读(75 次)
本文可自由转载,但请遵循“署名-非商业用途-保持一致”的创作共用协议。永久链接:JoeCen’s 小猫窝
—————————–
一直以为ps命令中的”%CPU”也是指实时的CPU使用率,所以一直都用它来做cacti监控process的cpu使用率。但是上周发现有点不对,ps的”%CPU”与top或者vmstat 的”%CPU”不一样。
ps命令的man里面的解释:
CPU usage is currently expressed as the percentage of time spent running during the entire lifetime of a process. This is not ideal, and it does not conform to the standards that ps otherwise conforms to. CPU usage is unlikely to add up to exactly 100%.
top命令的man的解释:
k: %CPU — CPU usage
The task’s share of […]
us 用户空间占用CPU百分比
sy 内核空间占用CPU百分比
ni 用户进程空间内改变过优先级的进程占用CPU百分比
id 空闲CPU百分比
wa 等待输入输出的CPU时间百分比
hi 硬件中断
si 软件中断
http://zhidao.baidu.com/question/46437307.html
阅读(40 次)
top
执行完后 按 数字’1′
This command affects how the ’t’ command’s Cpu States portion is shown. Although this toggle exists primarily to serve massively-parallel SMP machines, it is not restricted to solely SMP environments.
When you see ’Cpu(s):’ in the summary area, the ’1’ toggle is On and all […]