Crate sysinfo

Source
Expand description

For crate-level documentation, all features need to be enabled.

Structs§

  • Contains memory limits for the current process.
  • Contains all the methods of the Cpu struct.
  • Used to determine what you want to refresh specifically on the Cpu type.
  • Type containing read and written bytes.
  • A group id wrapping a platform specific type.
  • A struct representing system load average value.
  • Used to determine which memory you want to refresh specifically.
  • Process ID.
  • Struct containing information of a process.
  • Used to determine what you want to refresh specifically on the Process type.
  • Used to determine what you want to refresh specifically on the System type.
  • Structs containing system’s information such as processes, memory and CPU.
  • A user id wrapping a platform specific type.

Enums§

  • Enum describing the different status of a process.
  • This enum allows you to specify if you want all processes to be updated or just some of them.
  • An enum representing signals on UNIX-like systems.
  • Enum describing the different kind of threads.
  • This enum allows you to specify when you want the related information to be updated.

Constants§

Functions§

  • Returns the pid for the current process.
  • This function is only used on Linux targets, when the system feature is enabled. In other cases, it does nothing and returns false.