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
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:
2), new connection:
3), after the creation is successful, click the [Connect] button on the right
4), press ctrl+a, you can view other views:
5), click the corresponding small icon to operate the result image: