file /tmp/cpu_stats not written

pppplus

Verified User
Joined
Dec 19, 2008
Messages
524
Hi

After modifying size of /tmp directory, I've a problem with cpu_stats file, which would be overwritten (by system I suppose).
But on one server, this file is not more modified, from 6th of february.

I verify owner and permission, and it is the same than in other server.
This server run with centos 6 - 64bits

Is it a big problem ?
Do you have an idea to correct this ?

I've found nothing about this problem.
 
Thanks zEitEr, but which one ?
I install nothing for that, so it is default software writing this file. But no idea about this software.
 
Since you're a customer of OVH, if I'm not mistaken, that might be there software, which allows to see stats of your server in their manager cp. Sorry, don't remember names, so you should check it yourself. This command might help you to find if any process is using the file:

Code:
lsof | grep /tmp/cpu_stats

If you have no lsof, then you should install it with rpm/yum.
 
No, I'd rather not say that:

Code:
[root@server plugins]# grep cpu_stats /usr/share/munin/plugins/* -c
/usr/share/munin/plugins/acpi:0
/usr/share/munin/plugins/amavis:0
/usr/share/munin/plugins/apache_accesses:0
/usr/share/munin/plugins/apache_processes:0
/usr/share/munin/plugins/apache_volume:0
/usr/share/munin/plugins/apc_envunit_:0
/usr/share/munin/plugins/apc_nis:0
/usr/share/munin/plugins/apt:0
/usr/share/munin/plugins/apt_all:0
/usr/share/munin/plugins/asterisk_channels:0
/usr/share/munin/plugins/asterisk_channelstypes:0
/usr/share/munin/plugins/asterisk_codecs:0
/usr/share/munin/plugins/asterisk_meetme:0
/usr/share/munin/plugins/asterisk_meetmeusers:0
/usr/share/munin/plugins/asterisk_sipchannels:0
/usr/share/munin/plugins/asterisk_sippeers:0
/usr/share/munin/plugins/asterisk_voicemail:0
/usr/share/munin/plugins/bind9:0
/usr/share/munin/plugins/bind9_rndc:0
/usr/share/munin/plugins/bonding_err_:0
/usr/share/munin/plugins/buddyinfo:0
/usr/share/munin/plugins/cmc_tc_sensor_:0
/usr/share/munin/plugins/courier_:0
/usr/share/munin/plugins/courier_mta_mailqueue:0
/usr/share/munin/plugins/courier_mta_mailstats:0
/usr/share/munin/plugins/courier_mta_mailvolume:0
/usr/share/munin/plugins/cps_:0
/usr/share/munin/plugins/cpu:0
/usr/share/munin/plugins/cpuspeed:0
/usr/share/munin/plugins/cupsys_pages:0
/usr/share/munin/plugins/df:0
/usr/share/munin/plugins/df_abs:0
/usr/share/munin/plugins/df_inode:0
/usr/share/munin/plugins/dhcpd3:0
/usr/share/munin/plugins/digitemp_:0
/usr/share/munin/plugins/diskstat_:0
/usr/share/munin/plugins/diskstats:0
/usr/share/munin/plugins/ejabberd_:0
/usr/share/munin/plugins/entropy:0
/usr/share/munin/plugins/exim_mailqueue:0
/usr/share/munin/plugins/exim_mailqueue_alt:0
/usr/share/munin/plugins/exim_mailstats:0
/usr/share/munin/plugins/fail2ban:0
/usr/share/munin/plugins/files_:0
/usr/share/munin/plugins/foldingathome:0
/usr/share/munin/plugins/foldingathome_rank:0
/usr/share/munin/plugins/foldingathome_wu:0
/usr/share/munin/plugins/forks:0
/usr/share/munin/plugins/freeradius_acct:0
/usr/share/munin/plugins/freeradius_auth:0
/usr/share/munin/plugins/freeradius_proxy_acct:0
/usr/share/munin/plugins/freeradius_proxy_auth:0
/usr/share/munin/plugins/fw_conntrack:0
/usr/share/munin/plugins/fw_forwarded_local:0
/usr/share/munin/plugins/fw_packets:0
/usr/share/munin/plugins/haproxy_:0
/usr/share/munin/plugins/haproxy_ng:0
/usr/share/munin/plugins/hddtemp:0
/usr/share/munin/plugins/hddtemp2:0
/usr/share/munin/plugins/hddtempd:0
/usr/share/munin/plugins/hddtemp_smartctl:0
/usr/share/munin/plugins/hp2000_:0
/usr/share/munin/plugins/http_loadtime:0
/usr/share/munin/plugins/if_:0
/usr/share/munin/plugins/if_err_:0
/usr/share/munin/plugins/ifx_concurrent_sessions_:0
/usr/share/munin/plugins/interrupts:0
/usr/share/munin/plugins/iostat:0
/usr/share/munin/plugins/iostat_ios:0
/usr/share/munin/plugins/ip_:0
/usr/share/munin/plugins/ipac-ng:0
/usr/share/munin/plugins/ipmi_:0
/usr/share/munin/plugins/ipmi_sensor_:0
/usr/share/munin/plugins/ircu:0
/usr/share/munin/plugins/irqstats:0
/usr/share/munin/plugins/jmx_tomcat_dbpools:0
/usr/share/munin/plugins/load:0
/usr/share/munin/plugins/loggrep:0
/usr/share/munin/plugins/lpar_cpu:0
/usr/share/munin/plugins/lpstat:0
/usr/share/munin/plugins/mailman:0
/usr/share/munin/plugins/mailscanner:0
/usr/share/munin/plugins/mbmon_:0
/usr/share/munin/plugins/memcached_:0
/usr/share/munin/plugins/meminfo:0
/usr/share/munin/plugins/memory:0
/usr/share/munin/plugins/mhttping:0
/usr/share/munin/plugins/multiping:0
/usr/share/munin/plugins/multips:0
/usr/share/munin/plugins/multips_memory:0
/usr/share/munin/plugins/munin_stats:0
/usr/share/munin/plugins/munin_update:0
/usr/share/munin/plugins/mysql_:0
/usr/share/munin/plugins/mysql_bytes:0
/usr/share/munin/plugins/mysql_innodb:0
/usr/share/munin/plugins/mysql_isam_space_:0
/usr/share/munin/plugins/mysql_queries:0
/usr/share/munin/plugins/mysql_slowqueries:0
/usr/share/munin/plugins/mysql_threads:0
/usr/share/munin/plugins/named:0
/usr/share/munin/plugins/netopia:0
/usr/share/munin/plugins/netstat:0
/usr/share/munin/plugins/netstat_multi:0
/usr/share/munin/plugins/nfs4_client:0
/usr/share/munin/plugins/nfs_client:0
/usr/share/munin/plugins/nfsd:0
/usr/share/munin/plugins/nfsd4:0
/usr/share/munin/plugins/nginx_request:0
/usr/share/munin/plugins/nginx_status:0
/usr/share/munin/plugins/nomadix_users_:0
/usr/share/munin/plugins/ntp_:0
/usr/share/munin/plugins/ntp_kernel_err:0
/usr/share/munin/plugins/ntp_kernel_pll_freq:0
/usr/share/munin/plugins/ntp_kernel_pll_off:0
/usr/share/munin/plugins/ntp_offset:0
/usr/share/munin/plugins/ntp_states:0
/usr/share/munin/plugins/nut_misc:0
/usr/share/munin/plugins/nutups_:0
/usr/share/munin/plugins/nut_volts:0
/usr/share/munin/plugins/nvidia_:0
/usr/share/munin/plugins/open_files:0
/usr/share/munin/plugins/open_inodes:0
/usr/share/munin/plugins/openvpn:0
/usr/share/munin/plugins/perdition:0
/usr/share/munin/plugins/pgbouncer_connections:0
/usr/share/munin/plugins/pgbouncer_requests:0
/usr/share/munin/plugins/ping_:0
/usr/share/munin/plugins/plugin.sh:0
/usr/share/munin/plugins/plugins.history:0
/usr/share/munin/plugins/pm3users_:0
/usr/share/munin/plugins/pop_stats:0
/usr/share/munin/plugins/port_:0
/usr/share/munin/plugins/postfix_mailqueue:0
/usr/share/munin/plugins/postfix_mailstats:0
/usr/share/munin/plugins/postfix_mailvolume:0
/usr/share/munin/plugins/postgres_autovacuum:0
/usr/share/munin/plugins/postgres_bgwriter:0
/usr/share/munin/plugins/postgres_cache_:0
/usr/share/munin/plugins/postgres_checkpoints:0
/usr/share/munin/plugins/postgres_connections_:0
/usr/share/munin/plugins/postgres_connections_db:0
/usr/share/munin/plugins/postgres_locks_:0
/usr/share/munin/plugins/postgres_oldest_prepared_xact_:0
/usr/share/munin/plugins/postgres_prepared_xacts_:0
/usr/share/munin/plugins/postgres_querylength_:0
/usr/share/munin/plugins/postgres_scans_:0
/usr/share/munin/plugins/postgres_size_:0
/usr/share/munin/plugins/postgres_streaming_:0
/usr/share/munin/plugins/postgres_transactions_:0
/usr/share/munin/plugins/postgres_tuples_:0
/usr/share/munin/plugins/postgres_users:0
/usr/share/munin/plugins/postgres_xlog:0
/usr/share/munin/plugins/proc:0
/usr/share/munin/plugins/processes:0
/usr/share/munin/plugins/proc_pri:0
/usr/share/munin/plugins/proxy_plugin:0
/usr/share/munin/plugins/ps_:0
/usr/share/munin/plugins/psu_:0
/usr/share/munin/plugins/qmailqstat:0
/usr/share/munin/plugins/qmailscan:0
/usr/share/munin/plugins/qmailscan-simple:0
/usr/share/munin/plugins/quota_usage_:0
/usr/share/munin/plugins/samba:0
/usr/share/munin/plugins/selinux_avcstat:0
/usr/share/munin/plugins/sendmail_mailqueue:0
/usr/share/munin/plugins/sendmail_mailstats:0
/usr/share/munin/plugins/sendmail_mailtraffic:0
/usr/share/munin/plugins/sensors_:0
/usr/share/munin/plugins/slapd_:0
/usr/share/munin/plugins/slapd_bdb_cache_:0
/usr/share/munin/plugins/slony_lag_:0
/usr/share/munin/plugins/smart_:0
/usr/share/munin/plugins/snmp__cpuload:0
/usr/share/munin/plugins/snmp__df:0
/usr/share/munin/plugins/snmp__df_ram:0
/usr/share/munin/plugins/snmp__fc_if_:0
/usr/share/munin/plugins/snmp__fc_if_err_:0
/usr/share/munin/plugins/snmp__if_:0
/usr/share/munin/plugins/snmp__if_err_:0
/usr/share/munin/plugins/snmp__if_multi:0
/usr/share/munin/plugins/snmp__load:0
/usr/share/munin/plugins/snmp__memory:0
/usr/share/munin/plugins/snmp__netapp_diskusage_:0
/usr/share/munin/plugins/snmp__netapp_inodeusage_:0
/usr/share/munin/plugins/snmp__netstat:0
/usr/share/munin/plugins/snmp__print_pages:0
/usr/share/munin/plugins/snmp__print_supplies:0
/usr/share/munin/plugins/snmp__processes:0
/usr/share/munin/plugins/snmp__rdp_users:0
/usr/share/munin/plugins/snmp__sensors_fsc_bx_fan:0
/usr/share/munin/plugins/snmp__sensors_fsc_bx_temp:0
/usr/share/munin/plugins/snmp__sensors_fsc_fan:0
/usr/share/munin/plugins/snmp__sensors_fsc_temp:0
/usr/share/munin/plugins/snmp__sensors_mbm_fan:0
/usr/share/munin/plugins/snmp__sensors_mbm_temp:0
/usr/share/munin/plugins/snmp__sensors_mbm_volt:0
/usr/share/munin/plugins/snmp__swap:0
/usr/share/munin/plugins/snmp__uptime:0
/usr/share/munin/plugins/snmp__users:0
/usr/share/munin/plugins/snmp__winload:0
/usr/share/munin/plugins/snmp__winmem:0
/usr/share/munin/plugins/snort_alerts:0
/usr/share/munin/plugins/snort_bytes_pkt:0
/usr/share/munin/plugins/snort_drop_rate:0
/usr/share/munin/plugins/snort_pattern_match:0
/usr/share/munin/plugins/snort_pkts:0
/usr/share/munin/plugins/snort_traffic:0
/usr/share/munin/plugins/spamstats:0
/usr/share/munin/plugins/squeezebox_:0
/usr/share/munin/plugins/squid_cache:0
/usr/share/munin/plugins/squid_icp:0
/usr/share/munin/plugins/squid_objectsize:0
/usr/share/munin/plugins/squid_requests:0
/usr/share/munin/plugins/squid_traffic:0
/usr/share/munin/plugins/surfboard:0
/usr/share/munin/plugins/swap:0
/usr/share/munin/plugins/tcp:0
/usr/share/munin/plugins/threads:0
/usr/share/munin/plugins/tomcat_access:0
/usr/share/munin/plugins/tomcat_jvm:0
/usr/share/munin/plugins/tomcat_threads:0
/usr/share/munin/plugins/tomcat_volume:0
/usr/share/munin/plugins/uptime:0
/usr/share/munin/plugins/users:0
/usr/share/munin/plugins/varnish_:0
/usr/share/munin/plugins/vlan_:0
/usr/share/munin/plugins/vlan_inetuse_:0
/usr/share/munin/plugins/vlan_linkuse_:0
/usr/share/munin/plugins/vmstat:0
/usr/share/munin/plugins/vserver_cpu_:0
/usr/share/munin/plugins/vserver_loadavg:0
/usr/share/munin/plugins/vserver_resources:0
/usr/share/munin/plugins/yum:0
/usr/share/munin/plugins/zimbra_:0

But this: http://www.google.ru/search?q=cpu_stats site:forum.ovh.com
So I'd guess it's related to this http://help.ovh.co.uk/DedicatedServicesManager

The OVH Manager is an advanced online management interface that provides rich server control.

Once your server is deployed you will be given the proper login information to access this interface, it is available 24x7 and is fully automated. Below is a list of the features available via the Manager.


Monitoring

* Intervention history
* MRTG information (traffic, packets, errors)
* Email monitoring setup
* Service monitoring setup (HTTP, SMTP, POP, SSH, FTP, DNS etc.)
* Real time monitoring (CPU, RAM and SWAP load; hard drive usage etc.)

https://tal0ne.co.uk/knowledgebase.php?action=displayarticle&id=85
 
You're right, i was just using my memory but yes, munin use cpu and cpu-v2 (additional) and is not linked to cpu_stats.

Regards
 
Back
Top