Hi, I need to monitor a workstation (Centos 5 x86_64). I need to obtain informations about : - cpu utilization per user, per a period, how many days per user, Any ideas about a good and simple free tool ? Regards. __________________________ Ce message (et toutes ses pi?ces jointes ?ventuelles) est confidentiel et ?tabli ? l'intention exclusive de ses destinataires. Toute utilisation de ce message non conforme ? sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. L'IFP d?cline toute responsabilit? au titre de ce message. This message and any attachments (the message) are confidential and intended solely for the addressees. Any unauthorised use or dissemination is prohibited. IFP should not be liable for this message. Visitez notre site Web / Visit our web site : http://www.ifp.fr __________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20100201/b207c499/attachment-0001.html>
Hi, For that you have a lot of solution : "top" or "vmstat 1" on the console for a global overview But if you need load and cpu utilisation per user you have to use ac. Exemple : ac -d -p ffaye 12.86 Jan 6 total 12.86 fwadmin 0.00 ffaye 8.77 Jan 7 total 8.77 ffaye 0.24 Jan 19 total 0.24 ffaye 0.79 Today total 0.79 If you want more information follow this link : http://generationip.com/documentation/system-documentation/113-howto-on-psacct-for-a-complete-monitoring-of-processus-and-users-activities-on-your-system After that if you need to do that remotely and generate graph, take a look on cacti or nagios. Best regards Fabien FAYE RHCE www.generationip.com Free network tools & HOWTO for centos and Redhat ----- Original Message ----- From: "MOKRANI Rachid" <Rachid.MOKRANI at ifp.fr> To: "CentOS mailing list" <centos at centos.org> Sent: Monday, February 1, 2010 11:08:10 AM Subject: [CentOS] monitoring a workstation Hi, I need to monitor a workstation (Centos 5 x86_64). I need to obtain informations about : - cpu utilization per user, per a period, how many days per user, Any ideas about a good and simple free tool ? Regards. __________________________ Ce message (et toutes ses pi?ces jointes ?ventuelles) est confidentiel et ?tabli ? l'intention exclusive de ses destinataires. Toute utilisation de ce message non conforme ? sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. L'IFP d?cline toute responsabilit? au titre de ce message. This message and any attachments (the message) are confidential and intended solely for the addressees. Any unauthorised use or dissemination is prohibited. IFP should not be liable for this message. Visitez notre site Web / Visit our web site : http://www.ifp.fr __________________________ _______________________________________________ CentOS mailing list CentOS at centos.org http://lists.centos.org/mailman/listinfo/centos
MOKRANI Rachid wrote:> Any ideas about a good and simple free tool ?Have a look at Munin. http://munin.projects.linpro.no/ You can install it from the RPMForge repo. # yum install munin Regards, Max
2010/2/1 MOKRANI Rachid <Rachid.MOKRANI at ifp.fr>:> Hi, > > I need to monitor a workstation (Centos 5 x86_64). > > I need to obtain informations about : > > - cpu utilization per user, per a period, how many days per user, > > Any ideas about a good and simple free tool ? >Install smpd on workstation and then use any snmp supported tool like nagios ... -- Eero
On Mon, Feb 1, 2010 at 5:08 AM, MOKRANI Rachid <Rachid.MOKRANI at ifp.fr> wrote:> Hi, > > I need to monitor a workstation (Centos 5 x86_64). > > I need to obtain informations about : > > - cpu utilization per user, per a period, how many days per user, > > Any ideas about a good and simple free tool ? > > Regards.In addition to the other suggestions (although those are typically used for system-level monitoring), you should look into the "psacct" package. There is an introduction to it here: http://www.cyberciti.biz/tips/howto-log-user-activity-using-process-accounting.html
Am Montag, den 01.02.2010, 14:14 +0100 schrieb Eero Volotinen:> 2010/2/1 MOKRANI Rachid <Rachid.MOKRANI at ifp.fr>: > > Hi, > > > > I need to monitor a workstation (Centos 5 x86_64). > > > > I need to obtain informations about : > > > > - cpu utilization per user, per a period, how many days per user, > > > > Any ideas about a good and simple free tool ? > > > > Install smpd on workstation and then use any snmp supported tool like nagios ... >Nagios does not do snmp at all (some plugins do), also metrics (aka performance data) is just the weakest spot in nagios. To get cpu utilization per user you propably need psacct. Chris financial.com AG Munich head office/Hauptsitz M?nchen: Maria-Probst-Str. 19 | 80939 M?nchen | Germany Frankfurt branch office/Niederlassung Frankfurt: Messeturm | Friedrich-Ebert-Anlage 49 | 60327 Frankfurt | Germany Management board/Vorstand: Dr. Steffen Boehnert | Dr. Alexis Eisenhofer | Dr. Yann Samson | Matthias Wiederwach Supervisory board/Aufsichtsrat: Dr. Dr. Ernst zur Linden (chairman/Vorsitzender) Register court/Handelsregister: Munich ? HRB 128 972 | Sales tax ID number/St.Nr.: DE205 370 553
Greetings, On Mon, Feb 1, 2010 at 3:38 PM, MOKRANI Rachid <Rachid.MOKRANI at ifp.fr> wrote:> I need to monitor a workstation (Centos 5 x86_64). > > I need to obtain informations about : > > - cpu utilization per user, per a period, how many days per user, > > Any ideas about a good and simple free tool ?Perhaps an overkill, but the mention of NAGios prompted me to suggest this: Zabbix But a fairly integrated piece of work and can scale CentOS 5 http://andrewfarley.com/sysadmin/zabbix-rpms-updated-to-1-8-1-in-my-repository Some users were wondering if that could be hosted in RPM forge or similar HTH Regards Rajagopal
On Mon, Feb 1, 2010 at 11:08 AM, MOKRANI Rachid <Rachid.MOKRANI at ifp.fr> wrote:> Hi, > > I need to monitor a workstation (Centos 5 x86_64). > > I need to obtain informations about : > > - cpu utilization per user, per a period, how many days per user, > > Any ideas about a good and simple free tool ? > > Regards. > > __________________________ > > Ce message (et toutes ses pi?ces jointes ?ventuelles) est confidentiel et > ?tabli ? l'intention exclusive de ses destinataires. Toute utilisation de ce > message non conforme ? sa destination, toute diffusion ou toute publication, > totale ou partielle, est interdite, sauf autorisation expresse. L'IFP > d?cline toute responsabilit? au titre de ce message. > > This message and any attachments (the message) are confidential and intended > solely for the addressees. Any unauthorised use or dissemination is > prohibited. IFP should not be liable for this message. > > Visitez notre site Web / Visit our web site : http://www.ifp.fr > __________________________ > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos > >Maybe you should try: Cacti: http://www.cacti.net/ Munin: http://munin.projects.linpro.no/ Nagios: www.nagios.org/ HTH -- Athmane Madjoudj
Athmane Madjoudj wrote:> >> >> I need to monitor a workstation (Centos 5 x86_64). >> >> I need to obtain informations about : >> >> - cpu utilization per user, per a period, how many days per user, >> >> Any ideas about a good and simple free tool ? >> > > Maybe you should try: > > Cacti: http://www.cacti.net/ > Munin: http://munin.projects.linpro.no/ > Nagios: www.nagios.org/ >Or OpenNMS: http://www.opennms.org. -- Les Mikesell lesmikesell at gmail.com