=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== ocsinventory-agent-2.8/contrib/Tarballs.pm-32- my $version = $3; ocsinventory-agent-2.8/contrib/Tarballs.pm:33: my $comments = "Software in /usr/local/src/ \n".`$2 --version`; ocsinventory-agent-2.8/contrib/Tarballs.pm-34- # and I updated the information collected ############################################## ocsinventory-agent-2.8/inc/Module/Install.pm-376-# Done in evals to avoid confusing Perl::MinimumVersion ocsinventory-agent-2.8/inc/Module/Install.pm:377:eval( $] >= 5.006 ? <<'END_NEW' : <<'END_OLD' ); die $@ if $@; ocsinventory-agent-2.8/inc/Module/Install.pm-378-sub _read { ############################################## ocsinventory-agent-2.8/inc/Module/Install.pm-416-# Done in evals to avoid confusing Perl::MinimumVersion ocsinventory-agent-2.8/inc/Module/Install.pm:417:eval( $] >= 5.006 ? <<'END_NEW' : <<'END_OLD' ); die $@ if $@; ocsinventory-agent-2.8/inc/Module/Install.pm-418-sub _write { ############################################## ocsinventory-agent-2.8/inc/Module/Install/Fetch.pm-84- return if exists $args{size} and -s $file != $args{size}; ocsinventory-agent-2.8/inc/Module/Install/Fetch.pm:85: system($args{run}) if exists $args{run}; ocsinventory-agent-2.8/inc/Module/Install/Fetch.pm-86- unlink($file) if $args{remove}; ############################################## ocsinventory-agent-2.8/inc/Module/Install/Makefile.pm-45-sub makemaker { ocsinventory-agent-2.8/inc/Module/Install/Makefile.pm:46: ( @_ < 2 or $makemaker >= eval($_[1]) ) ? $makemaker : 0 ocsinventory-agent-2.8/inc/Module/Install/Makefile.pm-47-} ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend.pm-31- my $calling_namespace = caller(0); ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend.pm:32: chomp(my $binpath=`which $binary 2>/dev/null`); ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend.pm-33- return unless -x $binpath; ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend.pm-59- ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend.pm:60: return `$cmd`; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend.pm-61- } ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend.pm-309- ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend.pm:310: # Execution time ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend.pm-311- # $common->setHardware({ETIME => time() - $begin}); ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/IpDiscover/IpDiscover.pm-68- ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/IpDiscover/IpDiscover.pm:69: foreach (`$cmd`) { ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/IpDiscover/IpDiscover.pm-70- if (/<H><I>([\d\.]*)<\/I><M>([\w\:]*)<\/M><N>(\S*)<\/N><\/H>/) { ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/AIX/CPU.pm-11- my @lsattr; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/AIX/CPU.pm:12: my @lsattrtemp=`lsattr -EOl $device -a 'state:type'`; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/AIX/CPU.pm-13- for (@lsattrtemp) { ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/AIX/CPU.pm-63- } else { ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/AIX/CPU.pm:64: @lsattr=`lsattr -EOl $device -a 'state:type:frequency'`; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/AIX/CPU.pm-65- } ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/AIX/Drives.pm-28- $volumn = $1; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/AIX/Drives.pm:29: @fs=`lsfs -c $6`; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/AIX/Drives.pm-30- @fstype = split /:/,$fs[1]; ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/AIX/LVM.pm-44- foreach my $nom (@physvol) { ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/AIX/LVM.pm:45: foreach my $line (`lspv $nom`){ ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/AIX/LVM.pm-46- if ($line =~ /PHYSICAL VOLUME:\s+(\S+)/) { ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/AIX/LVM.pm-83- foreach my $nom (@physvol) { ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/AIX/LVM.pm:84: foreach my $line (`lslv $nom`){ ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/AIX/LVM.pm-85- if ($line =~ /LV IDENTIFIER:\s+(\S+)/) { ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/AIX/LVM.pm-121- foreach my $nom (@volgrp) { ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/AIX/LVM.pm:122: foreach my $line (`lsvg $nom`){ ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/AIX/LVM.pm-123- if ($line =~ /VG IDENTIFIER:\s+(\S+)/) { ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/AIX/Mem.pm-25- for (@lsdev){ ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/AIX/Mem.pm:26: $memory += `lsattr -a size -F value -El$_`; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/AIX/Mem.pm-27- } ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/AIX/Networks.pm-37- $info{$ifname}{status} = "Down"; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/AIX/Networks.pm:38: foreach (`entstat -d $ifname`) { ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/AIX/Networks.pm-39- if (/Hardware Address:\s+(.+)$/) { ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/AIX/Networks.pm-43- } ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/AIX/Networks.pm:44: foreach (`lsattr -El $pifname`) { ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/AIX/Networks.pm-45- if (/^vlan_tag_id\s+(\d+)/) { ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/AIX/Networks.pm-60- # my $tmpifname = "ent".$1; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/AIX/Networks.pm:61: # #@lsattr=`lsattr -EOl $1 -a 'adapter_names mode netaddr'`; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/AIX/Networks.pm:62: # foreach (`lsattr -EOl $tmpifname`) { ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/AIX/Networks.pm-63- # if (/(.+):(.+):(.*)/) { ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/AIX/Networks.pm-73- my $ifname = $1; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/AIX/Networks.pm:74: foreach (`lsattr -E -l $ifname`) { ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/AIX/Networks.pm-75- $info{$ifname}{ip} = $1 if /^netaddr \s*([\d*\.?]*).*/i; ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/AIX/Storages.pm-30- $description=$2; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/AIX/Storages.pm:31: @lsattr=`lspv $device 2>&1`; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/AIX/Storages.pm-32- for (@lsattr){ ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/AIX/Storages.pm-60- $description=$2; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/AIX/Storages.pm:61: @lsattr=`lsattr -EOl $device -a 'size_in_mb'`; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/AIX/Storages.pm-62- for (@lsattr){ ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/AIX/Storages.pm-95- $description=$2; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/AIX/Storages.pm:96: @lsattr=`lsattr -EOl $device -a 'size_in_mb'`; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/AIX/Storages.pm-97- for (@lsattr){ ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/AIX/Storages.pm-130- $description=$2; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/AIX/Storages.pm:131: @lsattr=`lspv $device 2>&1`; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/AIX/Storages.pm-132- for (@lsattr){ ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/AIX/Storages.pm-165- if (($status =~ /Available/)){ ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/AIX/Storages.pm:166: @lsattr=`lsattr -EOl $device -a 'size_in_mb'`; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/AIX/Storages.pm-167- for (@lsattr){ ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/AIX/Storages.pm-206- if (($status =~ /Available/)){ ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/AIX/Storages.pm:207: @lsattr=`lsattr -EOl $device -a 'size_in_mb'`; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/AIX/Storages.pm-208- for (@lsattr){ ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/AIX/Storages.pm-246- if (($status =~ /Available/)){ ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/AIX/Storages.pm:247: @lsattr=`lsattr -EOl $device -a 'fdtype'`; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/AIX/Storages.pm-248- for (@lsattr){ ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/BSD/Drives.pm-17- # OpenBSD has no -m option so use -k to obtain results in kilobytes ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/BSD/Drives.pm:18: for (`df -P -t $t -k`){ ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/BSD/Drives.pm-19- if (/^(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\n/){ ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/BSD/Networks.pm-96- # search interface infos ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/BSD/Networks.pm:97: @ifconfig = `ifconfig $description`; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/BSD/Networks.pm-98- foreach (@ifconfig){ ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Generic/Lspci/Controllers.pm-31- ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Generic/Lspci/Controllers.pm:32: foreach(`$command`){ ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Generic/Lspci/Controllers.pm-33- if (/^(\S+)\s+(\w+.*?):\s(.*)/) { ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Generic/Lspci/Videos.pm-17- if (defined $slot) { ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Generic/Lspci/Videos.pm:18: my @detail = `lspci -v -s $slot 2>/dev/null`; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Generic/Lspci/Videos.pm-19- $memory = 0; ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Generic/Lsusb/Usb.pm-26- #if (defined $bus && defined $device) { ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Generic/Lsusb/Usb.pm:27: my @detail = `lsusb -v -s $bus:$device 2>/dev/null`; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Generic/Lsusb/Usb.pm-28- foreach my $d (@detail) { ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Generic/Packaging/ByHand.pm-44- $logger->debug("Running appli detection scripts from ".$comm); ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Generic/Packaging/ByHand.pm:45: foreach (`$comm`){ ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Generic/Packaging/ByHand.pm-46- $ligne = $_; ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Generic/Packaging/Deb.pm-41- if ($vers > 1162 ){ ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Generic/Packaging/Deb.pm:42: @infos=`dpkg-query --show --showformat='\${binary:Package}---\${Architecture}---\${Version}---\${Installed-Size}---\${Status}---\${Homepage}---\${Description}\n'`; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Generic/Packaging/Deb.pm-43- } else { ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Generic/Packaging/Deb.pm:44: @infos=`dpkg-query --show --showformat='\${Package}---\${Architecture}---\${Version}---\${Installed-Size}---\${Status}---\${Homepage}---\${Description}\n'`; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Generic/Packaging/Deb.pm-45- } ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Generic/Packaging/Gentoo.pm-22- if ($equery_vers =~ /^0.3/) { ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Generic/Packaging/Gentoo.pm:23: foreach (`equery list --format='\$cp \$fullversion' '*'`){ ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Generic/Packaging/Gentoo.pm-24- if (/^(.*) (.*)/) { ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Generic/Repository/Debian.pm-17- ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Generic/Repository/Debian.pm:18: my @repository=`apt-cache policy | grep -i http | awk {'print \$2 " " \$3'} | sort -u`; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Generic/Repository/Debian.pm-19- push @repository, "\n"; ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Generic/Screen.pm-120- # Mandriva ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Generic/Screen.pm:121: $raw_edid = `monitor-get-edid-using-vbe --port $port 2>/dev/null`; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Generic/Screen.pm-122- ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Generic/Screen.pm-125- if (!$raw_edid) { ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Generic/Screen.pm:126: $raw_edid = `monitor-get-edid --vbe-port $port 2>/dev/null`; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Generic/Screen.pm-127- } ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Generic/Screen.pm-189- if ($common->can_run("uuencode")) { ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Generic/Screen.pm:190: chomp($uuencode = `echo $raw_edid|uuencode -`); ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Generic/Screen.pm-191- if (!$base64) { ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Generic/Screen.pm:192: chomp($base64 = `echo $raw_edid|uuencode -m -`); ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Generic/Screen.pm-193- } ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/HPUX/Controller.pm-18- $scaned=$_; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/HPUX/Controller.pm:19: for ( `ioscan -kFC $scaned| cut -d ':' -f 9,11,17,18` ) { ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/HPUX/Controller.pm-20- if ( /(\S+):(\S+):(\S+):(.+)/ ) { ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/HPUX/Drives.pm-20- $type=$_; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/HPUX/Drives.pm:21: for ( `bdf -t $type `) { ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/HPUX/Drives.pm-22- if ( /Filesystem/ ) { ; } ; ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/HPUX/IPv4.pm-17- ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/HPUX/IPv4.pm:18: for ( `grep $hostname /etc/hosts ` ) { ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/HPUX/IPv4.pm-19- if ( /(^\d+\.\d+\.\d+\.\d+)\s+/ ){ ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/HPUX/Networks.pm-49- #print "name $name macaddr $macaddr lanid $lanid\n"; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/HPUX/Networks.pm:50: for ( `lanadmin -g $lanid` ) { ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/HPUX/Networks.pm-51- if (/Type.+=\s(.+)/) { $type = $1; }; ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/HPUX/Networks.pm-62- #print "name $name macaddr $macaddr lanid $lanid speed $speed status $status \n"; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/HPUX/Networks.pm:63: for ( `ifconfig $name 2> /dev/null` ) { ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/HPUX/Networks.pm-64- if ( /inet\s(\S+)\snetmask\s(\S+)\s/ ) { ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/HPUX/Slots.pm-18- $scaned=$_; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/HPUX/Slots.pm:19: for ( `ioscan -kFC $scaned| cut -d ':' -f 9,11,17,18` ) { ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/HPUX/Slots.pm-20- if ( /(\S+):(\S+):(\S+):(.+)/ ) { ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/HPUX/Storages.pm-24- $type = "$_"; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/HPUX/Storages.pm:25: for ( `ioscan -kFnC $type | cut -d ':' -f 1,11,18` ) { ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/HPUX/Storages.pm-26- if ( /(\S+)\:(\S+)\:(\S+)\s+(\S+)/ ) { ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/HPUX/Storages.pm-38- # We look if we are on an alternate link ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/HPUX/Storages.pm:39: for ( `pvdisplay $devdsk 2> /dev/null` ) { ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/HPUX/Storages.pm-40- if ( /$devdsk\.+lternate/ ) { ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/HPUX/Storages.pm-45- if ( $alternate eq 0 ) { ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/HPUX/Storages.pm:46: #$size = `diskinfo -b $devrdsk`; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/HPUX/Storages.pm:47: for ( `diskinfo -v $devrdsk`) { ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/HPUX/Storages.pm-48- if ( /^\s+size:\s+(\S+)/ ) { ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Drives.pm-85- if ($filesystem =~ /^ext(2|3|4|4dev)/ && $common->can_run('dumpe2fs')) { ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Drives.pm:86: foreach (`dumpe2fs -h $volumn 2> /dev/null`) { ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Drives.pm-87- if (/Filesystem UUID:\s+(\S+)/) { ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Drives.pm-95- } elsif ($filesystem =~ /^xfs$/ && $common->can_run('xfs_db')) { ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Drives.pm:96: foreach (`xfs_db -r -c uuid $volumn`) { ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Drives.pm-97- $serial = $1 if /^UUID =\s+(\S+)/; ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Drives.pm-99- } ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Drives.pm:100: foreach (`xfs_db -r -c label $volumn`) { ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Drives.pm-101- $label = $1 if /^label =\s+"(\S+)"/; ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Drives.pm-103- } elsif ($filesystem =~ /^vfat$/ && $common->can_run('dosfslabel')) { ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Drives.pm:104: chomp ($label = `dosfslabel $volumn`); ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Drives.pm-105- } ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Network/Networks.pm-151- if (-d "/sys/class/net/$description/wireless"){ ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Network/Networks.pm:152: my @wifistatus = `iwconfig $description 2>/dev/null`; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Network/Networks.pm-153- foreach my $line (@wifistatus){ ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Network/Networks.pm-437- if (-d "/sys/class/net/$description/wireless"){ ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Network/Networks.pm:438: my @wifistatus = `iwconfig $description`; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Network/Networks.pm-439- foreach my $line (@wifistatus){ ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Storages.pm-61- my $cap; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Storages.pm:62: chomp ($cap = `fdisk -s /dev/$dev 2>/dev/null`); #requires permissions on /dev/$dev ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Storages.pm-63- $cap = int ($cap*1024) if $cap; ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Storages.pm-324- my $devName = $devices->{$device}->{NAME}; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Storages.pm:325: foreach my $line (`smartctl -i /dev/$devName`) { ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Storages.pm-326- chomp($line); ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Storages.pm-382- if ($common->can_run("udevadm")) { ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Storages.pm:383: @input = `udevadm info -q all -n /dev/$devName`; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Storages.pm-384- } else { ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Storages.pm:385: @input = `udevinfo -q all -n /dev/$devName`; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Storages.pm-386- } ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Storages/3ware.pm-28- if ($card) { ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Storages/3ware.pm:29: $res = `tw_cli info $card numdrives`; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Storages/3ware.pm-30- $card = undef; ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Storages/3ware.pm-67- # Second, getting the units : u0, u1... etc. ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Storages/3ware.pm:68: foreach (`tw_cli info $card`) { ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Storages/3ware.pm-69- ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Storages/3ware.pm-88- # Allow us to associate a node to a drive : sda -> WD-WMANS1648590 ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Storages/3ware.pm:89: $sn = `tw_cli info $card $unit serial 2> /dev/null`; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Storages/3ware.pm-90- $sn =~ s/^.*serial number\s=\s(\w*)\s*/$1/; ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Storages/3ware.pm-92- # Third, getting the ports : p0, p1... etc. ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Storages/3ware.pm:93: foreach(`tw_cli info $card $unit`) { ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Storages/3ware.pm-94- $port = $1 if /^.*(p\d+).*/; ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Storages/3ware.pm-96- # Finally, getting drives' values. ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Storages/3ware.pm:97: foreach (`tw_cli info $card $port model serial capacity firmware`) { ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Storages/3ware.pm-98- # Example output : ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Storages/Adaptec.pm-144- $manufacturer = Ocsinventory::Agent::Backend::OS::Linux::Storages::getManufacturer($model); ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Storages/Adaptec.pm:145: foreach (`smartctl -i /dev/sg$count`) { ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Storages/Adaptec.pm-146- $serialnumber = $1 if /^Serial Number:\s+(\S*).*/; ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Storages/FusionIO.pm-37- my $cmd = "fio-status /dev/fct$slot --field"; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Storages/FusionIO.pm:38: $model = trim(`$cmd iom.board_name`); ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Storages/FusionIO.pm:39: $description = trim(`$cmd adapter.product_name`); ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Storages/FusionIO.pm-40- $media = trim('disk'); ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Storages/FusionIO.pm:41: $capacity = trim(`$cmd iom.size_bytes`); ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Storages/FusionIO.pm:42: $serialnumber = 'OEM:'.trim(`$cmd adapter.oem_serial_number`).' FIO:'.trim(`$cmd adapter.fio_serial_number`).' IOM:'.trim(`$cmd iom.serial_number`); ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Storages/FusionIO.pm:43: $firmware = trim(`$cmd iom.fw_current_version`.' rev '.`$cmd iom.fw_current_revision`); ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Storages/FusionIO.pm-44- $logger->debug("Fusion-io: N/A, $manufacturer, $model, $description, $media, $capacity, $serialnumber, $firmware"); ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Storages/HP.pm-48- my $slot = $1; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Storages/HP.pm:49: foreach (`ssacli ctrl slot=$slot pd all show 2> /dev/null`) { ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Storages/HP.pm-50- # Example output : ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Storages/HP.pm-58- my $pd = $1; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Storages/HP.pm:59: foreach (`ssacli ctrl slot=$slot pd $pd show 2> /dev/null`) { ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Storages/HP.pm-60- # Example output : ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Storages/Lsilogic.pm-21- foreach my $node (glob("/dev/sd?")) { ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Storages/Lsilogic.pm:22: foreach (`smartctl -i $node`) { ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Storages/Lsilogic.pm-23- $device = $1 if /.*Device:\s(\w*).*/; ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Storages/Lsilogic.pm-40- foreach my $hd (@devices) { ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Storages/Lsilogic.pm:41: foreach (`mpt-status -n -i $hd->{SCSI_UNID}`) { ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Storages/Lsilogic.pm-42- # Example output : ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Storages/Lsilogic.pm-51- $serialnumber = undef; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Storages/Lsilogic.pm:52: foreach (`smartctl -i /dev/sg$1`) { ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Storages/Lsilogic.pm-53- $serialnumber = $1 if /^Serial Number:\s+(\S*)/; ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Storages/Megacli.pm-59- for (my $count=0;$count<$adpc;$count++){ ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Storages/Megacli.pm:60: foreach (`megacli -ShowSummary -a$count`){ ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Storages/Megacli.pm-61- # Slot number : Connector : 0<Internal>: Slot 1 ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Storages/Megacli.pm-69- # smartctl -i -d megaraid,0 /dev/sda ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Storages/Megacli.pm:70: my $result=`smartctl -i -d megaraid,$slo /dev/$dev`; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Storages/Megacli.pm-71- $model=$1 if ($result =~ /Model Family:\s*(.*)/); ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Storages/ServeRaid.pm-61- $logger->debug("ServeRaid: ipssend GETCONFIG $slot PD"); ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Storages/ServeRaid.pm:62: foreach (`ipssend GETCONFIG $slot PD 2>/dev/null`) { ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Linux/Storages/ServeRaid.pm-63- # Example Output : ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/MacOS/Drives.pm-23- # OpenBSD has no -m option so use -k to obtain results in kilobytes ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/MacOS/Drives.pm:24: for(`df -P -k -t $t`){ # darwin needs the -t to be last ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/MacOS/Drives.pm-25- if(/^(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\n/){ ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/MacOS/Networks.pm-106- # search interface infos ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/MacOS/Networks.pm:107: @ifconfig = `ifconfig $description`; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/MacOS/Networks.pm-108- foreach (@ifconfig){ ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/MacOS/Printers.pm-25- if ($oslevel =~ /10\.[3-6]\./) { ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/MacOS/Printers.pm:26: $shared = `awk \'/Info / {gsub("Info ",""); printf \$0">"}; /Shared/ {print \$NF}\' /etc/cups/printers.conf 2>/dev/null | grep -i yes`; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/MacOS/Printers.pm-27- @shared = split(/\n/,$shared); ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Solaris/Bios.pm-153- foreach(`/bin/find /opt -name sneep`) { ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Solaris/Bios.pm:154: chomp($SystemSerial = `$1`) if /^(\S+)/; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Solaris/Bios.pm-155- } ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Solaris/CPU.pm-15- ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Solaris/CPU.pm:16: my $cpus=`/usr/bin/kstat -m cpu_info | egrep "chip_id|core_id|module: cpu_info" | grep chip_id | awk '{ print \$2 }' | sort -u | wc -l | tr -d ' '`; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Solaris/CPU.pm:17: my $ncores=`/usr/bin/kstat -m cpu_info | egrep "chip_id|core_id|module: cpu_info" | grep core_id | awk '{ print \$2 }' | sort -u | wc -l | tr -d ' '`; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Solaris/CPU.pm:18: my $vproc=`/usr/bin/kstat -m cpu_info | egrep "chip_id|core_id|module: cpu_info" | grep 'module: cpu_info' | awk '{ print \$4 }' | sort -u | wc -l | tr -d ' '`; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Solaris/CPU.pm-19- ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Solaris/CPU.pm-21- my $threads=$vproc / $cpus; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Solaris/CPU.pm:22: my $speed=`/usr/bin/kstat -m cpu_info | grep clock_MHz | awk '{ print \$2 }' | sort -u`; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Solaris/CPU.pm:23: my $type=`/usr/bin/kstat -m cpu_info | grep brand | awk '{\$1=""}; { print \$0 }' | sort -u`; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Solaris/CPU.pm-24- my $manufacturer = ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Solaris/Drives.pm-47- $volumn = $1; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Solaris/Drives.pm:48: chomp($type = `mount -v | grep " $filesystem "`); ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Solaris/Drives.pm-49- $type =~ s/\S+\s+on\s+\S+\s+type\s+(\S+)\s+.*/$1/; ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Solaris/IPv4.pm-35- my $aip; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Solaris/IPv4.pm:36: foreach (`ping -s $hostn 10 1`) { ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Solaris/IPv4.pm-37- unless ( $ip ) { ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Solaris/Memory.pm-537- { ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Solaris/Memory.pm:538: foreach (`prctl -n project.max-shm-memory $$ 2>&1`) ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Solaris/Memory.pm-539- { ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Solaris/Packages.pm-81- foreach (`ls /var/sis/*.SIS`) { ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Solaris/Packages.pm:82: $chaine= `cat $_` ; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Solaris/Packages.pm-83- @tab = split(/;/, $chaine); ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Solaris/Storages.pm-47- } ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Solaris/Storages.pm:48: $rdisk_path=`ls -l /dev/rdsk/${name}s2`; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/OS/Solaris/Storages.pm-49- if ( $rdisk_path =~ /.*->.*scsi_vhci.*/ ) { ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/Virtualization/Docker.pm-24- foreach my $c (@image) { ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/Virtualization/Docker.pm:25: my $tab=`docker inspect $c`; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/Virtualization/Docker.pm-26- my $memory=$1 if ($tab =~ /\s+"Memory":\s(\d+),/); ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/Virtualization/Libvirt.pm-24- $status =~ s/^shut off/off/; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/Virtualization/Libvirt.pm:25: my $xml = `virsh --readonly dumpxml $name`; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/Virtualization/Libvirt.pm-26- my $data = XMLin($xml); ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/Virtualization/Lxc.pm-29- #push (@lxc_vm, $vm); ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/Virtualization/Lxc.pm:30: foreach (`lxc-info -n $vm`){ ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/Virtualization/Lxc.pm-31- $name = $1 if (/^Name:\s*(\S+)$/); ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/Virtualization/Lxc.pm-36- $status = "Running"; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/Virtualization/Lxc.pm:37: $memory = $1 if (`lxc-cgroup -n $name memory.limit_in_bytes` =~ /(\S+)/); ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/Virtualization/Lxc.pm:38: if (`lxc-cgroup -n $name cpuset.cpus` =~ /(\S+)/) { ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/Virtualization/Lxc.pm-39- $cpu = $1; ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/Virtualization/Parallels.pm-56- foreach my $user (@users) { ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/Virtualization/Parallels.pm:57: my @command = `su $user -c "prlctl list -a"`; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/Virtualization/Parallels.pm-58- shift (@command); ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/Virtualization/Parallels.pm-68- ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/Virtualization/Parallels.pm:69: foreach my $infos ( `sudo -u $user prlctl list -i $uuid`) { ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/Virtualization/Parallels.pm-70- if ($infos =~ m/^\s\smemory\s(.*)Mb/) { ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/Virtualization/SolarisLdoms.pm-35- ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/Virtualization/SolarisLdoms.pm:36: @ldomdetails = `/usr/sbin/ldm list-domain -o domain -p $ldomname`; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/Virtualization/SolarisLdoms.pm-37- ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/Virtualization/SolarisZones.pm-68- $memory=""; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/Virtualization/SolarisZones.pm:69: foreach (`/usr/sbin/zonecfg -z $zonename info capped-memory`) { ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/Virtualization/SolarisZones.pm-70- if (/\s+physical:\s+(\S+)(\S)/) { ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/Virtualization/SolarisZones.pm-77- $vcpu=""; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/Virtualization/SolarisZones.pm:78: foreach (`/usr/sbin/zonecfg -z $zonename info dedicated-cpu`) { ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/Virtualization/SolarisZones.pm-79- if (/\s+ncpus:\s+\S*(\d+)/) { ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/Virtualization/VirtualBox.pm-33- ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/Virtualization/VirtualBox.pm:34: foreach my $line (`$cmd_list_vms`){ # read only the information on the first paragraph of each vm ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/Virtualization/VirtualBox.pm-35- chomp ($line); ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/Virtualization/VmWareDesktop.pm-25- my $commande = "/Library/Application\\ Support/VMware\\ Fusion\/vmrun list"; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/Virtualization/VmWareDesktop.pm:26: foreach my $vmxpath ( `$commande` ) { ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/Virtualization/VmWareDesktop.pm-27- next unless $i++ > 0; # Ignore the first line ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/Virtualization/VmWareESX.pm-33- my $status = 'unknow'; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/Virtualization/VmWareESX.pm:34: if ( `vmware-cmd "$vmx" getstate` =~ /=\ (\w+)/ ) { ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/Virtualization/VmWareESX.pm-35- # off ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/Virtualization/VmWareWorkstation.pm-27- my $commande = "/bin/vmrun list"; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/Virtualization/VmWareWorkstation.pm:28: foreach my $vmxpath ( `$commande` ) { ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/Virtualization/VmWareWorkstation.pm-29- next unless $i++ > 0; # Ignore the first line ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/Virtualization/Vmsystem.pm-106- if ($found == 0 and -r '/dev/mem' && -x $dmidecode) { ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/Virtualization/Vmsystem.pm:107: my $sysprod = `$dmidecode -s system-product-name`; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/Virtualization/Vmsystem.pm-108- if ($sysprod =~ /^VMware/) { ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/Virtualization/Vmsystem.pm-117- } else { ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/Virtualization/Vmsystem.pm:118: my $biosvend = `$dmidecode -s bios-vendor`; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/Virtualization/Vmsystem.pm-119- if ($biosvend =~ /^QEMU/) { ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/Virtualization/Xen/XL.pm-56- ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/Virtualization/Xen/XL.pm:57: my @vm_info = `xl list -l $name`; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/Virtualization/Xen/XL.pm-58- my $uuid; ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/Virtualization/Xen/XM.pm-56- ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/Virtualization/Xen/XM.pm:57: my @vm_info = `xm list -l $name`; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/Virtualization/Xen/XM.pm-58- my $uuid; ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/Virtualization/XenCitrixServer.pm-18- ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/Virtualization/XenCitrixServer.pm:19: foreach (`xe host-list params=uuid hostname=$hostname`) { ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/Virtualization/XenCitrixServer.pm-20- $residenton = $1 if /:\s+(.+)/; ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/Virtualization/XenCitrixServer.pm-22- ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/Virtualization/XenCitrixServer.pm:23: foreach (`xe vm-list params=uuid resident-on=$residenton`) { ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/Virtualization/XenCitrixServer.pm-24- if (/:\s+(.+)/) { ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/Virtualization/XenCitrixServer.pm-25- my $uuid = $1 if /:\s+(.+)/; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/Virtualization/XenCitrixServer.pm:26: my $fname = `xe vm-list params=name-label uuid=$uuid`; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/Virtualization/XenCitrixServer.pm-27- my $name = $1 if $fname =~ /:\s+(.+)/; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/Virtualization/XenCitrixServer.pm:28: my $fstatus = `xe vm-list params=power-state uuid=$uuid`; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/Virtualization/XenCitrixServer.pm-29- my $status = $1 if $fstatus =~ /:\s+(.+)/; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/Virtualization/XenCitrixServer.pm:30: my $fvcpu = `xe vm-list params=VCPUs-max uuid=$uuid`; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/Virtualization/XenCitrixServer.pm-31- my $vcpu = $1 if $fvcpu =~ /:\s+(.+)/; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/Virtualization/XenCitrixServer.pm:32: my $fmemory = `xe vm-list params=memory-actual uuid=$uuid`; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Backend/Virtualization/XenCitrixServer.pm-33- my $tmemory = $1 if $fmemory =~ /:\s+(.+)/; ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Common.pm-1117- ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Common.pm:1118: my $output=`system_profiler $type`; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Common.pm-1119- my $name; ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Common.pm-1183- my $calling_namespace = caller(0); ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Common.pm:1184: chomp(my $binpath=`which $binary 2>/dev/null`); ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Common.pm-1185- return unless -x $binpath; ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Common.pm-1223- # $self->{logger}->debug(" - run $cmd"); ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Common.pm:1224: return `$cmd`; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Common.pm-1225-} ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Modules/Apache/Vhosts/Common.pm-410- my ($date) = @_; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Modules/Apache/Vhosts/Common.pm:411: my $formattedDate = `date --date="$date" --iso-8601`; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Modules/Apache/Vhosts/Common.pm-412- chomp $formattedDate; ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Modules/Download.pm-648- chmod(0755, $packages->{$id}->{'NAME'}) or die("Cannot chmod: $!"); ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Modules/Download.pm:649: $exit_code = system( "./".$exe_line ) >> 8; ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Modules/Download.pm-650- } else { ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Modules/Download.pm-656- $logger->debug("Execute $packages->{$id}->{'COMMAND'}..."); ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Modules/Download.pm:657: system( $packages->{$id}->{'COMMAND'} ) and die(); ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Modules/Download.pm-658- ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Modules/Download.pm-676- # Stefano Brandimarte => Stevenson! <stevens@stevens.it> ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Modules/Download.pm:677: system($common->get_path('cp')." -pr * ".$packages->{$id}->{'PATH'}) and die(); ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Modules/Download.pm-678- } ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Modules/Download.pm-736- ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Modules/Download.pm:737: if ( system( $common->get_path("tar")." -xvzf $tmp/build.tar.gz -C $tmp") ){ ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Modules/Download.pm-738- $logger->error("Cannot extract $id with tar, trying with unzip."); ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Modules/Download.pm:739: if ( system( $common->get_path("unzip")." $tmp/build.tar.gz -d $tmp") ){ ocsinventory-agent-2.8/lib/Ocsinventory/Agent/Modules/Download.pm-740- $logger->error("Cannot extract $id with unzip."); ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/XML/Inventory.pm-279- if ( $tagname eq $_ ){ ocsinventory-agent-2.8/lib/Ocsinventory/Agent/XML/Inventory.pm:280: $logger->debug("Tag name `$tagname` already exists - Don't add it"); ocsinventory-agent-2.8/lib/Ocsinventory/Agent/XML/Inventory.pm-281- return 0; ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Agent/XML/Inventory.pm-311- if (!$found){ ocsinventory-agent-2.8/lib/Ocsinventory/Agent/XML/Inventory.pm:312: $logger->debug("Tag name `$tagname` doesn't exist - Cannot feed it"); ocsinventory-agent-2.8/lib/Ocsinventory/Agent/XML/Inventory.pm-313- return 0; ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Compress.pm-52- ocsinventory-agent-2.8/lib/Ocsinventory/Compress.pm:53: system ("gzip --best $filename > /dev/null"); ocsinventory-agent-2.8/lib/Ocsinventory/Compress.pm-54- ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Compress.pm-83- ocsinventory-agent-2.8/lib/Ocsinventory/Compress.pm:84: system ("gzip -d $filename"); ocsinventory-agent-2.8/lib/Ocsinventory/Compress.pm-85- my ($uncompressed_filename) = $filename =~ /(.*)\.gz$/; ############################################## ocsinventory-agent-2.8/lib/Ocsinventory/Logger.pm-25- my $backend = "Ocsinventory::LoggerBackend::".$_; ocsinventory-agent-2.8/lib/Ocsinventory/Logger.pm:26: eval ("require $backend"); # TODO deal with error ocsinventory-agent-2.8/lib/Ocsinventory/Logger.pm-27- if ($@) { ############################################## ocsinventory-agent-2.8/macosx/ocsinventory_packages_setup/scripts/postinstall-35-if [ -e $TMP_DIR/serverdir ] && [ -e $TMP_DIR/cacert.pem ]; then ocsinventory-agent-2.8/macosx/ocsinventory_packages_setup/scripts/postinstall:36: SERVERDIR=`cat $TMP_DIR/serverdir` ocsinventory-agent-2.8/macosx/ocsinventory_packages_setup/scripts/postinstall-37- mkdir $SERVERDIR ############################################## ocsinventory-agent-2.8/macosx/scripts/create-darwin-perl-lib_fromCPAN.pl-195- open(EXCLUDE,">exclude_hiddens"); print EXCLUDE ".*"; close EXCLUDE; ocsinventory-agent-2.8/macosx/scripts/create-darwin-perl-lib_fromCPAN.pl:196: system("tar -xvzf $tarball -X exclude_hiddens"); #We exclude hiddens files from extract (mainly for older Mac::Sysprofile package) ocsinventory-agent-2.8/macosx/scripts/create-darwin-perl-lib_fromCPAN.pl-197- unlink "exclude_hiddens"; ############################################## ocsinventory-agent-2.8/macosx/scripts/create-darwin-perl-lib_fromCPAN.pl-203- chdir('..'); ocsinventory-agent-2.8/macosx/scripts/create-darwin-perl-lib_fromCPAN.pl:204: system("rm -Rf $mod_dir"); ocsinventory-agent-2.8/macosx/scripts/create-darwin-perl-lib_fromCPAN.pl-205- ############################################## ocsinventory-agent-2.8/macosx/scripts/uninstaller.sh-5- ocsinventory-agent-2.8/macosx/scripts/uninstaller.sh:6:PID=`ps ax -e | grep OCSNG | grep -v grep | grep -v $0 | awk '{print $1}'` ocsinventory-agent-2.8/macosx/scripts/uninstaller.sh-7-if [ "$PID" != "" ]; then ############################################## ocsinventory-agent-2.8/memconf-157-if (-x $uname) { ocsinventory-agent-2.8/memconf:158: $os=&mychomp(`$uname`); ocsinventory-agent-2.8/memconf-159- $os="FreeBSD-based $os" if ($os ne "FreeBSD" && -f '/etc/freebsd-update.conf'); ocsinventory-agent-2.8/memconf-160- $running_on=$os; ocsinventory-agent-2.8/memconf:161: $hostname=&mychomp(`$uname -n`); ocsinventory-agent-2.8/memconf-162- if ($os eq "AIX") { ocsinventory-agent-2.8/memconf:163: $machine=&mychomp(`$uname -M`); ocsinventory-agent-2.8/memconf-164- # oslevel command can return stderr output, so use uname instead ocsinventory-agent-2.8/memconf:165: $osmajor=&mychomp(`$uname -v`); ocsinventory-agent-2.8/memconf:166: $osminor=&mychomp(`$uname -r`); ocsinventory-agent-2.8/memconf-167- $osrel="$osmajor.$osminor"; ocsinventory-agent-2.8/memconf-168- $kernver=""; ocsinventory-agent-2.8/memconf:169: $platform=&mychomp(`$uname -p`); ocsinventory-agent-2.8/memconf-170- } else { ocsinventory-agent-2.8/memconf:171: $machine=&mychomp(`$uname -m`); ocsinventory-agent-2.8/memconf:172: $osrel=&mychomp(`$uname -r`); ocsinventory-agent-2.8/memconf:173: $kernver=&mychomp(`$uname -v`); ocsinventory-agent-2.8/memconf-174- $platform=$machine; ############################################## ocsinventory-agent-2.8/memconf-250-if (-d '/usr/platform') { ocsinventory-agent-2.8/memconf:251: $platform=&mychomp(`$uname -i`); ocsinventory-agent-2.8/memconf-252- if (-x "/usr/platform/$platform/sbin/prtdiag") { ############################################## ocsinventory-agent-2.8/memconf-262-} elsif (-x '/usr/sbin/prtdiag') { ocsinventory-agent-2.8/memconf:263: $platform=&mychomp(`$uname -i`); ocsinventory-agent-2.8/memconf-264- $prtdiag_cmd="/usr/sbin/prtdiag"; ############################################## ocsinventory-agent-2.8/memconf-924- print "$s$psrinfo_cmd -v\n"; ocsinventory-agent-2.8/memconf:925: $tmp=&mychomp(`$psrinfo_cmd -p 2>/dev/null`); ocsinventory-agent-2.8/memconf-926- if ($tmp ne "") { ############################################## ocsinventory-agent-2.8/memconf-1838- @psrinfo=&run("$psrinfo_cmd -v"); ocsinventory-agent-2.8/memconf:1839: $tmp=&mychomp(`$psrinfo_cmd -p 2>/dev/null`); # physical CPUs ocsinventory-agent-2.8/memconf-1840- if ($tmp) { ocsinventory-agent-2.8/memconf-1841- push(@psrinfo, "#psrinfo -p\n$tmp\n"); ocsinventory-agent-2.8/memconf:1842: $tmp=&mychomp(`$psrinfo_cmd -p -v 2>/dev/null`); ocsinventory-agent-2.8/memconf-1843- push(@psrinfo, "#psrinfo -p -v\n$tmp\n"); ############################################## ocsinventory-agent-2.8/memconf-3284- } elsif ($psrinfo_cmd) { ocsinventory-agent-2.8/memconf:3285: $ncpu=&mychomp(`$psrinfo_cmd | wc -l`); # physical & virtual CPUs ocsinventory-agent-2.8/memconf-3286- $ncpu=~s/\s+//; ocsinventory-agent-2.8/memconf:3287: $npcpu=&mychomp(`$psrinfo_cmd -p 2>/dev/null`); # physical CPUs ocsinventory-agent-2.8/memconf-3288- if ($npcpu) { ocsinventory-agent-2.8/memconf-3289- # Find number of virtual CPUs ocsinventory-agent-2.8/memconf:3290: @tmp=`$psrinfo_cmd -p -v`; ocsinventory-agent-2.8/memconf-3291- foreach $line (@tmp) { ############################################## ocsinventory-agent-2.8/memconf-3309- } ocsinventory-agent-2.8/memconf:3310: @tmp=`$psrinfo_cmd -v`; ocsinventory-agent-2.8/memconf-3311- if ($tmp[2] =~ /MHz/) { ############################################## ocsinventory-agent-2.8/memconf-3680- } else { ocsinventory-agent-2.8/memconf:3681: $globalzone=&mychomp(`/usr/sbin/arp -a | awk '/SP/ {print \$2}' | head -1`); ocsinventory-agent-2.8/memconf-3682- print "\n on hostname '$globalzone'.\n"; ############################################## ocsinventory-agent-2.8/memconf-8365- $adb .= " -o" if ($machine eq "ia64"); ocsinventory-agent-2.8/memconf:8366: $kernelval=`echo "$_/D" | $adb $kernel /dev/kmem 2>/dev/null | tail -1`; ocsinventory-agent-2.8/memconf-8367- @linearr=split(' ', $kernelval); ############################################## ocsinventory-agent-2.8/memconf-9844- if ($domid) { ocsinventory-agent-2.8/memconf:9845: @xenstore=`/usr/bin/xenstore-ls /local/domain/$domid 2>/dev/null`; ocsinventory-agent-2.8/memconf-9846- foreach (@xenstore) { ############################################## ocsinventory-agent-2.8/memconf-10334- if (-r '/etc/grub.conf' && $osrel) { ocsinventory-agent-2.8/memconf:10335: $tmp=`grep ${osrel}PAE /etc/grub.conf`; ocsinventory-agent-2.8/memconf-10336- $tmp=($tmp) ? 2 : 1; ############################################## ocsinventory-agent-2.8/memconf-10353- if ($osrel =~ /smp$/) { ocsinventory-agent-2.8/memconf:10354: if (`grep ${osrelk}hugemem /etc/grub.conf 2>/dev/null`) { ocsinventory-agent-2.8/memconf-10355- print "WARNING: Boot the ${osrelk}hugemem kernel to use the full memory.\n"; ############################################## ocsinventory-agent-2.8/memconf-10363- if ($totmem < 16384) { ocsinventory-agent-2.8/memconf:10364: if (`grep ${osrelk}smp /etc/grub.conf 2>/dev/null`) { ocsinventory-agent-2.8/memconf-10365- print "WARNING: Boot the ${osrelk}smp kernel to use the full memory.\n"; ocsinventory-agent-2.8/memconf:10366: } elsif (`grep ${osrelk}hugemem /etc/grub.conf 2>/dev/null`) { ocsinventory-agent-2.8/memconf-10367- print "WARNING: Boot the ${osrelk}hugemem kernel to use the full memory.\n"; ############################################## ocsinventory-agent-2.8/memconf-10372- } else { ocsinventory-agent-2.8/memconf:10373: if (`grep ${osrelk}hugemem /etc/grub.conf 2>/dev/null`) { ocsinventory-agent-2.8/memconf-10374- print "WARNING: Boot the ${osrelk}hugemem kernel to use the full memory.\n"; ############################################## ocsinventory-agent-2.8/memconf-11374- if ($domid) { ocsinventory-agent-2.8/memconf:11375: @xenstore=`/usr/bin/xenstore-ls /local/domain/$domid 2>/dev/null`; ocsinventory-agent-2.8/memconf-11376- &createfile("${outfile}_xenstore-ls.txt",@xenstore); ############################################## ocsinventory-agent-2.8/memconf-11383- } ocsinventory-agent-2.8/memconf:11384: `cd /tmp; tar cf /tmp/${outfile}.tar @filelist 2>/dev/null`; ocsinventory-agent-2.8/memconf-11385- if ($sendmail) { ############################################## ocsinventory-agent-2.8/postinst.pl-416- print STDERR "Copying SNMP MIBs XML files...\n"; ocsinventory-agent-2.8/postinst.pl:417: system("cp -r $source_snmpdir/* $snmpdir"); ocsinventory-agent-2.8/postinst.pl-418-} ############################################## ocsinventory-agent-2.8/postinst.pl-449- ocsinventory-agent-2.8/postinst.pl:450: system("$binpath --force"); ocsinventory-agent-2.8/postinst.pl-451- if (($? >> 8)==0) { ############################################## ocsinventory-agent-2.8/resources/ipdiscover/ipdiscover.c-203- p++; ocsinventory-agent-2.8/resources/ipdiscover/ipdiscover.c:204: name = gethostbyaddr(&ipsrc, sizeof(struct in_addr), AF_INET); ocsinventory-agent-2.8/resources/ipdiscover/ipdiscover.c-205- if(name){ ############################################## ocsinventory-agent-2.8/tools/standalone.sh-26- ocsinventory-agent-2.8/tools/standalone.sh:27:BACKENDMODULE=`cat MANIFEST | perl -pe 's/.*// unless (/Ocsinventory\/Agent\/Backend\// && !/^inc/ && /pm$/); s/lib\/(.*)\.pm/ $1/; s/\//::/g; chomp'` ocsinventory-agent-2.8/tools/standalone.sh-28- ############################################## ocsinventory-agent-2.8/tools/standalone.sh-39- ocsinventory-agent-2.8/tools/standalone.sh:40:MODULES="`cat MANIFEST | perl -pe 's/.*// unless (!/^inc/ && /pm$/ && !/^contrib/); s/lib\/(.*)\.pm/ -M $1/; s/\//::/g; chomp'` -M XML::SAX::PurePerl -M XML::SAX::Expat -M PerlIO -M Getopt::Long -M Digest::MD5 -M Net::IP -M Ocsinventory::Agent::Backend::ModuleToLoad" ocsinventory-agent-2.8/tools/standalone.sh-41- ocsinventory-agent-2.8/tools/standalone.sh:42:for i in `echo $MODULES| perl -nle 's/\-M//g;print'`; do perl -I "lib" -M$i -e "1" || MISSING="$MISSING $i" ;done ocsinventory-agent-2.8/tools/standalone.sh-43- ############################################## ocsinventory-agent-2.8/debian/patches/propagate-ccflags.patch-14- my $cc=$Config::Config{cc}; ocsinventory-agent-2.8/debian/patches/propagate-ccflags.patch:15:- system("$cc resources/ipdiscover/ipdiscover.c -o ipdiscover"); ocsinventory-agent-2.8/debian/patches/propagate-ccflags.patch-16-+ my $fl=$Config::Config{ccflags}; ocsinventory-agent-2.8/debian/patches/propagate-ccflags.patch:17:+ system("$cc $fl `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get LDFLAGS` resources/ipdiscover/ipdiscover.c -o ipdiscover"); ocsinventory-agent-2.8/debian/patches/propagate-ccflags.patch-18- if (-f 'ipdiscover') { ############################################## ocsinventory-agent-2.8/.pc/no_postinst_questions.patch/Makefile.PL-88- my $cc=$Config::Config{cc}; ocsinventory-agent-2.8/.pc/no_postinst_questions.patch/Makefile.PL:89: system("$cc resources/ipdiscover/ipdiscover.c -o ipdiscover"); ocsinventory-agent-2.8/.pc/no_postinst_questions.patch/Makefile.PL-90- if (-f 'ipdiscover') { ############################################## ocsinventory-agent-2.8/.pc/no_postinst_questions.patch/Makefile.PL-160- ocsinventory-agent-2.8/.pc/no_postinst_questions.patch/Makefile.PL:161:#for i in inc/BUNDLES/* ; do rm -rf `basename $i` ;done` ocsinventory-agent-2.8/.pc/no_postinst_questions.patch/Makefile.PL-162-#auto_install; ############################################## ocsinventory-agent-2.8/.pc/propagate-ccflags.patch/Makefile.PL-88- my $cc=$Config::Config{cc}; ocsinventory-agent-2.8/.pc/propagate-ccflags.patch/Makefile.PL:89: system("$cc resources/ipdiscover/ipdiscover.c -o ipdiscover"); ocsinventory-agent-2.8/.pc/propagate-ccflags.patch/Makefile.PL-90- if (-f 'ipdiscover') { ############################################## ocsinventory-agent-2.8/.pc/propagate-ccflags.patch/Makefile.PL-160- ocsinventory-agent-2.8/.pc/propagate-ccflags.patch/Makefile.PL:161:#for i in inc/BUNDLES/* ; do rm -rf `basename $i` ;done` ocsinventory-agent-2.8/.pc/propagate-ccflags.patch/Makefile.PL-162-#auto_install; ############################################## ocsinventory-agent-2.8/.pc/spelling-errors.patch/lib/Ocsinventory/Agent/Backend/OS/BSD/Networks.pm-96- # search interface infos ocsinventory-agent-2.8/.pc/spelling-errors.patch/lib/Ocsinventory/Agent/Backend/OS/BSD/Networks.pm:97: @ifconfig = `ifconfig $description`; ocsinventory-agent-2.8/.pc/spelling-errors.patch/lib/Ocsinventory/Agent/Backend/OS/BSD/Networks.pm-98- foreach (@ifconfig){ ############################################## ocsinventory-agent-2.8/.pc/spelling-errors.patch/lib/Ocsinventory/Agent/Backend/OS/Linux/Network/Networks.pm-151- if (-d "/sys/class/net/$description/wireless"){ ocsinventory-agent-2.8/.pc/spelling-errors.patch/lib/Ocsinventory/Agent/Backend/OS/Linux/Network/Networks.pm:152: my @wifistatus = `iwconfig $description 2>/dev/null`; ocsinventory-agent-2.8/.pc/spelling-errors.patch/lib/Ocsinventory/Agent/Backend/OS/Linux/Network/Networks.pm-153- foreach my $line (@wifistatus){ ############################################## ocsinventory-agent-2.8/.pc/spelling-errors.patch/lib/Ocsinventory/Agent/Backend/OS/Linux/Network/Networks.pm-437- if (-d "/sys/class/net/$description/wireless"){ ocsinventory-agent-2.8/.pc/spelling-errors.patch/lib/Ocsinventory/Agent/Backend/OS/Linux/Network/Networks.pm:438: my @wifistatus = `iwconfig $description`; ocsinventory-agent-2.8/.pc/spelling-errors.patch/lib/Ocsinventory/Agent/Backend/OS/Linux/Network/Networks.pm-439- foreach my $line (@wifistatus){ ############################################## ocsinventory-agent-2.8/Makefile.PL-89- my $fl=$Config::Config{ccflags}; ocsinventory-agent-2.8/Makefile.PL:90: system("$cc $fl `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get LDFLAGS` resources/ipdiscover/ipdiscover.c -o ipdiscover"); ocsinventory-agent-2.8/Makefile.PL-91- if (-f 'ipdiscover') { ############################################## ocsinventory-agent-2.8/Makefile.PL-161- ocsinventory-agent-2.8/Makefile.PL:162:#for i in inc/BUNDLES/* ; do rm -rf `basename $i` ;done` ocsinventory-agent-2.8/Makefile.PL-163-#auto_install;