-- process table - Queue to coordinate between processes in multi-process mode.
-- $Id: process.sql,v 1.2 2009/01/15 03:22:27 jeneric Exp $

DROP TABLE process;
CREATE TABLE process (
    controller  integer not null, -- pid of controlling process
    device      inet not null,
    action      text not null,    -- arpnip, macsuck, nbtstat, discover
    status      text,    	  -- queued, running, skipped, done, error, timeout, nocdp, nosnmp
    count       integer,
    creation    TIMESTAMP DEFAULT now()
    );
