Command line interface (CLI)

Particulars provides a command line interface (CLI) for use in terminal applications and scripts. If you plan to use this interface, download and install the ParticularsCLI package. (In order to comply with Mac App Store submission guidelines, the Particulars CLI cannot be included with the app and therefore must be downloaded separately. However, once installed, the Particulars CLI does not need re-installed or upgraded every time you upgrade Particulars.)

The examples below assume the ParticularsCLI package has been installed.

Help

The --help option shows all the options available.

$ particulars --help
Particulars 23 (97)
Usage:
   particulars -v | --version
   particulars --help
   particulars OPTIONS

Options:
   -a               All particulars in detail level
   -n, --name       Computer name
   -i, --modelid    Model identifier
   -m, --model      Model name
   -s, --serial     Serial number
   -c, --cpu        CPU
   -r, --ram        Installed RAM
   -g, --gpu        GPU
   -o, --osversion  OS version
   -x, --server     Server version
   -u, --uptime     Uptime
   -s, --disk       Disk free space
   -t, --network    Network

Examples

$ particulars -v
Particulars 23 (97)
© 2014-18 Glencode LLC
$ particulars -u
9 days, 7 hours, 31 minutes
$ particulars --cpu
Intel® Core™ i5-4288U @ 2.60GHz
$ particulars --name --osversion --server
pear
OS X 10.9.5 (Build 13F34)
OS X Server 3.2.2 (Build 13S5187)
$ particulars -mns
rabbit
MacBook Pro (Retina, 13-inch, Late 2013)
C03M87ZPFH01

Installation Location

The particulars command is installed at /usr/local/bin/particulars.


Help Home