python/psutil/psutil/_psutil_sunos.h

Thu, 15 Jan 2015 15:55:04 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:55:04 +0100
branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
permissions
-rw-r--r--

Back out 97036ab72558 which inappropriately compared turds to third parties.

michael@0 1 /*
michael@0 2 * $Id$
michael@0 3 *
michael@0 4 * Copyright (c) 2009, Giampaolo Rodola'. All rights reserved.
michael@0 5 * Use of this source code is governed by a BSD-style license that can be
michael@0 6 * found in the LICENSE file.
michael@0 7 *
michael@0 8 * Sun OS specific module functions for _psutil_sunos extension
michael@0 9 */
michael@0 10
michael@0 11 #include <Python.h>
michael@0 12
michael@0 13 // processes
michael@0 14 static PyObject* query_process_thread(PyObject* self, PyObject* args);
michael@0 15 static PyObject* get_process_basic_info(PyObject* self, PyObject* args);
michael@0 16 static PyObject* get_process_name_and_args(PyObject* self, PyObject* args);
michael@0 17 static PyObject* get_process_cpu_times(PyObject* self, PyObject* args);
michael@0 18 static PyObject* get_process_cred(PyObject* self, PyObject* args);
michael@0 19 static PyObject* get_process_memory_maps(PyObject* self, PyObject* args);
michael@0 20 static PyObject* get_process_num_ctx_switches(PyObject* self, PyObject* args);
michael@0 21 static PyObject* get_process_connections(PyObject* self, PyObject* args);
michael@0 22
michael@0 23 // system
michael@0 24 static PyObject* get_swap_mem(PyObject* self, PyObject* args);
michael@0 25 static PyObject* get_system_users(PyObject* self, PyObject* args);
michael@0 26 static PyObject* get_disk_partitions(PyObject* self, PyObject* args);
michael@0 27 static PyObject* get_system_per_cpu_times(PyObject* self, PyObject* args);
michael@0 28 static PyObject* get_disk_io_counters(PyObject* self, PyObject* args);
michael@0 29 static PyObject* get_net_io_counters(PyObject* self, PyObject* args);

mercurial