Files
cacti/scripts/unix_processes.pl
T
Ian Berry aace2d1810 prevent output of newlines from scripts
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@733 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-03-21 05:12:41 +00:00

6 lines
79 B
Perl

#!/usr/bin/perl
$output = `ps ax | grep -c :`;
chomp($output);
print $output;