On Tue, 2 Oct 2012, Pedro Valera wrote: > I would suggest: > > ps -aux | grep sec > > Get the PID from your process, then use top: > > top -pPID1 -pPID2 > > For example, I have 2 sec instances running: > > %CPU 1.3 and 0.0 correspondingly. > %MEM 0.2 and 0.1 correspondingly.
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 2080 root 20 0 23180 8312 1180 S 0 0.0 11:27.20 /usr/bin/perl -conf=/etc/sec/configs/vmstat.conf 2083 root 20 0 22916 7984 1080 S 0 0.0 4:00.12 /usr/bin/perl -conf=/etc/sec/configs/loglog.conf 2101 root 20 0 22916 7972 1088 S 0 0.0 4:25.18 /usr/bin/perl -conf=/etc/sec/configs/tippingpoint.conf 2074 root 20 0 23048 8220 1172 S 0 0.0 15:51.80 /usr/bin/perl -conf=/etc/sec/configs/syslog.conf 2077 root 20 0 22916 7984 1088 S 0 0.0 257:21.42 /usr/bin/perl -conf=/etc/sec/configs/plug.conf 2086 root 20 0 25492 10m 1356 S 0 0.0 280:27.51 /usr/bin/perl -conf=/etc/sec/configs/iaalog.conf 2089 root 20 0 23048 8132 1084 S 0 0.0 4:27.02 /usr/bin/perl -conf=/etc/sec/configs/netips-sms1.conf 2092 root 20 0 22916 7972 1084 S 0 0.0 3:58.46 /usr/bin/perl -conf=/etc/sec/configs/gauntlet1a.conf 2095 root 20 0 22916 7980 1084 S 0 0.0 3:48.71 /usr/bin/perl -conf=/etc/sec/configs/snoopy.conf 2098 root 20 0 22916 7964 1084 S 0 0.0 3:16.13 /usr/bin/perl -conf=/etc/sec/configs/nsmnow.conf lines of config per sec config file /etc/sec/configs/syslog.conf 57 /etc/sec/configs/plug.conf 6 /etc/sec/configs/vmstat.conf 6 /etc/sec/configs/loglog.conf 6 /etc/sec/configs/iaalog.conf 111 /etc/sec/configs/netips-sms1.conf 202 /etc/sec/configs/gauntlet1a.conf 18 /etc/sec/configs/snoopy.conf 13 /etc/sec/configs/nsmnow.conf 5 /etc/sec/configs/tippingpoint.conf 5 # of lines of logs/min messages.20121002.2213.gz:501678 messages.20121002.2214.gz:507751 messages.20121002.2215.gz:525719 messages.20121002.2216.gz:468342 messages.20121002.2217.gz:435497 messages.20121002.2218.gz:420732 messages.20121002.2219.gz:437858 messages.20121002.2220.gz:495943 messages.20121002.2221.gz:503203 messages.20121002.2222.gz:423696 messages.20121002.2223.gz:427274 messages.20121002.2224.gz:432584 messages.20121002.2225.gz:508680 messages.20121002.2226.gz:508518 messages.20121002.2227.gz:391451 messages.20121002.2228.gz:400777 messages.20121002.2229.gz:391637 messages.20121002.2230.gz:420578 messages.20121002.2231.gz:389112 messages.20121002.2232.gz:416166 messages.20121002.2233.gz:396453 messages.20121002.2234.gz:333943 messages.20121002.2235.gz:331644 messages.20121002.2236.gz:497693 messages.20121002.2237.gz:526253 messages.20121002.2238.gz:522233 messages.20121002.2239.gz:507386 messages.20121002.2240.gz:524174 messages.20121002.2241.gz:620405 messages.20121002.2242.gz:540399 at this time of day (well past peak) the cpu load is fairly low. These are not especially large configs. David Lang ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Simple-evcorr-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users
