> Source: [sk112953](https://support.checkpoint.com/results/sk/sk112953)

# sk112953 - SNMP query for OID "hrSWRunStatus" (1.3.6.1.2.1.25.4.2.1.7) shows most processes as "runnable(2)" instead of expected "running(1)"

| Property | Value |
|----------|-------|
| Solution ID | sk112953 |
| Date Created | 2016-08-22 |
| Last Modified | 2016-08-28 |
| Technical Level | Advanced |
| OS | Linux, Gaia |

## Symptoms

- * SNMP query for OID "hrSWRunStatus" (1.3.6.1.2.1.25.4.2.1.7) shows most processes as "`runnable(2)`" instead of expected "`running(1)`".

  *Example* :

  ```
  
  [Expert@HostName:0]# snmpwalk -v2c -c public localhost HOST-RESOURCES-MIB::hrSWRunStatus
  ... ...
  HOST-RESOURCES-MIB::hrSWRunStatus.1004 = INTEGER: runnable(2)
  HOST-RESOURCES-MIB::hrSWRunStatus.1890 = INTEGER: runnable(2)
  ... ...
  ```

* The statuses returned for processes are still "`runnable(2)`" even after running the *cpstop* command.

## Cause

The system is working as expected.

The MIB file "HOST-RESOURCES-MIB" ([RFC 2790](http://www.rfc-base.org/txt/rfc-2790.txt)) shows the following definition:

```
hrSWRunStatus OBJECT-TYPE
   SYNTAX     INTEGER {
                  running(1),
                  runnable(2),    -- waiting for resource
                                  -- (i.e., CPU, memory, IO)
                  notRunnable(3), -- loaded but waiting for event
                  invalid(4)      -- not loaded
              }
   ... ...
   DESCRIPTION
       "The status of this running piece of software.
       Setting this value to invalid(4) shall cause this
       software to stop running and to be unloaded. Sets to
       other values are not valid."
   ::= { hrSWRunEntry 7 }
```

Meaning that only a few processes will be displayed with status "`running(1)`", and most processes should indeed be displayed with status "`runnable(2)`", because, usually, processes are indeed waiting for system resources.

This can be seen in the output of "[ps auxw](http://linux.die.net/man/1/ps)" command - only a few processes will be displayed with state "R" (refer to the section "Process State Codes" in the manual page).

## Solution

This solution requires authentication. Please log in to view the full solution.

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
