Skip to main content

Commands used by the agent

The Unix agent must have access to the following commands, depending on the platform:

All platforms

AIX

HP-UX

Solaris

  • awk*

  • cut*

  • domainname

  • echo*

  • env

  • file**

  • grep*

  • hostname

  • mount

  • sort*

  • sudo

  • tail*

  • tr*

  • uname

  • wc*

  • lparstat

  • lsattr

  • lsdev

  • lslpp

  • lswpar**

  • prtconf**

  • svmon

  • adb

  • cstm

  • getconf

  • ioscan

  • lsof

  • machinfo

  • model

  • pfiles

  • ps

  • setbot

  • sh

  • swlist

  • df

  • hostid

  • kstat

  • ls**

  • pkg

  • pkginfo

  • pkgchk

  • prtconf

  • prtdiag

  • ps

  • psrinfo

  • smbios

  • swap

  • vmstat

  • 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.