Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   CentOS (http://www.linux-archive.org/centos/)
-   -   monitoring a workstation (http://www.linux-archive.org/centos/318384-monitoring-workstation.html)

"MOKRANI Rachid" 02-01-2010 09:08 AM

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@centos.org
http://lists.centos.org/mailman/listinfo/centos

fabien faye 02-01-2010 10:34 AM

monitoring a workstation
 
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@ifp.fr>
To: "CentOS mailing list" <centos@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 pices 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 dcline 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@centos.org
http://lists.centos.org/mailman/listinfo/centos
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Max Hetrick 02-01-2010 12:12 PM

monitoring a workstation
 
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
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Eero Volotinen 02-01-2010 12:14 PM

monitoring a workstation
 
2010/2/1 MOKRANI Rachid <Rachid.MOKRANI@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
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Brian Mathis 02-01-2010 02:35 PM

monitoring a workstation
 
On Mon, Feb 1, 2010 at 5:08 AM, MOKRANI Rachid <Rachid.MOKRANI@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
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Christoph Maser 02-03-2010 07:09 AM

monitoring a workstation
 
Am Montag, den 01.02.2010, 14:14 +0100 schrieb Eero Volotinen:
> 2010/2/1 MOKRANI Rachid <Rachid.MOKRANI@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
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Rajagopal Swaminathan 02-03-2010 07:27 AM

monitoring a workstation
 
Greetings,


On Mon, Feb 1, 2010 at 3:38 PM, MOKRANI Rachid <Rachid.MOKRANI@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
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

John Doe 02-03-2010 09:43 AM

monitoring a workstation
 
From: Christoph Maser <cmr@financial.com>
> 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.

At the same time, it is "easy" to create a plugin with any data you want (by using psacct by example).
Only thing is that the data length is limited...
By example, the plugin just has to return on stdout something like:
description|var1=value1;warn_value;critical_value; base_value;max_value var2=value2;...
Example for a memory plugin, just output:
MEMORY OK - RAM Used: 23% (728MB/3041MB), SWAP Used: 0% (0MB/2932MB)|RAM=728MB;2736;2888;0;3041 SWAP=0MB;2902;2932;0;2932
But again, the part after the '|' is limited in length (I think it used to be 229 chars max from old tests)...
So if you have a lot of users data, you won't be able to put them all in this line.
Unless you create like 1 plugin per user or some trick like that...
And to graph, you can use the PnP nagios plugin.

But all this is only worth it if you need to monitor many servers...

JD



_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Athmane Madjoudj 02-03-2010 09:46 AM

monitoring a workstation
 
On Mon, Feb 1, 2010 at 11:08 AM, MOKRANI Rachid <Rachid.MOKRANI@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 pices 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
> dcline 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@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
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Les Mikesell 02-03-2010 12:31 PM

monitoring a workstation
 
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@gmail.com

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


All times are GMT. The time now is 03:17 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.