笨笨
独学而无友,则孤陋而寡闻

1。
查看当前进程ID (KornShell):
$echo $$
4992

2.
查看跟指定程序相关的进程:
$ps -A | grep ....bat
 8360  0:00 cmd /c ....bat

3.
$kill -9 $pid

4.
查看window系统启动状况:
C:\>uptime
12:55pm  up  3:41, 1 session, load average: 0.00, 0.00, 0.00.

查看系统日志,观察source=eventlog的所有记录,查找:
Introduction to the key event ID:
6005: Log the system up event
6006: Log the system shutdown event
6008: Log the unexpected system shutdown event

5.
$who am i
$which is java



posted on 2006-01-16 12:59  笨笨  阅读(1029)  评论(0编辑  收藏  举报