Skip to main content
added 45 characters in body
Source Link
Bruce Adams
  • 692
  • 1
  • 10
  • 23

This is only a personal opinion but I believe /proc/pid/stat should be considered deprecateddeprecated and you should use /proc/pid/status in all cases instead.

stat is not much more efficient to parse and it has a subtle danger which can lead to bugs but can even pose security risks (see this for example). It also contains less fields than status.

See:

This is only a personal opinion but I believe /proc/pid/stat should be considered deprecated and you should use /proc/pid/status in all cases instead.

stat is not much more efficient to parse and it has a subtle danger which can lead to bugs but can even pose security risks (see this for example). It also contains less fields than status.

See:

This is only a personal opinion but I believe /proc/pid/stat should be considered deprecated and you should use /proc/pid/status in all cases instead.

stat is not much more efficient to parse and it has a subtle danger which can lead to bugs but can even pose security risks (see this for example). It also contains less fields than status.

See:

Mark as IMHO
Source Link
Bruce Adams
  • 692
  • 1
  • 10
  • 23

This is only a personal opinion but I believe you /proc/pid/stat should be considered deprecated and you should use /proc/pid/status in all cases instead.

stat is not much more efficient to parse and it has a subtle danger which can lead to bugs but can even pose security risks (see this for example). It also contains less fields than status.

See:

I believe you /proc/pid/stat should be considered deprecated and you should use /proc/pid/status in all cases instead.

stat is not much more efficient to parse and it has a subtle danger which can lead to bugs but can even pose security risks (see this for example). It also contains less fields than status.

See:

This is only a personal opinion but I believe /proc/pid/stat should be considered deprecated and you should use /proc/pid/status in all cases instead.

stat is not much more efficient to parse and it has a subtle danger which can lead to bugs but can even pose security risks (see this for example). It also contains less fields than status.

See:

Link directly to a CVE
Source Link
Bruce Adams
  • 692
  • 1
  • 10
  • 23

I believe you /proc/pid/stat should be considered deprecated and you should use /proc/pid/status in all casecases instead.

stat is not much more efficient to parse and it has a subtle danger which can lead to bugs but can even pose a security riskrisks (see this for example). It also contains less fields than status.

See:

I believe you /proc/pid/stat should be considered deprecated and you should use /proc/pid/status in all case instead.

stat is not much more efficient to parse and it has a subtle danger which can lead to bugs but can even pose a security risk. It also contains less fields than status.

See:

I believe you /proc/pid/stat should be considered deprecated and you should use /proc/pid/status in all cases instead.

stat is not much more efficient to parse and it has a subtle danger which can lead to bugs but can even pose security risks (see this for example). It also contains less fields than status.

See:

Source Link
Bruce Adams
  • 692
  • 1
  • 10
  • 23
Loading