A
A
Anton2015-12-17 15:35:01
linux
Anton, 2015-12-17 15:35:01

How to get only the necessary information about the processes?

How to get information about processes - ONLY PID, STAT, COMMAND, TIME, PRI, MEM attributes that are sleeping?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Swartalf, 2015-12-17
@hummingbird

man ps
To see every process with a user-defined format:
ps -eo pid,tid,class,rtprio,ni,pri,psr,pcpu,stat,wchan:14,comm
ps axo stat,euid,ruid,tty,tpgid ,sess,pgrp,ppid,pid,pcpu,comm
ps -eopid,tt,user,fname,tmout,f,wchan

O
Oleg Tsilyurik, 2015-12-17
@Olej

get information about processes - ONLY PID, STAT, COMMAND, TIME, PRI, MEM attributes that are sleeping?

What does "processes that sleep" mean?
There is no such terminology and concepts "processes sleep" in UNIX.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question