integer
An integer
is a signed 64-bit value.
Version | Platforms |
---|---|
8.0.584.0 | AIX, HP-UX, Mac, Red Hat, SUSE, Session, Solaris, Windows |
8.1.535.0 | Debian, Ubuntu |
9.5.13.130 | Raspbian |
Creation
Returns the Access Control Entry (ACE) flag, an unsigned 8-bit integer containing a set of one-bit control flags related to inheritance and auditing. The values include:0x01 - OBJECT_INHERIT_ACE0x02 - CONTAINER_INHERIT_ACE0x04 - NO_PROPAGATE_INHERIT_ACE 0x08 - INHERIT_ONLY_ACE0x10 - INHERITED_ACE0x40 - SUCCESSFUL_ACCESS_ACE_FLAG 0x80 - FAILED_ACCESS_ACE_FLAG
Version | Platforms |
---|---|
8.2.1078.0 | Windows |
Returns the average time, in milliseconds, that it takes to evaluate a given BigFix Client content set. The average is based on the last ten cycles.Example: average of evaluationcycle of client - Returns the average evaluation cycle time in milliseconds.
Version | Platforms |
---|---|
8.0.584.0 | AIX, HP-UX, Mac, Red Hat, SUSE, Solaris, Windows |
8.1.535.0 | Debian, Ubuntu |
9.5.13.130 | Raspbian |
If the stage is present the bug revision is the number after the stage. If absent, zero is implied.
Example
// Only defined for Apple version strings
Q: bug revision of version "1.2.3.4"
E: The operator "bug revision" is not defined.
Q: bug revision of version "1.2.3a4"
A: 3
Version | Platforms |
---|---|
8.0.584.0 | Mac |
Returns the most significant 16 bits of the build number.
- Q: (build number high of it, version of it, name of it) of operating system
- A: 0, 6.3.9600, Win8.1
Version | Platforms |
---|---|
8.0.584.0 | Windows |
9.0.586.0 | AIX, Debian, HP-UX, Mac, Red Hat, SUSE, Solaris, Ubuntu |
9.5.13.130 | Raspbian |
Returns the least significant 16 bits of the build number.
- Q: (build number low of it, version of it, name of it) of operating system
- A: 9600, 6.3.9600, Win8.1
Version | Platforms |
---|---|
8.0.584.0 | Windows |
9.0.586.0 | AIX, Debian, HP-UX, Mac, Red Hat, SUSE, Solaris, Ubuntu |
9.5.13.130 | Raspbian |
Returns the build number of the operating system.
- Q: (build number of it, version of it, name of it) of operating system
- A: 9600, 6.3.9600, Win8.1
Version | Platforms |
---|---|
8.0.584.0 | Windows |
9.0.586.0 | AIX, Debian, HP-UX, Mac, Red Hat, SUSE, Solaris, Ubuntu |
9.5.13.130 | Raspbian |
Returns the final component of a version (Major.Minor.Patch.Build).
Example
Q: build revision of version "1.2.3.4"
A: 4
Q: build revision of version "1.2.3a4"
A: 4
Version | Platforms |
---|---|
8.0.584.0 | Mac |
9.5.3.211 | AIX, Debian, Red Hat, SUSE, Session, Solaris, Ubuntu, Windows |
9.5.13.130 | Raspbian |
Returns the numeric value of the byte located at the offset specified by number within the file. Byte 0 of the file is the first byte.Example: byte 0 of file "C:\test.txt" - Returns the first byte in the specified file.
Version | Platforms |
---|---|
8.0.584.0 | AIX, HP-UX, Mac, Red Hat, SUSE, Solaris, Windows |
8.1.535.0 | Debian, Ubuntu |
9.5.13.130 | Raspbian |
Returns the integer property obtained by using the Microsoft Windows GetSecurityDescriptorControl API. This integer contains bits that indicate DACL behaviors as well as default behaviors. See the MSDN documentation of SECURITY_DESCRIPTOR_CONTROL for more information.
Version | Platforms |
---|---|
8.0.584.0 | Windows |
On most platforms, returns the number of physical cores in a single cpupackage (a single socket or physical CPU).
On AIX platforms, returns the number of SMT threads (not of physical cores).
Version | Platforms |
---|---|
8.2.1078.0 | AIX, Debian, HP-UX, Mac, Red Hat, SUSE, Solaris, Ubuntu, Windows |
9.5.13.130 | Raspbian |
On most platforms, returns the count of physical cpu packages (the number of sockets or physical CPUs). Multiply this number by the number of cores to get the total core count of the system.
On AIX platforms, returns the number of the virtual online CPUs divided by the number of SMT threads, rounded to the lower integer. For example, if there are 15 virtual online CPUs and 8 SMT threads, the returned value is 1. That is, 15/8 = 1.875 rounded to the lower integer, 1.
Version | Platforms |
---|---|
8.2.1078.0 | AIX, Debian, HP-UX, Mac, Red Hat, SUSE, Solaris, Ubuntu, Windows |
9.5.13.130 | Raspbian |
Returns an integer corresponding to the access mode for the trustee specified by <string> of the given access control list.Example: effective access mode for "Administrators" of dacls of security descriptors of system folder as hexadecimal - Returns a hex value corresponding to the access mode of the system folder for users logged in as Administrators.
Version | Platforms |
---|---|
8.0.584.0 | Windows |
Returns the unique elements of the specified set, removing duplicates and sorting by value.
- Q: elements of set of (5; 7; 2; 3; 3; 3)
- A: 2
- A: 3
- A: 5
- A: 7
Version | Platforms |
---|---|
8.0.584.0 | AIX, HP-UX, Mac, Red Hat, SUSE, Session, Solaris, Windows |
8.1.535.0 | Debian, Ubuntu |
9.5.13.130 | Raspbian |
If available, returns the last result from the capability specified. For example:
- Q: error code of capability "quarantine" of agent interface "EDR" of client
- A: 0
where "quarantine" is one of the capabilities of the EDR angent.
Version | Platforms |
---|---|
9.5.5.199 | Windows |
9.5.7.90 | Mac |
Returns an integer corresponding to the exit code of the specified action. This value will not exist if the action has not yet produced an exit code.
Version | Platforms |
---|---|
8.0.584.0 | AIX, HP-UX, Mac, Red Hat, SUSE, Solaris, Windows |
8.1.535.0 | Debian, Ubuntu |
9.5.13.130 | Raspbian |
Returns the feature flags from the CPUID instruction. The feature mask contains bits that identify extra features the processor may provide such as MMX support or if the Processor ID is enabled on the processor.
Version | Platforms |
---|---|
8.0.584.0 | Windows |
8.2.1078.0 | Mac |
9.0.586.0 | Debian, Red Hat, SUSE, Ubuntu |
9.5.13.130 | Raspbian |
Returns the number of physical partitions within the specified volume group that are not currently allocated to any logical volume.Example: free partition count of volume group "dave" of logical volume manager - Returns the number of free partitions in the specified volume group.
Version | Platforms |
---|---|
8.0.584.0 | AIX |
This reads a 32 bit integer from the MacOS. The selector name is the four character OSType that chooses which item is being inspected. The interpretation of the result depends on the selector. It might represent an integer or a version, for instance.
Version | Platforms |
---|---|
8.0.584.0 | Mac |
Returns one of the eight 16-bit parts (hexadecets) of an ipv4or6 address specified by <integer>. Here zero refers to the highest hexadecet (network or big-endian order). Thus hexadecet 0 refers to the most-significant 16-bits of the 128 bit ipv4or6 address.
Version | Platforms |
---|---|
8.0.584.0 | AIX, HP-UX, Mac, Red Hat, SUSE, Session, Solaris, Windows |
8.1.535.0 | Debian, Ubuntu |
9.5.13.130 | Raspbian |
Returns one of the eight 16-bit parts (hexadecets) of an IPv6 address specified by <integer>. Here zero refers to the highest hexadecet (network or big-endian order). Thus hexadecet 0 refers to the most-significant 16-bits of the 128 bit IPv6 address.
Version | Platforms |
---|---|
8.0.584.0 | AIX, HP-UX, Mac, Red Hat, SUSE, Session, Solaris, Windows |
8.1.535.0 | Debian, Ubuntu |
9.5.13.130 | Raspbian |
Returns the hour section of the 'time of day with time zone' object.Example: hour_of_day of time (universal time zone) of now - Returns the hour of day in Greenwich, England.
Version | Platforms |
---|---|
8.0.584.0 | AIX, HP-UX, Mac, Red Hat, SUSE, Session, Solaris, Windows |
8.1.535.0 | Debian, Ubuntu |
9.5.13.130 | Raspbian |
A set of bit flags that determines whether other containers or objects can inherit the ACE from the primary object to which the ACL is attached. The actual values of the constants are:NO_INHERITANCE = 0SUB_OBJECTS_ONLY_INHERIT = 1SUB_CONTAINERS_ONLY_INHERIT = 2SUB_CONTAINERS_AND_OBJECTS_INHERIT = 3OJECT_INHERIT_ACE = 1CONTAINER_INHERIT_ACE = 2NO_PROPAGATE_INHERIT_ACE = 4INHERIT_ONLY_ACE = 8.
Version | Platforms |
---|---|
8.0.584.0 | Windows |
Returns the smallest integer not less than the floating point number.
- Q: integer ceiling of floating point "3.14159265358"
- A: 4
- Q: integer ceiling of floating point "-3.14159265358"
- A: -3
Version | Platforms |
---|---|
8.0.584.0 | Mac, Red Hat, SUSE, Session, Windows |
8.1.535.0 | Debian, Ubuntu |
9.0.586.0 | AIX, HP-UX, Solaris |
9.5.13.130 | Raspbian |
Returns the largest integer less than or equal to the floating point number.
- Q: integer floor of floating point "3.14159265358"
- A: 3
- Q: integer floor of floating point "-3.14159265358"
- A: -4
Version | Platforms |
---|---|
8.0.584.0 | Mac, Red Hat, SUSE, Session, Windows |
8.1.535.0 | Debian, Ubuntu |
9.0.586.0 | AIX, HP-UX, Solaris |
9.5.13.130 | Raspbian |
Refers to the number of I/O process operations that are neither reads nor writes, including file, network, and device I/O, but excluding I/O directed to the console input object handles.
- Q: io other count of process "FixletDebugger.exe"
- A: 5042
Version | Platforms |
---|---|
8.0.584.0 | Windows |
Refers to the number of bytes transferred in I/O operations generated by a process including file, network, and device I/Os but excluding reads, writes and bytes directed to the console input object.
- Q: io other size of process "FixletDebugger.exe"
- A: 178874
Version | Platforms |
---|---|
8.0.584.0 | Windows |
Refers to the number of read I/O operations generated by a process, including file, network, and device I/Os, but excluding I/O reads directed to the console input object handles.
- Q: io read count of process "FixletDebugger.exe"
- A: 372
Version | Platforms |
---|---|
8.0.584.0 | Windows |
Refers to the number of bytes read in I/O operations generated by a process, including file, network, and device I/Os, but excluding read bytes directed to the console input object handles.
- Q: io read size of process "FixletDebugger.exe"
- A: 5202
Version | Platforms |
---|---|
8.0.584.0 | Windows |
Refers to the number of write I/O operations generated by a process, including file, network, and device I/Os, but excluding I/O writes directed to the console input object handles.
- Q: io write count of process "FixletDebugger.exe"
- A: 2
Version | Platforms |
---|---|
8.0.584.0 | Windows |
Refers to the number of bytes written in I/O operations generated by a process, including file, network, and device I/Os, but excluding write bytes directed to the console input object handles.
- Q: io write size of process "FixletDebugger.exe"
- A: 232
Version | Platforms |
---|---|
8.0.584.0 | Windows |
Returns an integer specifying the initial roud trip time for TCP connections over the route in milliseconds (1-12000). Typically only used on AX.25 networks, with a default value of 300 if not specified.
Version | Platforms |
---|---|
8.2.1078.0 | Debian, Red Hat, SUSE, Ubuntu |
9.5.13.130 | Raspbian |
The total length of the data and resource forks.Example: Length of data fork of file "Microsoft Word" of folder "Microsoft Office X" of Applications folder is greater than 100000 - Returns True
if the data fork of the system file is greater than the specified amount.
Version | Platforms |
---|---|
8.0.584.0 | Mac |
Returns the line number of a given line in the specified file. Can be used to locate specific lines in a file. Example: line number of line containing "[mciavi]" of file "mmdriver.inf" of system folder.
Version | Platforms |
---|---|
8.0.584.0 | AIX, HP-UX, Mac, Red Hat, SUSE, Solaris, Windows |
8.1.535.0 | Debian, Ubuntu |
9.5.13.130 | Raspbian |
Returns the number of logical processors available per physical processor. This can be interpreted as the number of hyperthreads that could be enabled on the machine. On a machine with 2 physical processors, each with 2 possible hyperthreads per processor, the 'physical processor count' and the 'logical processor count' would both return 2, while the 'number of processors' would return 4, since there are a total of 4 logical processors available for work. With hyperthreading turned off, the 'number of processors', 'logical processor count' and 'physical processor count' would all be 2. Disabling one of those processors will then give 'number of processors'=1, 'logical processor count'=2, and 'physical processor count'=1. If the number of processors / physical processor count != logical processor count, you can turn on hyperthreading.
Version | Platforms |
---|---|
8.0.584.0 | Windows |
Returns the major number of the specified volume group. Each logical volume is represented by a device special file (located in directory /etc). The major number of the device special file is associated with the volume group containing the logical volume, and the minor number of the device special file is associated with the logical volume.Example: major number of volume group "dave" of logical volume manager - Returns the major number of the specified volume group.
Version | Platforms |
---|---|
8.0.584.0 | AIX |
The number before the first period in the version string.
Example
Q: major revision of version "1.2.3.4"
A: 1
Q: major revision of version "1.2.3a4"
A: 1
Version | Platforms |
---|---|
8.0.584.0 | Mac |
9.5.3.211 | AIX, Debian, Red Hat, SUSE, Session, Solaris, Ubuntu, Windows |
9.5.13.130 | Raspbian |
Returns the major version of the operating system.
- Q: (major version of it, version of it, name of it) of operating system
- A: 6, 6.3.9600, Win8.1
- Q: (major version of it, version of it, name of it) of operating system
- A: 14, 14.04, Linux Ubuntu 14.04.1 LTS
- Q: (major version of it, version of it, name of it) of operating system
- A: 10, 10.10.2, Mac OS X
Version | Platforms |
---|---|
8.0.584.0 | Windows |
9.0.586.0 | AIX, Debian, HP-UX, Mac, Red Hat, SUSE, Solaris, Ubuntu |
9.5.13.130 | Raspbian |
Returns the maximum number of logical partitions that the specified logical volume contains. A system administrator may set this value to prevent a logical volume from growing beyond a given size.Example: maximum partition count of logical volume "splat" of volume group "dave" of logical volume manager - Returns the maximum partition count that has been set for the specified volume.
Version | Platforms |
---|---|
8.0.584.0 | AIX |
Returns maximum seat count allowed by the license.Example: maximum seat count of bes license - Returns the current number of BigFix Clients allowed by this license.
Version | Platforms |
---|---|
8.0.584.0 | AIX, HP-UX, Mac, Red Hat, SUSE, Session, Solaris, Windows |
8.1.535.0 | Debian, Ubuntu |
9.5.13.130 | Raspbian |
Returns the result of the GetSystemMetrics function for the integer argument. The integer constants and their meaning are defined by Microsoft. For example, the integer 87 indicates that the operating system is a media center edition.
- Q: metric 87 of operating system
- A: 0
Version | Platforms |
---|---|
8.0.584.0 | Windows |
Returns the minor number of the specified volume group. Each logical volume is represented by a device special file (located in directory /etc). The major number of the device special file is associated with the volume group containing the logical volume, and the minor number of the device special file is associated with the logical volume.
Version | Platforms |
---|---|
8.0.584.0 | AIX |
The number immediately after the first period in the version string. If absent, zero is implied.
Example
Q: minor revision of version "1.2.3.4"
A: 2
Q: minor revision of version "1.2.3a4"
A: 2
Version | Platforms |
---|---|
8.0.584.0 | Mac |
9.5.3.211 | AIX, Debian, Red Hat, SUSE, Session, Solaris, Ubuntu, Windows |
9.5.13.130 | Raspbian |
Returns the minor version of the operating system.
- Q: (minor version of it, version of it, name of it) of operating system
- A: 3, 6.3.9600, Win8.1
- Q: (minor version of it, version of it, name of it) of operating system
- A: 4, 14.04, Linux Ubuntu 14.04.1 LTS
- Q: (minor version of it, version of it, name of it) of operating system
- A: 10, 10.10.2, Mac OS X
Version | Platforms |
---|---|
8.0.584.0 | Windows |
9.0.586.0 | AIX, Debian, HP-UX, Mac, Red Hat, SUSE, Solaris, Ubuntu |
9.5.13.130 | Raspbian |
Returns the 'minutes after the hour' section of the 'time of day with time zone' object.Example: minute_of_hour of time (local time zone) of now - Returns the current minute past the hour.
Version | Platforms |
---|---|
8.0.584.0 | AIX, HP-UX, Mac, Red Hat, SUSE, Session, Solaris, Windows |
8.1.535.0 | Debian, Ubuntu |
9.5.13.130 | Raspbian |
Returns the number of mirrors that the logical volume has (a value between 1 and 3).Example: mirror count of logical volume "splat" of volume group "dave" of logical volume manager - Returns the number of mirrors set up for the specified volume.
Version | Platforms |
---|---|
8.0.584.0 | AIX |
Sorts the list and returns the multiplicity, or count, of each unique element in the specified list of multiple <day of month> types.
Version | Platforms |
---|---|
8.0.584.0 | AIX, HP-UX, Mac, Red Hat, SUSE, Session, Solaris, Windows |
8.1.535.0 | Debian, Ubuntu |
9.5.13.130 | Raspbian |
Sorts the list and returns the multiplicity, or count, of each unique element in the specified list of multiple <day of week> types.
Version | Platforms |
---|---|
8.0.584.0 | AIX, HP-UX, Mac, Red Hat, SUSE, Session, Solaris, Windows |
8.1.535.0 | Debian, Ubuntu |
9.5.13.130 | Raspbian |
Sorts the list and returns the multiplicity, or count, of each unique element in the specified list of multiple <day of year> types.
Version | Platforms |
---|---|
8.0.584.0 | AIX, HP-UX, Mac, Red Hat, SUSE, Session, Solaris, Windows |
8.1.535.0 | Debian, Ubuntu |
9.5.13.130 | Raspbian |
Sorts the list and returns the multiplicity, or count, of each unique element in the specified list of multiple <floating point> types.
Version | Platforms |
---|---|
8.0.584.0 | Mac, Red Hat, SUSE, Session, Windows |
8.1.535.0 | Debian, Ubuntu |
9.0.586.0 | AIX, HP-UX, Solaris |
9.5.13.130 | Raspbian |
Returns the multiplicity (quantity) of each element in a multiple integer list.Example: multiplicities of unique values of (1;2;3;3) - Returns the multiplicity of (the number of times) each number in the list is used, namely, 1,1,2.
Version | Platforms |
---|---|
8.0.584.0 | AIX, HP-UX, Mac, Red Hat, SUSE, Session, Solaris, Windows |
8.1.535.0 | Debian, Ubuntu |
9.5.13.130 | Raspbian |
Sorts the list and returns the multiplicity, or count, of each unique element in the specified list of multiple <ipv4 address> types.
Version | Platforms |
---|---|
8.0.584.0 | AIX, HP-UX, Mac, Red Hat, SUSE, Session, Solaris, Windows |
8.1.535.0 | Debian, Ubuntu |
9.5.13.130 | Raspbian |
Sorts the list and returns the multiplicity, or count, of each unique element in the specified list of multiple <ipv6 address> types.
Version | Platforms |
---|---|
8.0.584.0 | AIX, HP-UX, Mac, Red Hat, SUSE, Session, Solaris, Windows |
8.1.535.0 | Debian, Ubuntu |
9.5.13.130 | Raspbian |
Sorts the list and returns the multiplicity, or count, of each unique element in the specified list of multiple <month and year> types.
Version | Platforms |
---|---|
8.0.584.0 | AIX, HP-UX, Mac, Red Hat, SUSE, Session, Solaris, Windows |
8.1.535.0 | Debian, Ubuntu |
9.5.13.130 | Raspbian |
Returns the multiplicity (quantity) of each element in a multiple string list.Example: multiplicities of unique values of ("steak"; "chop"; "rib"; "rib"; "rib") - Returns the multiplicity of (the number of times) each string in the list is used, namely, 1,3,1. Note that the multiplicities are based on the alphabetic order of the strings (chop, rib, steak), not their position in the list.
Version | Platforms |
---|---|
8.0.584.0 | AIX, HP-UX, Mac, Red Hat, SUSE, Session, Solaris, Windows |
8.1.535.0 | Debian, Ubuntu |
9.5.13.130 | Raspbian |
Sorts the list and returns the multiplicity, or count, of each unique element in the specified list of multiple <time interval> types.
Version | Platforms |
---|---|
8.0.584.0 | AIX, HP-UX, Mac, Red Hat, SUSE, Session, Solaris, Windows |
8.1.535.0 | Debian, Ubuntu |
9.5.13.130 | Raspbian |
Sorts the list and returns the multiplicity, or count, of each unique element in the specified list of multiple <time of day> types.
Version | Platforms |
---|---|
8.0.584.0 | AIX, HP-UX, Mac, Red Hat, SUSE, Session, Solaris, Windows |
8.1.535.0 | Debian, Ubuntu |
9.5.13.130 | Raspbian |
Sorts the list and returns the multiplicity, or count, of each unique element in the specified list of multiple <time of day with time zone> types.
Version | Platforms |
---|---|
8.0.584.0 | AIX, HP-UX, Mac, Red Hat, SUSE, Session, Solaris, Windows |
8.1.535.0 | Debian, Ubuntu |
9.5.13.130 | Raspbian |
Sorts the list and returns the multiplicity, or count, of each unique element in the specified list of multiple <time range> types.
Version | Platforms |
---|---|
8.0.584.0 | AIX, HP-UX, Mac, Red Hat, SUSE, Session, Solaris, Windows |
8.1.535.0 | Debian, Ubuntu |
9.5.13.130 | Raspbian |
Sorts the list and returns the multiplicity, or count, of each unique element in the specified list of multiple <time zone> types.
Version | Platforms |
---|---|
8.0.584.0 | AIX, HP-UX, Mac, Red Hat, SUSE, Session, Solaris, Windows |
8.1.535.0 | Debian, Ubuntu |
9.5.13.130 | Raspbian |
Returns the numeric node type of the specified Document Object Module (DOM) node, 1-12 as shown in the creation inspector.Example: node types of child nodes of xml document of file "icsxml\cmnicfg.xml" of system folder - Returns a list of numeric types for each of the nodes in the specified XML document.
Version | Platforms |
---|---|
8.0.584.0 | Session, Windows |
9.2.7.53 | Debian, Red Hat, SUSE, Ubuntu |
9.5.13.130 | Raspbian |
Returns the number of partitions in the specified logical volume. If mirroring is not enabled for the logical volume, then each logical partition maps to a physical partition within the logical volume's volume group. If the logical volume is mirrored, then each logical partition maps to multiple physical partitions within the logical volume group. In this case, the total number of physical partitions occupied by the logical volume will be the product of the partition count and the mirror count.Example: partition count of logical volume "splat" of volume group "dave" of logical volume manager - Returns the number of partitions existing on the specified logical volume.
Version | Platforms |
---|---|
8.0.584.0 | AIX |
Returns the partition size of the specified volume group (in bytes). The partition size of the volume group represents the logical and physical partition sizes for all logical volumes and physical volumes contained within the specified volume group.Example: partition size of volume group "dave" of logical volume manager - Returns the partition size of the specified volume group (in bytes).
Version | Platforms |
---|---|
8.0.584.0 | AIX |
Returns the integer length of the password history maintained by the security database. A new password cannot match any of the previous passwords in the specified history. For more information, see the MSDN article on NetUserModalsGet.
Version | Platforms |
---|---|
8.0.584.0 | Windows |
Returns the current 64-bit performance counter value. This value comes from the QueryPerformanceCounter function.
- Q: performance counter of operating system
- A: 11657096717
Version | Platforms |
---|---|
8.0.584.0 | Windows |
Returns the physical memory cap of the specified Solaris Zone (if one exists). An attempt to get the physical memory cap of an zone when none exists will result in 'Singular expression refers to nonexistent object'. See the Solaris documentation for more information.
Version | Platforms |
---|---|
8.0.584.0 | Solaris |
Returns the number of physical processors on the machine. Note that 'number of processors' returns the number of logical processors. To determine the number of logical processors per physical processor, use 'number of processors / physical processor count'.
Version | Platforms |
---|---|
8.0.584.0 | Windows |
Returns the dwPlatformId
as returned by the GetVersionEx function. Possible values are 1 for Win9x and 2 for WinNT.
- Q: platform id of operating system
- A: 2
Version | Platforms |
---|---|
8.0.584.0 | Windows |
Returns the result of the GetProductInfo function. The inspector only provides meaningful results for Windows Vista and newer versions of the OS.
- Q: (product info numeric of it, name of it) of operating system
- A: 6, Win8.1
Version | Platforms |
---|---|
8.0.584.0 | Windows |
Returns the line number of a given line in the specified file, ignoring encoding errors. Can be used to locate specific lines in a file. Example: line number of line containing "[mciavi]" of file "mmdriver.inf" of system folder.
Version | Platforms |
---|---|
10.0.0.133 | AIX, Debian, Mac, Raspbian, Red Hat, SUSE, Solaris, Ubuntu, Windows |
Returns the received signal strength indicator.
- Q: (ssid of it | "no ssid", bssid | "no base station id", secured of it, ibss of it, rssi of it) of current networks of wifis of adapters of network
- A: VISITORS, d4:d7:48:b0:d4:a2, False, False, -39
- T: 4953
Version | Platforms |
---|---|
9.5.5.193 | Mac, Windows |
Returns the signal quality. The quality ranges from 0 to 100, being 100 the highest signal quality.
- Q: (ssid of it | "no ssid", signal strenght of it, channel band of it, channel number of it) of current networks of wifis of adapters of network
- A: VISITORS, 90, 2.4GHz, 1
- T: 5950
Version | Platforms |
---|---|
9.5.5.193 | Mac, Windows |
Returns the number of unique elements in the specified set.Example: size of set of ("to";"be"; "or"; "not"; "to"; "be") - Returns 4, the number of unique strings in the set.
Version | Platforms |
---|---|
8.0.584.0 | AIX, HP-UX, Mac, Red Hat, SUSE, Session, Solaris, Windows |
8.1.535.0 | Debian, Ubuntu |
9.5.13.130 | Raspbian |
Retruns the number of bytes used in the internal representation of an object of the given type.
- Q: size of type "integer"
- A: 8
- Q: size of type "boolean"
- A: 1
Version | Platforms |
---|---|
8.0.584.0 | AIX, HP-UX, Mac, Red Hat, SUSE, Session, Solaris, Windows |
8.1.535.0 | Debian, Ubuntu |
9.5.13.130 | Raspbian |
The operational status for the interface as defined in RFC 2863. It can be one of the values from the IF_OPER_STATUS enumeration type defined in the Iftypes.h header file. On Windows Vista and later, the header files were reorganized and this enumeration is defined in the Ifdef.h header file.
Version | Platforms |
---|---|
8.0.584.0 | Windows |
Returns the number of SMT threads (Simultaneous multithreading, called Hyper-Threading on some platforms) in a single cpupackage (a single socket or physical CPU).
Version | Platforms |
---|---|
8.2.1078.0 | AIX, Debian, Mac, Red Hat, SUSE, Solaris, Ubuntu, Windows |
9.5.13.130 | Raspbian |
Same as size of ram.
- Q: total amount of ram
- A: 480673792
Version | Platforms |
---|---|
8.0.584.0 | AIX, HP-UX, Red Hat, SUSE, Solaris |
8.1.535.0 | Debian, Ubuntu |
9.0.586.0 | Mac, Windows |
9.5.13.130 | Raspbian |
The weight assigned to the server by the BES console. Servers with the same priority and approximate distance compete to be chosen; servers with higher weights are more likely to be chosen.
Version | Platforms |
---|---|
8.0.584.0 | AIX, HP-UX, Mac, Red Hat, SUSE, Solaris, Windows |
8.1.535.0 | Debian, Ubuntu |
9.5.13.130 | Raspbian |
Returns the TCP window setting for connections over the route. Typically only used on AX.25 networks and with drivers unable to handle back to back frames.
Version | Platforms |
---|---|
8.2.1078.0 | Debian, Red Hat, SUSE, Ubuntu |
9.5.13.130 | Raspbian |
Returns the amount of memory in bytes required by a process for efficient execution under an operating system that uses paged memory. Thrashing may occur in systems without sufficient memory. This value allow you to monitor the changing memory requirements of the specified process.
- Q: working set size of process "FixletDebugger.exe"
- A: 22999040
Version | Platforms |
---|---|
8.0.584.0 | Windows |
Converts the provided string into the corresponding integer value. If the string contains anything but a number, the conversion will fail. Use numeric value
for more liberal parsing rules.
Version | Platforms |
---|---|
8.0.584.0 | AIX, HP-UX, Mac, Red Hat, SUSE, Session, Solaris, Windows |
8.1.535.0 | Debian, Ubuntu |
9.5.13.130 | Raspbian |
Properties
Returns True
if the nth bit is set. Bits are numbered starting at zero. Bit 0 is the least significant bit.
- Q: bit 0 of 2
- A: False
- Q: bit 1 of 2
- A: True
Version | Platforms |
---|---|
8.0.584.0 | AIX, HP-UX, Mac, Red Hat, SUSE, Session, Solaris, Windows |
8.1.535.0 | Debian, Ubuntu |
9.5.13.130 | Raspbian |
Returns the CSIDL folder corresponding to the specified integer. The SHGetSpecialFolderLocation function is used to look up paths to special folders, which are identified by passing the specified integer as the second argument of the API call. These values and their meaning are described in the Windows ShlObj.h
file found in the development SDK.
Note that some of these folders do not exist in the Local System context.
- Q: csidl folder 35
- A: C:\ProgramData
Version | Platforms |
---|---|
8.0.584.0 | Windows |
Returns an event type object corresponding to the specified number. The enumerated types are:
value | meaning |
---|---|
1 | error |
2 | warning |
4 | information |
8 | audit success |
16 | audit failure |
- Q: event log event type 8 = audit success event log event type
- A: True
Version | Platforms |
---|---|
8.0.584.0 | Windows |
Returns the Nth enumerated type from the Firewall Action interface. This provides an alternative way to access the firewall action variables and requires Vista. For more information, see the MSDN Library entry for NET_FW_ACTION.
Version | Platforms |
---|---|
8.0.584.0 | Windows |
Returns a value corresponding to the NET_FW_MODIFY_STATE enumerated type, which specifies the effect of modifications to the current policy. The <integer> specifies the zero-based enumeration, and provides an alternative access method. For more information, see the MSDN Library entry for NET_FW_MODIFY_STATE.
Version | Platforms |
---|---|
8.0.584.0 | Windows |
Returns a list of the integers contained between the endpoints.
- Q: integers in (1, 5)
- A: 1
- A: 2
- A: 3
- A: 4
- A: 5
- Q: integers in (5, 1)
- A: 5
- A: 4
- A: 3
- A: 2
- A: 1
Version | Platforms |
---|---|
8.0.584.0 | AIX, HP-UX, Mac, Red Hat, SUSE, Session, Solaris, Windows |
8.1.535.0 | Debian, Ubuntu |
9.5.13.130 | Raspbian |
Returns a list of the integers contained between the endpoints specified by the first two integers, with a step size specified by the third integer.
- Q: integers in (1, 5, 2)
- A: 1
- A: 3
- A: 5
- Q: integers in (5, 1, -2)
- A: 5
- A: 3
- A: 1
Version | Platforms |
---|---|
8.0.584.0 | AIX, HP-UX, Mac, Red Hat, SUSE, Session, Solaris, Windows |
8.1.535.0 | Debian, Ubuntu |
9.5.13.130 | Raspbian |
Returns the the IP version for the <integer> port corresponding to the Microsoft enumerated types:0: NET_FW_IP_VERSION_V41: NET_FW_IP_VERSION_V62: NET_FW_IP_VERSION_ANY3: NET_FW_IP_VERSION_MAX.
Version | Platforms |
---|---|
8.0.584.0 | AIX, HP-UX, Mac, Red Hat, SUSE, Session, Solaris, Windows |
8.1.535.0 | Debian, Ubuntu |
9.5.13.130 | Raspbian |
Casts
Operators
Multiply a number of months by an integer, producing a new number of months. This is a typical technique to create a value of this type.Example: (July-current month) < 2*month - Returns True
when the current date is between June and July.
Version | Platforms |
---|---|
8.0.584.0 | AIX, HP-UX, Mac, Red Hat, SUSE, Session, Solaris, Windows |
8.1.535.0 | Debian, Ubuntu |
9.5.13.130 | Raspbian |