freebsd (version 0.2)
index
/home/perky/cvs/py-freebsd/src/freebsd.so

 
Classes
            
exceptions.Exception
error
 
class error(exceptions.Exception)
       
   Data and non-method functions defined here:
__doc__ = None
__module__ = 'freebsd'

Methods inherited from exceptions.Exception:
__getitem__(...)
__init__(...)
__str__(...)
 
Functions
            
fstatfs(...)
fstatfs(fd): get file system statistics
getfsent(...)
getfsent(): get whole file system descriptor file entry
getfsfile(...)
getfsfile(file): get file system descriptor file entry by file
getfsspec(...)
getfsspec(spec): get file system descriptor file entry by spec
getfsstat(...)
getfsstat(flags): get list of all mounted filesystems
getloadavg(...)
getloadavg(): get system load averages
getlogin(...)
getlogin(): get login name
getosreldate(...)
getosreldate(): get OS's release date
getpriority(...)
getpriority(which, who): get program scheduling priority
getprogname(...)
getprogname(): get the program name
getpwent(...)
getpwent(): get whole password entry from passwd database
getpwnam(...)
getpwnam(name): get password entry from passwd database by name
getpwuid(...)
getpwuid(uid): get password entry from passwd database by uid
getquota(...)
getquota(path, which, uid): get filesystem quotas; `which` must be GRPQUOTA or USRQUOTA
getrlimit(...)
getrlimit(resource): get maximum system resource consumption
getrusage(...)
getrusage(who): get information about resource utilization
ifstats(...)
ifstats(): Dump network device statistics structure
ipstats(...)
ipstats(): Dump IP statistics structure
jail(...)
jail(path, hostname, ipaddr): imprison current process and future decendants
ktrace(...)
ktrace(tracefile, ops, trpoints, pid): process tracing
quotaoff(...)
quotaoff(path, which): turn filesystem quota off
quotaon(...)
quotaon(path, which, quotafile): turn filesystem quota on
quotasync(...)
quotasync(path, which): sync filesystem quota
reboot(...)
reboot([howto]): reboot system or halt processor
sendfile(...)
sendfile(fd, s, offset, nbytes[, headers, tailers]): send a file to a socket
setlogin(...)
setlogin(): set login name
setpriority(...)
setpriority(which, who, prio): set program scheduling priority
setproctitle(...)
setproctitle(title): set the process title for ps(1)
setprogname(...)
setprogname(): set the program name
setquota(...)
setquota(path, which, uid[, {name}={value}]): set filesystem quotas; `which` must be GRPQUOTA or USRQUOTA. Available names are bhardlimit, bsoftlimit, ihardlimit, isoftlimit, btime, itime.
setrlimit(...)
setrlimit(resource, rlim_cur, rlim_max): set maximum system resource consumption
statfs(...)
statfs(path): get file system statistics
tcpstats(...)
tcpstats(): Dump TCP statistics structure
udpstats(...)
udpstats(): Dump UDP statistics structure
 
Data
             GRPQUOTA = 1
IFF_ALLMULTI = 512
IFF_ALTPHYS = 16384
IFF_BROADCAST = 2
IFF_DEBUG = 4
IFF_LINK0 = 4096
IFF_LINK1 = 8192
IFF_LINK2 = 16384
IFF_LOOPBACK = 8
IFF_MULTICAST = 32768
IFF_NOARP = 128
IFF_OACTIVE = 1024
IFF_POINTOPOINT = 16
IFF_PROMISC = 256
IFF_RUNNING = 64
IFF_SIMPLEX = 2048
IFF_SMART = 32
IFF_UP = 1
KTRFAC_CSW = 64
KTRFAC_GENIO = 16
KTRFAC_INHERIT = 1073741824
KTRFAC_NAMEI = 8
KTRFAC_PSIG = 32
KTRFAC_SYSCALL = 2
KTRFAC_SYSRET = 4
KTRFLAG_DESCEND = 4
KTROP_CLEAR = 1
KTROP_CLEARFILE = 2
KTROP_SET = 0
MNT_ASYNC = 64
MNT_DEFEXPORTED = 512
MNT_EXKERB = 2048
MNT_EXPORTANON = 1024
MNT_EXPORTED = 256
MNT_EXRDONLY = 128
MNT_LOCAL = 4096
MNT_NODEV = 16
MNT_NOEXEC = 4
MNT_NOSUID = 8
MNT_QUOTA = 8192
MNT_RDONLY = 1
MNT_ROOTFS = 16384
MNT_SYNCHRONOUS = 2
PRIO_PGRP = 1
PRIO_PROCESS = 0
PRIO_USER = 2
RB_ASKNAME = 1
RB_AUTOBOOT = 0
RB_DFLTROOT = 32
RB_DUMP = 256
RB_HALT = 8
RB_INITNAME = 16
RB_KDB = 64
RB_NOSYNC = 4
RB_POWEROFF = 16384
RB_RDONLY = 128
RB_SINGLE = 2
RLIMIT_CORE = 4
RLIMIT_CPU = 0
RLIMIT_DATA = 2
RLIMIT_FSIZE = 1
RLIMIT_MEMLOCK = 6
RLIMIT_NOFILE = 8
RLIMIT_NPROC = 7
RLIMIT_RSS = 5
RLIMIT_SBSIZE = 9
RLIMIT_STACK = 3
RUSAGE_CHILDREN = -1
RUSAGE_SELF = 0
USRQUOTA = 0
__file__ = './freebsd.so'
__name__ = 'freebsd'
__version__ = '0.2'