According to the manpage of sysinfo, the struct sysinfo has:
unsigned short procs; /* Number of current processes */
But when I use sysinfo, the value of procs is the number of threads.
According to the manpage of sysinfo, the struct sysinfo has:
unsigned short procs; /* Number of current processes */
But when I use sysinfo, the value of procs is the number of threads.