Skip to content

Supportex.NET blog

Server and network management company

  • supportex.net home
  • MySQL Health Test
Menu

All posts tagged perl

Getting idle processes PID from Perl

Posted on June 10, 2011May 10, 2019Author Oleksii TykhonovPosted in linuxLeave a Reply

There is a nice lib for Perl for working with processes in Linux. And it could be used to get PIDs of processes that have been working more than some amount of time. #!/usr/bin/perl -w use strict; use Proc::ProcessTable; my $period = time-(2*60*60); # in this case it’s two hours my $t = new Proc::ProcessTable;…

Read
Quick MySQL Health Audit

Tags

amqp ansible Apache apt-get awk bash bind CentOS cluster Corosync Debian DNS drbd elasticsearch exclude Fedora firewall go golang innobackupex ipset iptables IPv6 ldap linux logs lsi lspci Lua MaxMind mdadm monitoring Munin mysql mysqldump nagios named ncat nginx niginx openvpn otrs Pacemaker percona perl php phpMyAdmin pika pyenv python python rabbitmq raid redis remote install RRD rrdtool rsync sec Selenium sentry slapd slowlog snmp squid SSH svn swap tips Ubuntu vb-accelerator vBulletin windows Xtrabackup yum

©2025 Supportex.NET blog | Theme by SuperbThemes.Com