Solaris Agent dont´t report Proccess

Bug #552727 reported by Emengao
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OCS Inventory: Unified Unix Agent
Fix Released
Medium
mortheres

Bug Description

I installed Ocsinventory-Agent-1.1.2 on Solaris 10, but when i run the agent there isn´t Proccess information at the XML file.
I have changed this file above to run the "PS" whith the correct parameters.

FILE: Ocsinventory-Agent-1.1.2\lib\Ocsinventory\Agent\Backend\OS\Generic\Processes.pm

my $model;
$model=`uname -s`;

if ($model eq "SunOS") {
   open(PS, "ps -A -o user,pid,pcpu,pmem,vsz,rss,tty,s,stime,time,comm|");
}else{
   open(PS, "ps aux|");
}

Emengao (emengao)
Changed in ocsinventory-unix-agent:
assignee: nobody → mortheres (mortheres)
Revision history for this message
mortheres (mortheres) wrote :

Hi,

Thanks a lot for your patch. I has been commited in the revision 958 of the trunk branch : http://bazaar.launchpad.net/~ocsinventory-dev/ocsinventory-unix-agent/trunk/revision/958

Kind regards,

--
Guillaume

Changed in ocsinventory-unix-agent:
importance: Undecided → Medium
status: New → Fix Committed
mortheres (mortheres)
Changed in ocsinventory-unix-agent:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.