---
name: "slurm_print_slurmd_status"
section: "3"
platform: "linux"
package: "libslurm-dev"
version: "20.11.7+really20.11.4-2+deb11u1"
release: "Debian 11 (Bullseye)"
platforms: ["linux"]
url: "https://new.carta.tech/slurm_slurmd_status"
---

# slurm\_print\_slurmd\_status(3)

Slurmd status functions

Part of [slurm\_slurmd\_status(3)](/slurm_slurmd_status/3.md).

## NAME

slurm\_free\_slurmd\_status, slurm\_load\_slurmd\_status, slurm\_print\_slurmd\_status - Slurmd status functions

## SYNTAX

\#include \<slurm/slurm.h\>

void **slurm\_free\_slurmd\_status** (\
\
 	slurmd\_status\_t\* *slurmd\_status\_ptr*\
 );

int **slurm\_load\_slurmd\_status** (\
\
 	slurmd\_status\_t\*\* *slurmd\_status\_ptr*\
 );

void **slurm\_print\_slurmd\_status** (\
\
 	FILE \**out*,\
\
 	slurmd\_status\_t\* *slurmd\_status\_pptr*\
 );

## ARGUMENTS

- *slurmd\_status\_ptr*

  Slurmd status pointer.  Created by **slurm\_load\_slurmd\_status**, used in subsequent function calls, and destroyed by **slurm\_free\_slurmd\_status**.

## DESCRIPTION

**slurm\_free\_slurmd\_status** free slurmd state information.

**slurm\_load\_slurmd\_status** issue RPC to get the status of slurmd daemon on this machine.

**slurm\_print\_slurmd\_status** output the contents of slurmd status message as loaded using slurm\_load\_slurmd\_status.

## COPYING

Copyright (C) 2006-2007 The Regents of the University of California. Copyright (C) 2008 Lawrence Livermore National Security. Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER). CODE-OCEC-09-009. All rights reserved.

This file is part of Slurm, a resource management program. For details, see \<https://slurm.schedmd.com/\>.

Slurm is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

Slurm is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
