fusioninventory::agent::tools::win32(3pm) [debian man page]
FusionInventory::Agent::Tools::Win32(3pm) User Contributed Perl Documentation FusionInventory::Agent::Tools::Win32(3pm)NAME
FusionInventory::Agent::Tools::Win32 - Windows generic functions
DESCRIPTION
This module provides some Windows-specific generic functions.
FUNCTIONS
is64bit()
Returns true if the OS is 64bit or false.
getLocalCodepage()
Returns the local codepage.
getWmiObjects(%params)
Returns the list of objects from given WMI class, with given properties, properly encoded.
moniker a WMI moniker (default: winmgmts:{impersonationLevel=impersonate,(security)}!//./)
class a WMI class
properties a list of WMI properties
encodeFromRegistry($string)
Ensure given registry content is properly encoded to utf-8.
getRegistryValue(%params)
Returns a value from the registry.
path a string in hive/key/value format
E.g: HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows NT/CurrentVersion/ProductName
logger
getRegistryKey(%params)
Returns a key from the registry.
path a string in hive/key format
E.g: HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows NT/CurrentVersion
logger
runCommand(%params)
Returns a command in a Win32 Process
command the command to run
timeout a time in second, default is 3600*2
no_stderr ignore STDERR output, default is false =back
Return an array
exitcode the error code, 293 means a timeout occurred
fd a file descriptor on the output
perl v5.14.2 2012-06-25 FusionInventory::Agent::Tools::Win32(3pm)
Check Out this Related Man Page
FusionInventory::Agent::Tools::Linux(3pm) User Contributed Perl Documentation FusionInventory::Agent::Tools::Linux(3pm)NAME
FusionInventory::Agent::Tools::Linux - Linux generic functions
DESCRIPTION
This module provides some generic functions for Linux.
FUNCTIONS
getDevicesFromUdev(%params)
Returns a list of devices, by parsing udev database.
Availables parameters:
logger a logger object
getDevicesFromHal(%params)
Returns a list of devices, by parsing lshal output.
Availables parameters:
logger a logger object
command the exact command to use (default: /usr/sbin/lshal)
file the file to use, as an alternative to the command
getDevicesFromProc(%params)
Returns a list of devices, by parsing /proc filesystem.
Availables parameters:
logger a logger object
getCPUsFromProc(%params)
Returns a list of cpus, by parsing /proc/cpuinfo file
Availables parameters:
logger a logger object
file the file to use (default: /proc/cpuinfo)
getInfoFromSmartctl(%params)
Returns some information about a drive, using smartctl.
Availables parameters:
logger a logger object
device the device to use
file the file to use
getInterfacesFromIfconfig(%params)
Returns the list of interfaces, by parsing ifconfig command output.
Availables parameters:
logger a logger object
command the command to use (default: /sbin/ifconfig -a)
file the file to use
getInterfacesFromIp(%params)
Returns the list of interfaces, by parsing ip command output.
Availables parameters:
logger a logger object
command the command to use (default: /sbin/ip addr show)
file the file to use
perl v5.14.2 2012-06-25 FusionInventory::Agent::Tools::Linux(3pm)
Hi all, i wrote this script and the code appears to work except i cannot connect to the WMI interface on Windows XP boxes. The listing is printed for testing purposes so i know that part works. When it tries to connect to WMI, the script dies. Should echo these properties to me. I think the... (5 Replies)
Hi Folks,
I am using Perl module Win32::IEAutomation for automating a web page which is implented using iceface.
I am trying to click on a image which has the following html code:
<input alt="Incidents" class="iceCmdBtn" id="_id68:_id79" name="_id68:_id79" onblur="setFocus('');"... (5 Replies)
Hi,
I am using Win32::IEAutomation module to automate my Web based application.
I am trying to prepare a report for the test cases I automated.
The problem is I am unable to get the execution status of the commands gotoURL, getButton .... to know if my button click or url redirection is... (2 Replies)
Hi,
I am windows programer. I have very basic knowledge of Unix OS.
I have written an application in Windows which consists of Win32 API namely WideCharToMultiByte(..) and MultiByteToWideChar(..).
I am interested to deploy my application in unix platform henceforth I need to know IS... (1 Reply)
I had a problem with a file in use on a Win2003 server, and found a really good program on Microsoft's web site.
It is the equivalent of unix fuser.
Process Explorer (5 Replies)
Hi all,
. I am developing a log monitoring solution in perl for Windows I am using the CPAN module Win32 ::EventLog (0.076) version for getting the events from windows. The problem which I am facing now is all the Windows 2008 machines are upgraded with Service pack2 from then I couldn’t able... (2 Replies)
I am trying to export windows display to my unix SunOS
I have Windows server 2000 which has X-Win32 v6 installed.
I start X-Win32. I then go to configure session with the following details.
1. host name: myhost
2. command: xterm -ls
3 username: user1
4 password: password
Then i right... (1 Reply)
Hi All ,
I am stuck on the below situation.I have a table called "test" which are created on hive.I need to export the data from hive to a file(test.txt) on local unix system.I have tried the below command ,but its giving the exception .
hive -e "select * from test " > /home/user/test.txt ;
... (1 Reply)