Spotlight monitoring Linux [basic operation]

1. Install spotlight

2. By default, spotlight cannot use the root user to connect by default, so you need to configure a new user with root privileges in Linux:

  1 ), useradd spotlight

  2), passwd spotlight

  3), vi /etc/passwd, change the permissions of spotlight to 0:0

    Share a picture

3. Because spotlight monitors linux still uses sysstat package of linux, all need to be installed sysstat package

  1), check whether the sysstat package is installed: rpm -q sysstat;

  2), if not installed, perform the installation: yum -y install sysstat

< p>4. Configure the connection in spotlight:

  1), click Connect in the toolbar:

    share picture

  2), new connection:

    share picture

  3), after the creation is successful, click the [Connect] button on the right

    share picture

  4), press ctrl+a, you can view other views:

     Share image

  5), click the corresponding small icon to operate the result image:

    share picture

Leave a Comment

Your email address will not be published.