Skip to content

Instantly share code, notes, and snippets.

@Skerse
Skerse / lactd-api-amdgpu-info-request.sh
Last active December 17, 2023 04:36
Lactd API AMDGPU Info Request Bash Script
#!/bin/bash
# Function to send a request to LACT Daemon socket
lactd_socket_request() {
echo "$1" | ncat -U /var/run/lactd.sock
}
# Function to get the AMDGPU information
get_amdgpu_info() {
# Get the list of devices