This subroutine reads out the status of the process if it is available in /proc/self/status, which is provided by the Linux operating system.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in), | optional | :: | unit | A preconnected unit, to write the content of /proc/self/status to. |
|
character(len=*), | intent(in), | optional | :: | info | optional filename prefix |
|
character(len=*), | intent(in), | optional | :: | text | optional header text to be dumped to file |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
character(len=128), | private | :: | cInfo | ||||
character(len=128), | private | :: | line | ||||
integer, | private | :: | stat | ||||
integer, | private | :: | inUnit | ||||
integer, | private | :: | outUnit |