ps - bruno-beloff/scs_dev GitHub Wiki

docs > software repositories > scs_dev > commands > device status


DESCRIPTION

The ps utility is used to run the Unix ps (process snapshot) command. The utility present the output of the ps command as a JSON document, making it suitable for analysis by a remote device management system.

The ps utility is normally included in the commands accepted by the control_receiver utility.

SYNOPSIS

ps.py

EXAMPLES

./ps.py

DOCUMENT EXAMPLE - OUTPUT

{"ppid": 1069, "pid": 1071, "uid": 1000, "tty": "?", "pcpu": 0.9, "pmem": 0.0, "cpu": "00-00:00:03.000", "elapsed": "00-02:50:12.000", "cmd": "python3 /home/pi/SCS/scs_dev/src/scs_dev/aws_topic_publisher.py -v -cG"}

SEE ALSO

scs_dev/control_receiver
scs_dev/uptime