title: How to Filter process on mongodb from a specific OS
body: <p>Hi want to make a search of the current process of mongo,
  and I want to get only the procces that are done by a specific OS. By example windows.</p>
  
  <p>Running the query below </p>
  
  <pre><code>db.aggregate( [
      { $currentOp : { allUsers: true, localOps: true } },
      { $match: {  shard : 'shard-1' }}
   ])
  </code></pre>
  
  <p>I got a big json result. I need to filter more properties </p>
  
  <p>I know that the information of OS . I can get from the property <code>$client</code> from <code>command</code> propperty that has the <code>json</code> result:</p>
  
  <pre><code>"command": {
  
          "$client": {
              "driver": {
                  "name": "nodejs",
                  "version": "3.1.7-1"
              },
              "os": {
                  "type": "Windows_NT",
                  "name": "win32",
                  "architecture": "x64",
                  "version": "10.0.17763"
              },
              "platform": "Node.js v10.2.0, LE, mongodb-core: 3.1.6",
              "application": {
                  "name": "NoSQLBoosterV5_91046.417"
              },
          },
          "$configServerState": {
              "opTime": {
                  "ts": Timestamp(1553006039,
                  5),
                  "t": NumberLong(4)
              }
          },
          "$db": "cache"
      }
  </code></pre>
  
  <p>How to filter by <code>os</code> and <code>type</code>?</p>