• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

collectd : command not found

by Deepika

The collectd command is a utility in Linux that is used to start, stop, or restart the collectd daemon, which is a system performance monitoring daemon. Collectd gathers performance data from various sources, including the operating system, applications, and hardware devices, and stores the data in a variety of formats for later analysis.

To start the collectd daemon, use the following command:

# collectd

This will start the collectd daemon and begin gathering performance data.

If you encounter the below error while running the command collectd:

collectd: command not found

you may try installing the below package as per your choice of distribution:

Distribution Command
Debian apt-get install collectd-core
Ubuntu apt-get install collectd-core
Alpine apk add collectd
Arch Linux pacman -S collectd
Kali Linux apt-get install collectd-core
Fedora dnf install collectd
OS X brew install collectd
Raspbian apt-get install collectd-core

collectd Command Examples

1. Show usage help, including the program version:

# collectd -h

2. Test the configuration file and then exit:

# collectd -t

3. Test plugin data collection functionality and then exit:

# collectd -T

4. Start collectd:

# collectd

5. Specify a custom configuration file location:

# collectd -C path/to/file

6. Specify a custom PID file location:

# collectd -P path/to/file

7. Don’t fork into the background:

# collectd -f

Filed Under: Linux

Some more articles you might also be interested in …

  1. getopt Command Examples in Linux
  2. chkconfig: command not found
  3. How to Access VNC Server Through A Web Browser in Linux
  4. How To Install Python 3 On CentOS 7 Using SCL
  5. pkcon: command not found
  6. CentOS / RHEL : Resize (extend) non-root EXT3/4 filesystem on non-LVM device (hard disk partition)
  7. nft: command not found
  8. How to install and configure sosreport under CentOS / RHEL
  9. ldd Command Options in Linux
  10. ntpq Command Examples in Linux

You May Also Like

Primary Sidebar

Recent Posts

  • protonvpn-cli Command Examples in Linux
  • protonvpn-cli connect Command Examples
  • procs Command Examples in Linux
  • prlimit: command not found

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright