From a304149340839e18abce81f5c68d37a8004bc518 Mon Sep 17 00:00:00 2001 From: darode Date: Mon, 27 Jun 2011 09:36:50 +0000 Subject: [PATCH] 2011-04-13 Dario Rodriguez * HP-UX/pandora_agent.conf: Fixed a wrong path for command swapinfo. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4486 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_agents/unix/ChangeLog | 4 ++++ pandora_agents/unix/HP-UX/pandora_agent.conf | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/pandora_agents/unix/ChangeLog b/pandora_agents/unix/ChangeLog index e2361d29ce..7a525405b1 100644 --- a/pandora_agents/unix/ChangeLog +++ b/pandora_agents/unix/ChangeLog @@ -1,3 +1,7 @@ +2011-04-13 Dario Rodriguez + + * HP-UX/pandora_agent.conf: Fixed a wrong path for command swapinfo. + 2011-04-28 Junichi Satoh * SunOS/make_solaris_package/prototype, diff --git a/pandora_agents/unix/HP-UX/pandora_agent.conf b/pandora_agents/unix/HP-UX/pandora_agent.conf index 00446146d6..9e242b6fde 100755 --- a/pandora_agents/unix/HP-UX/pandora_agent.conf +++ b/pandora_agents/unix/HP-UX/pandora_agent.conf @@ -147,14 +147,14 @@ module_end module_begin module_name Swap_Free module_type generic_data -module_exec swapinfo -t | grep memory | tr -d "%" | awk '{ print 100-$5 }' +module_exec /usr/sbin/swapinfo -t | grep memory | tr -d "%" | awk '{ print 100-$5 }' module_description Unused swap memory module_end module_begin module_name RAM_Free module_type generic_data -module_exec swapinfo -t | grep memory | awk '{print $4}' +module_exec /usr/sbin/swapinfo -t | grep memory | awk '{print $4}' module_description Unused RAM memory module_end