Jens Rehsack > DBD-Sys > DBD::Sys::Plugin::Any::Procs

Download:
DBD-Sys-0.102.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.102   Source  

NAME ^

DBD::Sys::Plugin::Any::Procs - provides a table containing running processes

SYNOPSIS ^

  $processes = $dbh->selectall_hashref("select * from procs", "pid");

ISA ^

  DBD::Sys::Plugin::Any::Procs
  ISA DBD::Sys::Table

DESCRIPTION ^

This module provides the table procs for any operating system (which is supported by Proc::ProcessTable).

COLUMNS

uid

UID of process

gid

GID of process

euid

Effective UID of process

egid

Effective GID of process

pid

Process ID

ppid

Parent process ID

pgrp

Process group

sess

Session ID

cpuid

CPU ID of processor running on # FIX ME!

priority

Priority of process

ttynum

TTY number of process

flags

Flags of process

fulltime

User + system time

ctime

Child user + system time

timensec

User + system nanoseconds part # FIX ME!

ctimensec

Child user + system nanoseconds # FIX ME!

qtime

Cumulative cpu time # FIX ME!

virtsize

Virtual memory size (bytes)

rss

Resident set size (bytes)

wchan

Address of current system call

fname

File name

start

Start time (seconds since the epoch)

pctcpu

Percent cpu used since process started

state

State of process

pctmem

Percent memory

cmndline

Full command line of process

ttydev

Path of process's tty

clname

Scheduling class name #FIX ME!

METHODS ^

get_col_names

Returns the column names of the table as named in "Columns"

get_primary_key

Returns 'pid' - which is the process identifier.

collect_data

Retrieves the data from Proc::ProcessTable and put it into fetchable rows.

PREREQUISITES ^

The module Proc::ProcessTable is required to provide data for the table.

AUTHOR ^

    Jens Rehsack                        Alexander Breibach
    CPAN ID: REHSACK
    rehsack@cpan.org                    alexander.breibach@googlemail.com
    http://www.rehsack.de/

COPYRIGHT ^

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

The full text of the license can be found in the LICENSE file included with this module.

SUPPORT ^

Free support can be requested via regular CPAN bug-tracking system. There is no guaranteed reaction time or solution time, but it's always tried to give accept or reject a reported ticket within a week. It depends on business load. That doesn't mean that ticket via rt aren't handles as soon as possible, that means that soon depends on how much I have to do.

Business and commercial support should be acquired from the authors via preferred freelancer agencies.

syntax highlighting: