Skip to content

Releases: eminence/procfs

v0.7.8

17 May 03:15
Compare
Choose a tag to compare

New features:

  • Cache boottime to improve performance (for example, when calling starttime()). #64

Bug fixes:

  • Fix parsing of IPv6 addresses. #67

v0.7.7

27 Dec 01:08
Compare
Choose a tag to compare

New features:

  • UDP sockets and Unix sockets now have state information (#61)
  • Add Process::root(), and better documentation for related methods (#59)

Bug fixes:

  • The starttime, guest_time, and cguest_time fields have a fixed datatype (#58)

v0.7.6

27 Dec 00:52
Compare
Choose a tag to compare

New features:

  • read_tcp_table and read_udp_table are now public, which can be used when your procfs mount isn't in the normal /proc location. (#57)
  • New function Process::new_with_root, which can be used to create a process from an arbitrary /proc/<pid> path (#56)

v0.7.5

05 Dec 21:21
Compare
Choose a tag to compare

New features:

  • Add a mode field to FDInfo struct
  • Added a pid field to the Process struct

Fixes:

  • Better documentation to clarify the units in some of the fields that list bytes
  • Use wrap_io_error in Process::fd() to better capture the path involved in case of an IO error

v0.7.4

25 Nov 06:59
Compare
Choose a tag to compare

New features:

  • None

Bug fixes:

  • Fix a documentation comment that was preventing docs.rs from building successfully

v0.7.3

25 Nov 05:58
Compare
Choose a tag to compare

New features:

  • Added support for getting the unix socket table (net::unix()).
  • Implement Copy and Clone for the process::Io struct
  • Implement Copy for the Limit and LimitValue structs.
  • Add Process::stat() to get stat info
  • Add Process::statm() to get memory stat info

Other changes:

The following free functions are deprecated:

  • cpuinfo() has been replaced with CpuInfo::new()
  • cpu_pressure() has been replaced with CpuPressure::new()
  • io_pressure() has been replaced with IoPressure::new()
  • memory_pressure() has been replaced with MemoryPressure::new()

v0.7.2

10 Nov 04:00
Compare
Choose a tag to compare

Bug fixes:

  • Remove an errant call to println! in the cpuinfo() function. Oops!
  • Changed some uid and gid types from i32 to u32
  • Don't error trying to read auxv for kernel tasks
  • Added some missing StatFlags constants

New features:

  • Support for /proc/vmstat
  • Support for /proc/pid/oom_score
  • Support for /proc/pid/mountinfo

v0.7.1: Version 0.7.1

31 Oct 02:45
Compare
Choose a tag to compare

Bug fixes:

  • Fix two issues when running on 32-bit linux

New features:

  • A new function dev_status() to return network interface stats

Other changes:

  • If all_processes() encounters an internal error while constructing a process, it will be returned (instead of being ignored)

v0.7.0

31 Oct 02:54
Compare
Choose a tag to compare

New features:

  • Re-introduction of the process and net modules [breaking change]
  • New function limits() to return process limits (same as the ulimit command)