View Source

To see the status of the agent, run the following {color:#fd4703}*\#cdp-agent{*}{color} command with the {color:#fd4703}{*}status{*}{color} option:

{code}# /etc/init.d/cdp-agent status{code}

*Return:*
* Case1. Agent is running:

{code}/etc/init.d/cdp-agent status: cdp (pid 3460) running{code}

!28.png!

* Case 2. Agent is not running:

{code}/etc/init.d/cdp-agent status: cdp (no pid file) not running{code}

!29.png!

For more information about the {color:#fd4703}*\#cdp-agent{*}{color} command and its options, see [cdp-agent].{excerpt:hidden=true}Instructions on how to view Agent's status using Linux Agent CLI.{excerpt}