Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - QNX 7 and hogs: (1 Item)
   
QNX 7 and hogs  
I'm trying to use hogs under QNX 7 and I'm not seeing any meaningful results.

The command I am using is
'hogs -%1 -s1'
to display any process using 1+% CPU and update at once a second.

The output I get from this command is attached. Essentially it shows 8 idle processes each consuming 12% of the CPU 
(presumably because this is a quad core with hyper threading enabled so QNX sees 8 CPUs).

I've compiled and have Samba running. When I drag/drop a 100 Meg file from Windows to QNX it takes about 8-10 seconds 
for the file copy to finish. During this entire time hogs doesn't report any other process using any CPU besides the 8 
idle processes. However one of the idle processes then reports 4% CPU used leading me to believe 8% (or 2/3 of 1 core) 
was busy doing the copy.

So my question is, does hogs work under QNX 7 and do I need to start any other process or include any special library or
 instrumented kernel etc for it to report properly? I've used it without any problems in QNX 4 and QNX 6 so I'm baffled 
as to why it's not reporting anything.

TIA,

Tim
Attachment: Image Hogs.jpg 90.55 KB