linux查看进程启动时间、运行多长时间等指定信息
2016-01-28 17:12
696 查看
-e 表示列出所有进行
-o表示指定要输出的字段
This ps supports AIX format descriptors, which work somewhat like the formatting codes of printf(1) and printf(3). For example, the normal default output can be produced with this: ps -eo "%p %y %x %c". The NORMAL codes are described in the next section. CODE NORMAL HEADER %C pcpu %CPU %G group GROUP %P ppid PPID %U user USER %a args COMMAND %c comm COMMAND %g rgroup RGROUP %n nice NI %p pid PID %r pgid PGID %t etime ELAPSED %u ruser RUSER %x time TIME %y tty TTY %z vsz VSZ
ps -eo lstart 启动时间ps -eo etime 运行多长时间.ps -eo pid,lstart,etime | grep 7659
相关文章推荐
- linux查看是否为虚拟机
- Linux 文件/文件夹大小及数量查看
- linux 基础复习-2
- Centos升级gcc4.4.7升级gcc4.8手记
- CentOS下使用SWIG为PHP53开发扩展
- DELL 服务器在LINUX下查看阵列状态命令
- Linux常用文件命令
- 千兆网口 Freescale ETSEC + Marvell 88E1111 uboot Linux 驱动分析 一
- 在Ubuntu上为Android系统内置C可执行程序测试Linux内核驱动程序
- linux e2fsprogs安装解决uuid/uuid.h: No such file or directory错误
- centos 安装ffmpeg x264版
- Linux su与sudo的区别
- Linux批量部署工具Expect
- Linux学习笔记(3)----文件系统的inode和block
- CentOS 6.5上安装python2.7、pip以及Python命令行补全和yum冲突解决
- linux之screen 命令详解
- Unix和Linux有什么区别? 通俗解释
- Linux下Kafka单机安装配置方法
- linux硬盘分区格式化及挂载
- 再谈如何学习Linux,一线Linux专家学习经验谈