| Index: third_party/psutil/psutil/_psutil_bsd.h
|
| diff --git a/third_party/psutil/psutil/_psutil_bsd.h b/third_party/psutil/psutil/_psutil_bsd.h
|
| index 80ccc1e9e735a8766f76fdac47c9a5e18eba7075..2cc76aea25d1d59802ca85674a6989a3ae01a565 100644
|
| --- a/third_party/psutil/psutil/_psutil_bsd.h
|
| +++ b/third_party/psutil/psutil/_psutil_bsd.h
|
| @@ -1,5 +1,9 @@
|
| /*
|
| - * $Id: _psutil_bsd.h 777 2010-11-08 18:29:13Z g.rodola $
|
| + * $Id: _psutil_bsd.h 1142 2011-10-05 18:45:49Z g.rodola $
|
| + *
|
| + * Copyright (c) 2009, Jay Loden, Giampaolo Rodola'. All rights reserved.
|
| + * Use of this source code is governed by a BSD-style license that can be
|
| + * found in the LICENSE file.
|
| *
|
| * BSD platform-specific module methods for _psutil_bsd
|
| */
|
| @@ -10,13 +14,18 @@
|
|
|
| static PyObject* get_cpu_times(PyObject* self, PyObject* args);
|
| static PyObject* get_process_name(PyObject* self, PyObject* args);
|
| +static PyObject* get_process_exe(PyObject* self, PyObject* args);
|
| static PyObject* get_process_cmdline(PyObject* self, PyObject* args);
|
| static PyObject* get_process_ppid(PyObject* self, PyObject* args);
|
| -static PyObject* get_process_uid(PyObject* self, PyObject* args);
|
| -static PyObject* get_process_gid(PyObject* self, PyObject* args);
|
| +static PyObject* get_process_uids(PyObject* self, PyObject* args);
|
| +static PyObject* get_process_gids(PyObject* self, PyObject* args);
|
| static PyObject* get_process_create_time(PyObject* self, PyObject* args);
|
| static PyObject* get_memory_info(PyObject* self, PyObject* args);
|
| static PyObject* get_process_num_threads(PyObject* self, PyObject* args);
|
| +static PyObject* get_process_threads(PyObject* self, PyObject* args);
|
| +static PyObject* get_process_status(PyObject* self, PyObject* args);
|
| +static PyObject* get_process_io_counters(PyObject* self, PyObject* args);
|
| +static PyObject* get_process_tty_nr(PyObject* self, PyObject* args);
|
|
|
| // --- system-related functions
|
|
|
| @@ -27,4 +36,7 @@ static PyObject* get_avail_phymem(PyObject* self, PyObject* args);
|
| static PyObject* get_total_virtmem(PyObject* self, PyObject* args);
|
| static PyObject* get_avail_virtmem(PyObject* self, PyObject* args);
|
| static PyObject* get_system_cpu_times(PyObject* self, PyObject* args);
|
| -
|
| +static PyObject* get_system_per_cpu_times(PyObject* self, PyObject* args);
|
| +static PyObject* get_system_boot_time(PyObject* self, PyObject* args);
|
| +static PyObject* get_disk_partitions(PyObject* self, PyObject* args);
|
| +static PyObject* get_network_io_counters(PyObject* self, PyObject* args);
|
|
|