source: general/prog/python-modules/psutil.xml@ 20cd9620

trunk
Last change on this file since 20cd9620 was ced692d8, checked in by Bruce Dubbs <bdubbs@…>, 2 days ago

Typo

  • Property mode set to 100644
File size: 3.5 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../../general.ent">
5 %general-entities;
6
7 <!ENTITY psutil-download-http "&pymodules-dl;/p/psutil/psutil-&psutil-version;.tar.gz">
8 <!ENTITY psutil-download-ftp " ">
9 <!ENTITY psutil-md5sum "&psutil-md5sum;">
10 <!ENTITY psutil-size "500 KB">
11 <!ENTITY psutil-buildsize "4.3 MB">
12 <!ENTITY psutil-time "less than 0.1 SBU">
13]>
14
15 <!-- Begin psutil -->
16 <sect2 id="psutil" xreflabel="psutil-&psutil-version;">
17
18 <title>psutil-&psutil-version;</title>
19
20 <indexterm zone="psutil">
21 <primary sortas="a-psutil">psutil</primary>
22 </indexterm>
23
24 <sect3 role="package">
25 <title>Introduction to psutil Module</title>
26
27 <para>
28 psutil (process and system utilities) is a cross-platform library
29 for retrieving information on running processes and system utilization
30 (CPU, memory, disks, network, sensors) in Python. It is useful mainly
31 for system monitoring, profiling and limiting process resources and
32 management of running processes. It implements many functionalities offered
33 by classic UNIX command line tools such as ps, top, iotop, lsof, netstat,
34 ifconfig, free and others.
35 </para>
36
37 &lfs122_checked;
38
39 <bridgehead renderas="sect4">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
42 <para>
43 Download (HTTP): <ulink url="&psutil-download-http;"/>
44 </para>
45 </listitem>
46 <listitem>
47 <para>
48 Download (FTP): <ulink url="&psutil-download-ftp;"/>
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 Download MD5 sum: &psutil-md5sum;
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Download size: &psutil-size;
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Estimated disk space required: &psutil-buildsize;
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 Estimated build time: &psutil-time;
69 </para>
70 </listitem>
71 </itemizedlist>
72
73 </sect3>
74
75 <sect3 role="installation">
76 <title>Installation of psutil</title>
77
78 <para>
79 Build the module:
80 </para>
81
82&build-wheel;
83
84 <para>
85 Now, as the &root; user:
86 </para>
87
88<screen role="root"><userinput>&install-wheel; psutil</userinput></screen>
89
90 <para>
91 To test the results, issue: <command>make test</command>.
92 </para>
93
94 <para>
95 Two tests, <literal>TestSystemAPIs::test_disk_usage</literal> and
96 <literal>TestNetAPIs::test_net_if_addrs</literal>, are known to fail.
97 </para>
98
99 </sect3>
100
101 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
102 href="../../../xincludes/pip3-cmd-explain.xml"/>
103
104 <sect3 role="content">
105 <title>Contents</title>
106
107 <segmentedlist>
108 <segtitle>Installed Programs</segtitle>
109 <segtitle>Installed Libraries</segtitle>
110 <segtitle>Installed Directories</segtitle>
111
112 <seglistitem>
113 <seg>
114 None
115 </seg>
116 <seg>
117 None
118 </seg>
119 <seg>
120 /usr/lib/python&python3-majorver;/site-packages/psutil-&psutil-version;.dist-info
121 </seg>
122 </seglistitem>
123 </segmentedlist>
124 </sect3>
125
126 </sect2>
Note: See TracBrowser for help on using the repository browser.