Commands used by the agent
Snow Inventory Agent for Unix must have access to the following commands, depending on the platform:
| All platforms | AIX | HP-UX | Solaris |
|---|---|---|---|
| awk* | lparstat | adb | df |
| cut* | lsattr | cstm | hostid |
| domainname | lsdev | getconf | kstat |
| echo* | lslpp | ioscan | ls** |
| env | lswpar** | lsof | pkg |
| file** | prtconf** | machinfo | pkginfo |
| grep* | svmon | model | pkgchk |
| hostname | pfiles | prtconf | |
| mount | ps | prtdiag | |
| sort* | setbot | ps | |
| sudo | sh | psrinfo | |
| tail* | swlist | smbios | |
| tr* | swap | ||
| uname | vmstat | ||
| wc* | zonename |
Commands marked with '*' are used for parsing.
Commands marked with '**' require root privileges. The following data will be lost when not run as sudo or root:
| Command | Platform | Data lost when not run as sudo or root |
|---|---|---|
| file | All | Installed software detection |
| lswpar | AIX | Workload partition detection |
| prtconf | AIX | System model, firmware version, machine serial number, processor (number of CPUs and clock speed), hostname, and memory (total physical and virtual) detection. |
| ls | Solaris | Running processes detection |
See Run the agent according to the principle of least privileges for instructions on how to enable the Unix agent to run a complete scan without being run as a super-user.