All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Types of changes:
- Added: for new features.
- Changed: for changes in existing functionality.
- Deprecated: for soon-to-be removed features.
- Removed: for now removed features.
- Fixed: for any bug fixes.
- Security: in case of vulnerabilities.
- Bump dependency on crate
platforms
after 0.2.1 was yanked
- [disk] add missing
pub mod os;
todisk/mod.rs
v3.2.0 - 2020-09-26
- Make all public types serde Serializable and Deserializable
- significantly reduce compile times by switching from snafu to thiserror
- [process][macos] fix macos process kinfo "Cannot allocate memory" errors
v3.1.0 - 2020-05-10
- [process][linux] implement some oneshot functions
- [process] fix process CPU percent calculation when using the ProcessCollector
v3.0.1 - 2020-02-12
- fix compilation if the sensors feature is not enabled
v3.0.0 - 2020-02-10
- [disk] implement DiskIoCountersCollector::disk_io_counters
- [process] make
ProcessCollector
more efficient - [process][linux] implement
cpu_times.iowait
- [sensors][linux] implement
thermal_zone
temperatures
- Switch from io::Error to a custom error type
- [cpu][linux] change
cpu_times{_percent}.{steal,guest,guest_nice}
toOption
s - [process] status parsing now returns a ParseStatusError
- [process][linux] change
cpu_times.iowait
fromDuration
toOption<Duration>
- [process][linux] change
process.environ
return type fromio::Result
toProcessResult
- fix several 'overflow when subtracting durations' panics
- [cpu][linux] fix calculation of cpu_percent, CpuTimes.total, and CpuTimesPercent.total
- [disk][linux] unescape partition mountpoint escape sequences
- [host] remove runnable, total_runnable, and last_pid from LoadAvg
v2.0.0 - 2020-02-04
- [macos] get macos to compile
- [cpu][all] implement cpu_count and cpu_count_physical
- [cpu][macos] implement cpu_times, cpu_times_percent, and cpu_percent
- [disk][unix] implement disk_usage
- [disk][unix] implement partitions
- [host][linux] implement boot_time
- [host] add Info
- [host][unix] implement Info
- [memory][macos] implement virtual_memory and swap_memory
- [network][macos] implement io counters
- [process] add ProcessCollector
- [process][unix] implement all signal methods
- [process][macos] implement Process::new
- [process][macos] implement process.name
- [process][macos] implement processes and pids
- [process][macos] implement Process.cpu_percent
- [process][macos] implement Process.cpu_times
- [process][macos] implement Process.memory_percent
- [process][macos] implement Process.memory_info
- [process][linux] implement pids
- [process][linux] implement pid_exists
- [process][linux] implement Process.cpu_percent
- [process][linux] implement Process.cpu_times
- [process][linux] implement Process.memory_percent
- [process][linux] implement Process.memory_info
- [process][linux] implement Process.uids
- [process][linux] implement Process.gids
- [process][linux] implement Process.send_signal
- [process][linux] implement Process.is_replaced
- [process][linux] implement Process.replace
- [process][linux] implement Process.parent
- [sensors][linux] implement temperatures
- Overhaul the API
- [cpu] replace cpu_percent functions with CpuPercentCollector
- [disk] rename disk_io_counters_{perdisk,per_partition}
- Remove interval duration argument from various cpu percent functions
- Remove nowrap argument from collectors
- Remove reset method from collectors
- Remove inodes from DiskUsage
- Remove standalone CpuTimesPercent functions in favor of CpuTimesPercentCollector
- [memory][linux] fix swap percent calculation
v1.7.0 - 2019-08-01
- Remove
psutil::system
and replace withpsutil::{cpu, memory, host}
- Remove
getpid()
,getppid()
,Process.from_pidfile()
,write_pidfile()
, andread_pidfile()