Skip navigation.
Home
The QNX Community Portal

View topic - Need a QNX utility to know the CPU Percentage usage

Page 1 of 1

Need a QNX utility to know the CPU Percentage usage

PostPosted: Thu Jul 16, 2015 7:13 am
by bhaskara-r
I want to know whether any QNX utility is availabe to Know the CPU Percentage in the Embedded device which is running the QNX OS.

Please let me know if it is available.

Re: Need a QNX utility to know the CPU Percentage usage

PostPosted: Thu Jul 16, 2015 1:26 pm
by Tim
hogs

Tim

Re: Need a QNX utility to know the CPU Percentage usage

PostPosted: Thu Jul 16, 2015 5:35 pm
by maschoen
I think it should be pointed out that hogs lists the cpu per process. It does not combine cpu for "os" processes, which under QNX is somewhat arbitrary anyway, and it does not list the cpu for the kernel, although you could argue that the kernel is always executing on behalf of a process.

Re: Need a QNX utility to know the CPU Percentage usage

PostPosted: Thu Jul 16, 2015 9:08 pm
by Tim
Do you know how hogs handles multi-core? I think the % listed is for all cores (ie if a process is listed as using 50% and you have a dual core machine your process may really be using 100% of one core) but I've never actually confirmed this.

Tim

Re: Need a QNX utility to know the CPU Percentage usage

PostPosted: Thu Jul 16, 2015 9:22 pm
by maschoen
I confirmed your suspicion. On my quad server I started a hard loop program and it shows up as 25% with hogs.

Re: Need a QNX utility to know the CPU Percentage usage

PostPosted: Mon Jul 20, 2015 10:48 am
by Thunderblade
I prefer 'top', or, when it needs to be really accurate, I use the System Profiler / tracelogger.

Re: Need a QNX utility to know the CPU Percentage usage

PostPosted: Thu Sep 22, 2016 4:53 pm
by Linkman
A free version for QNX 4 called "sysmon" used to be available at www.parse.com. I do not know where you can obtain it now.