1 Star 0 Fork 0

houmingzhang/mycommand

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
proctime 303 Bytes
一键复制 编辑 原始数据 按行查看 历史
houmingzhang 提交于 2020-10-01 11:10 +08:00 . 命令
#!/bin/bash
if [ $# != 1 ] ; then
echo "用于查看进程的启动运行时间的工具 USAGE: $0 进程名"
echo " e.g.: $0 UltraStreamTransServer"
exit 1;
fi
ps -A -opid,stime,etime,args|head -n 1;ps -A -opid,stime,etime,args | grep $1 |grep -v grep |grep -v /usr/bin/mycommand/proctime
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Shell
1
https://gitee.com/dtrylzhm/mycommand.git
git@gitee.com:dtrylzhm/mycommand.git
dtrylzhm
mycommand
mycommand
master

搜索帮助