惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

爱范儿
爱范儿
博客园_首页
U
Unit 42
Apple Machine Learning Research
Apple Machine Learning Research
云风的 BLOG
云风的 BLOG
MongoDB | Blog
MongoDB | Blog
美团技术团队
H
Help Net Security
G
Google Developers Blog
B
Blog RSS Feed
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
aimingoo的专栏
aimingoo的专栏
Google DeepMind News
Google DeepMind News
J
Java Code Geeks
M
MIT News - Artificial intelligence
腾讯CDC
IT之家
IT之家
Vercel News
Vercel News
C
Check Point Blog
博客园 - 三生石上(FineUI控件)
Last Week in AI
Last Week in AI
I
InfoQ
博客园 - 司徒正美
A
About on SuperTechFans

博客园 - 笨笨

UTF-8 Oracle生成MD5 How do you define Success? pbrun su -root 爸妈 Spring中的exception处理 What is ieHTTPHeaders? SLA(Service Level Agreement) Cluster/Fail-Over/Load Banlance Thread Dump 非常郁闷 Bea World 2005 materials available now 程序依赖库的管理 EJB琐碎的想法 J2EE的世界越来越精彩了 LDAP信息模型 人类进入文明史的标志 TimeZone Socket
Shell/Windows命令备忘
笨笨 · 2006-01-16 · via 博客园 - 笨笨

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

2.
查看跟指定程序相关的进程:

$ps -A | grep ....bat
 8360  0:00 cmd /c ....bat

3.

$kill -9 $pid4.
查看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