To test the PassMark score via SSH on AlmaLinux, you’ll need to follow these steps:
1. Setup SSH Connection
First, ensure you have SSH access to your AlmaLinux server. If SSH isn’t configured, you can do so by:
- Installing OpenSSH if it’s not already installed:
sudo dnf install openssh-server
- Starting and enabling the SSH service:
sudo systemctl start sshd
sudo systemctl enable sshd
- Configuring the firewall to allow SSH connections:
sudo firewall-cmd --permanent --add-service=ssh
sudo firewall-cmd --reload
2. Download and Install PerformanceTest for Linux
- Connect to your AlmaLinux server via SSH:
ssh user@your_server_ip
- Download the Linux version of PassMark PerformanceTest:
- You can find the latest version on the PassMark website. As of my last update, the Linux version was available for download, but ensure you’re getting the version compatible with AlmaLinux.
- Make the downloaded file executable if needed:
chmod +x pt_linux_x64
3. Run PerformanceTest
- Execute PerformanceTest from the command line. PerformanceTest for Linux supports command-line parameters for automation:
- To run all tests and export results:
./pt_linux_x64 -r 3 -d 3
Here,-r 3
specifies running all tests, and-d 3
sets the test duration to ‘long’. - If you want to see the available command-line parameters:
- Although not documented in the latest version, you might try looking for updates or check if
-h
or--help
provides assistance as it has been suggested for future releases.
- Although not documented in the latest version, you might try looking for updates or check if
4. Viewing Results
- PerformanceTest will output results directly to the terminal or save them to a file based on your command-line options. Check the directory from where you ran the test for any log or result files.
Considerations:
- Permissions: You might need to run PerformanceTest with elevated privileges (
sudo
) for some system tests. - Dependencies: Ensure that necessary libraries like
libncurses5
are installed if they’re missing. This might involve adding repositories or using commands like:
sudo dnf install ncurses-compat-libs
- Network Test: For network tests, ensure that network configurations allow for such tests, especially if they involve external data transfer.
Notes:
- The exact command-line options might differ or be expanded in newer versions, so checking the PassMark website for the most recent documentation is advisable.
- If you run into issues like crashes or unexpected behavior, look for updates or patches from PassMark or community forums where users might have shared solutions for similar problems on AlmaLinux.
By following these steps, you should be able to effectively run PassMark PerformanceTest via SSH on AlmaLinux. Remember, always refer to the latest documentation from PassMark for any changes to command-line options or software behavior.