Skip to content

Python interface to FreeBSD-specific system libraries

License

Notifications You must be signed in to change notification settings

sobomax/py-freebsd

 
 

Repository files navigation

Py-FreeBSD version 0.9.5

Build Status - Cirrus

Introduction

This package provides Python Interface to FreeBSD-Specific C library functions.

Supported Functions

  • Newly supported functions and extension types from 0.9.3

    Access content of the kern.cp_time sysctl:

    o get_cpu_times(): get breakdown of time spent in different states in seconds; o get_kern_cp_time(): get breakdown of time spent in different states in ticks.

    Jail(8) management:

    o jail_attach(): attach the current process to an existing jail, identified by jid; o jail_remove(): Kill all processes belonging to the jail, and remove any children of that jail.

  • Newly supported functions and extension types from 0.9

    chflags fchflags geom_getxml gethostname kevent kqueue lchflags sethostname sysctl sysctldescr sysctlmibtoname sysctlnametomib

  • Supported since 0.2

    ifstats ipstats tcpstats udpstats

  • Supported since 0.1

    fstatfs getfsent getfsfile getfsspec getfsstat getloadavg getlogin getosreldate getpriority getprogname getpwent getpwnam getpwuid getquota getrlimit getrusage jail ktrace quotaoff quotaon quotasync reboot sendfile setlogin setpriority setproctitle setprogname setquota setrlimit statfs

Feedback

Any comments, suggestions, and/or patches are very welcome. Just file an Issue or Pull Request on GitHub or bug report in the FreeBSD Bug Tracking system and we'll get back to it.

Authors

Some part of this software is based on Doug White's py-kqueue.

Hye-Shik Chang [email protected] added bulk of it.

Eugene M. Kim [email protected] substantially improved jail(9) support and started porting to Python 3.

Maksym Sobolyev [email protected] has brought this package into the wonderful world of the Python 3.x and released versions >= 0.9.4. He has also added Cirrus CI jobs and some test cases.

Thank you for using Py-FreeBSD!

About

Python interface to FreeBSD-specific system libraries

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 90.0%
  • Python 10.0%