Is there any way to filter an array in a function? I am looking to get a count of the number of instances of a running executable on a server. So basically make an SNMP call to get a list of running processes. Filter the list by the name of a single process, then get a count using array_count.
Or alternatively loop through an array and get a count using variables and an if statement.
Todd