system_info2 4.0.0 copy "system_info2: ^4.0.0" to clipboard
system_info2: ^4.0.0 copied to clipboard

Provides easy access to useful information about the system (architecture, bitness, kernel, memory, operating system, CPU, user).

system_info2 #

A fork of system_info as the original maintainer no longer wishes to do so.

Thanks to onepub.dev for allowing me the time and resources to support this package.

Provides easy access to useful information about the system (architecture, bitness, kernel, memory, operating system, CPU, user).

system_info2 lets you discover specific hardware characteristics of the OS you are running on includeing:

  • kernelArchitecture
  • Kernel bitness
  • Kernel name
  • Kernel version
  • Operating system name
  • Operating system version
  • User directory
  • User id
  • User name
  • User space bitness

Basic examples:

if (SysInfo.operatingSystemName == "Ubuntu") {
  log.info("We love Ubuntu users");
}

Documentation #

You can find the manual at:

sysinfo.onepub.dev

57
likes
160
pub points
95%
popularity

Publisher

verified publisheronepub.dev

Provides easy access to useful information about the system (architecture, bitness, kernel, memory, operating system, CPU, user).

Homepage
Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

BSD-3-Clause (license)

Dependencies

globbing, path

More

Packages that depend on system_info2