Better way to get # of processes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




I am thinking to get number of processes which have been created since 
the system was booted including kernel and user tasks, not # of current 
running processes which one can get from procs variable of struct 
sysinfo.  One way is to trace down number of  struct task_struct 
created.  I wonder there is a better way for doing that.

Thanks,
-Hong

-
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.kernelnewbies.org/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux