Collecting data
derleader __ <[email protected]> Fri, 24 Dec 2010 16:37:21 +0200 (EET)
| Newsgroups | gmane.linux.redhat.devel |
|---|---|
| Message-ID | <[email protected]> |
--===============8107894024039599710==
Content-Type: multipart/alternative;
boundary="----=_Part_204636_1039875579.1293201441141"
------=_Part_204636_1039875579.1293201441141
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mx4-phx2.redhat.com id oBOEbSQL010003
=20
Hi,
I'm developing C plugin for Red Hat which will be installed as kernel mo=
dule. The problem is how to collect the data about:
=09
=09
=09
p { margin-bottom: 0.08in; }=20
CPU
Check =E2=80=93 Utilization, Model, Number of Cores =20
RAM
Check =E2=80=93 Total Memory, Free Memory, Memory Load =20
HDD
Check =E2=80=93 Number of physical HDDs, Number of logical partitions,
Total space, Free space =20
Running
processes =E2=80=93 Total number of processes =20
Logs
=E2=80=93 system logs such as error logs =20
System
uptime =20
Users
logged in and last login =E2=80=93 total list of users =20
Total
network connections =20
Check
hardware parts model and number =20
=20
The kernel module will check the status of the OS every 5 minutes. What i=
s the most efficient way to collect these data?
Regards
Peter=20
------=_Part_204636_1039875579.1293201441141
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<HTML><BODY>
Hi,<br> I'm developing C plugin for Red Hat =
which will be installed as kernel module. The problem is how to collect the=
data about:<br>
=09
=09
=09
=09<style type=3D"text/css">p { margin-bottom: 0.08in; }</style>
<ul><li><p style=3D"margin-bottom: 0in; font-weight: normal;" align=3D"LEFT=
"><font size=3D"3">CPU
=09Check =E2=80=93 Utilization, Model, Number of Cores</font></p>
=09</li><li><p style=3D"margin-bottom: 0in; font-weight: normal;" align=3D"=
LEFT"><font size=3D"3">RAM
=09Check =E2=80=93 Total Memory, Free Memory, Memory Load</font></p>
=09</li><li><p style=3D"margin-bottom: 0in; font-weight: normal;" align=3D"=
LEFT"><font size=3D"3">HDD
=09Check =E2=80=93 Number of physical HDDs, Number of logical partitions,
=09Total space, Free space</font></p>
=09</li><li><p style=3D"margin-bottom: 0in; font-weight: normal;" align=3D"=
LEFT"><font size=3D"3">Running
=09processes =E2=80=93 Total number of processes</font></p>
=09</li><li><p style=3D"margin-bottom: 0in; font-weight: normal;" align=3D"=
LEFT"><font size=3D"3">Logs
=09=E2=80=93 system logs such as error logs</font></p>
=09</li><li><p style=3D"margin-bottom: 0in; font-weight: normal;" align=3D"=
LEFT"><font size=3D"3">System
=09uptime</font></p>
=09</li><li><p style=3D"margin-bottom: 0in; font-weight: normal;" align=3D"=
LEFT"><font size=3D"3">Users
=09logged in and last login =E2=80=93 total list of users</font></p>
=09</li><li><p style=3D"margin-bottom: 0in; font-weight: normal;" align=3D"=
LEFT"><font size=3D"3">Total
=09network connections</font></p>
=09</li><li><p style=3D"margin-bottom: 0in; font-weight: normal;" align=3D"=
LEFT"><font size=3D"3">Check
=09hardware parts model and number</font></p>
</li></ul>
The kernel module will check the status of the OS every 5 minutes. What is =
the most efficient way to collect these data?<br><br>Regards<br>Peter <br><=
/BODY></HTML>
------=_Part_204636_1039875579.1293201441141--
--===============8107894024039599710==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
_______________________________________________
Redhat-devel-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/redhat-devel-list
--===============8107894024039599710==--