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

推荐订阅源

Y
Y Combinator Blog
B
Blog
S
SegmentFault 最新的问题
Vercel News
Vercel News
博客园 - 聂微东
宝玉的分享
宝玉的分享
C
Check Point Blog
有赞技术团队
有赞技术团队
IT之家
IT之家
V
V2EX
爱范儿
爱范儿
GbyAI
GbyAI
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Microsoft Azure Blog
Microsoft Azure Blog
P
Proofpoint News Feed
博客园 - 司徒正美
博客园_首页
Last Week in AI
Last Week in AI
博客园 - 叶小钗
量子位
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
F
Fortinet All Blogs
腾讯CDC
J
Java Code Geeks

博客园 - 笨笨

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