Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

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::Unix(3pm)		User Contributed Perl Documentation		  FusionInventory::Agent::Tools::Unix(3pm)

NAME
FusionInventory::Agent::Tools::Unix - Unix-specific generic functions DESCRIPTION
This module provides some Unix-specific generic functions. FUNCTIONS
getDeviceCapacity(%params) Returns storage capacity of given device, using fdisk. Availables parameters: logger a logger object device the device to use getIpDhcp Returns an hashref of information for current DHCP lease. getFilesystemsFromDf(%params) Returns a list of filesystems as a list of hashref, by parsing given df command output. logger a logger object command the exact command to use file the file to use, as an alternative to the command getFilesystemsTypesFromMount(%params) Returns a list of used filesystems types, by parsing given mount command output. logger a logger object command the exact command to use file the file to use, as an alternative to the command getProcessesFromPs(%params) Returns a list of processes as a list of hashref, by parsing given ps command output. logger a logger object command the exact command to use file the file to use, as an alternative to the command getRoutingTable Returns the routing table as an hashref, by parsing netstat command output. logger a logger object command the exact command to use (default: netstat -nr -f inet) file the file to use, as an alternative to the command perl v5.14.2 2012-06-25 FusionInventory::Agent::Tools::Unix(3pm)
Man Page

9 More Discussions You Might Find Interesting

1. Programming

Win32 VC++ DebugBreak in Linxu

Hi, Is there is any debugging solution in Linux similar to Win32's VC++ DebugBreak() call. (2 Replies)
Discussion started by: ku@ntum
2 Replies

2. Shell Programming and Scripting

PERL script problem

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)
Discussion started by: caddyjoe77
5 Replies

3. Shell Programming and Scripting

perl script using Win32::IEAutomation

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)
Discussion started by: gurukottur
5 Replies

4. Shell Programming and Scripting

execution status of gotoURL in Win32::IEAutomation

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)
Discussion started by: gurukottur
2 Replies

5. Programming

Similar functions in unix

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)
Discussion started by: dayakarr
1 Replies

6. Windows & DOS: Issues & Discussions

Process explorer for MS Windows

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)
Discussion started by: jgt
5 Replies

7. Shell Programming and Scripting

Unable to get full message text from Windows Event Logs

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)
Discussion started by: kar_333
2 Replies

8. UNIX for Advanced & Expert Users

X-Win32 not working

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)
Discussion started by: mohtashims
1 Replies

9. Shell Programming and Scripting

How to export hive table data to a file on local UNIX?

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)
Discussion started by: STCET22
1 Replies