ps versus pidin

Is there any significant differences between the 2?
eg. ps return a result much faster than sin
Just for curiosity sake. :slight_smile:

Wen

Wen <xiaowen@axs.com.sg> wrote:

Is there any significant differences between the 2?
eg. ps return a result much faster than sin
Just for curiosity sake. > :slight_smile:

They collect & display different information. ps exists
essentially for compatibility, pidin tends to collect more
and more useful for information about a QNX Neutrino system.
sin also exists, also for compatibility – it is the QNX 4
system information tool.

As to speed, it generally is based on what information they
collect. β€œps” by default will generate process-level information
for a small collection of processes. β€œpidin” by default will grab
process & thread information for every process & thread on the
system – many times as much work, so of course it takes longer.

-David

QNX Training Services
http://www.qnx.com/support/training/
Please followup in this newsgroup if you have further questions.