Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Process system usage : (4 Items)
   
Process system usage  
Hii,

How to list the system usage of all processes currently running on the target.

I used "top" command on target but which is giving system usage about kernel level processes only not about user level 
process. Can any one help me to know system usage about  user level processes?
Re: Process system usage  
There is no such thing as kernel-level processes. All processes in QNX
(with the exception of procnto) run in user mode.

--Elad

On Tue, 2018-08-28 at 06:24 -0400, Sai Devasani wrote:
> Hii,
> 
> How to list the system usage of all processes currently running on
> the target.
> 
> I used "top" command on target but which is giving system usage about
> kernel level processes only not about user level process. Can any one
> help me to know system usage about  user level processes?
> 
> 
> 
> _______________________________________________
> 
> OSTech
> http://community.qnx.com/sf/go/post119058
> To cancel your subscription to this discussion, please e-mail ostech-
> core_os-unsubscribe@community.qnx.com
Re: Process system usage  
Hii,

Actually i would like to check CPU usage of all running process, but "top" command is displaying CPU usage for only 10 
processes(Look like top 10 processes which taking more CPU).

Here is my top output,

" Computing times... 38 processes; 317 threads;
CPU states: 0.0% user, 0.1% kernel
CPU  0 Idle: 99.5% 
CPU  1 Idle: 100.0% 
Memory: 247M total, 85M avail, page size 4K

      PID   TID PRI STATE    HH:MM:SS    CPU  COMMAND
        1    15 115 Rcv       0:00:00   0.12% kernel
   774182     1  10 Rply      0:00:00   0.06% top
        1    19  10 Run       0:00:00   0.02% kernel
    77836     2  21 Rcv       0:00:00   0.00% io-pkt-v6-hc
    61451     2  10 NSlp      0:00:00   0.00% random
        2     1 115 Rcv       0:00:00   0.00% slogger2
    12296     1  24 Rcv       0:00:00   0.00% devc-serhsu
    12295     1   9 SigW      0:00:00   0.00% qloader
   421920     1   8 SigW      0:00:00   0.00% qloader
        1    18  10 Rcv       0:00:00   0.00% kernel

             Min        Max       Average 
CPU 0 idle:   99%        99%        99% 
CPU 1 idle:  100%       100%       100% 
Mem Avail:    85MB       85MB       85MB  
Processes:    38         38         38    
Threads:     317        317        317    
"
Can you please help me how to list all processes under top output??
Re: Process system usage  
The command you want to use is called "hogs".

-Al