rackerlabs/ohai-plugins — pull request #65 by ryandub (2014-04-09 20:54:56+00:00)
Title: Add deleted libraries to process listing

Add a list of deleted libraries being used by running processes and add them to the processes table:

```
"1055": {
"user": "root",
"start_time": "14:25",
"nice": "0",
"cpu": "0.0",
"mem": "0.3",
"command": "/usr/libexec/postfix/master",
"deleted_libraries": [
"/lib64/libgssapi_krb5.so.2.2",
"/lib64/libk5crypto.so.3.1",
"/lib64/libkrb5.so.3.3",
"/lib64/libkrb5support.so.0.1",
"/lib64/liblber-2.4.so.2.5.6",
"/lib64/libldap-2.4.so.2.5.6",
"/lib64/libnspr4.so",
"/lib64/libplc4.so",
"/lib64/libplds4.so",
"/usr/lib64/libcrypto.so.1.0.1e",
"/usr/lib64/libnss3.so",
"/usr/lib64/libnssutil3.so",
"/usr/lib64/libsmime3.so",
"/usr/lib64/libssl.so.1.0.1e",
"/usr/lib64/libssl3.so",
"/usr/lib64/mysql/libmysqlclient.so.16.0.0;53455944"
]
},
```

This can be used to determine if a process may need to be restarted in order to apply security patches provided by an upgraded package (I'm looking at you `libssl`).