print_self_status Subroutine

public subroutine print_self_status(unit, info, text)

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.

Arguments

TypeIntentOptionalAttributesName
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


Calls

proc~~print_self_status~~CallsGraph proc~print_self_status print_self_status proc~newunit newunit proc~print_self_status->proc~newunit

Called by

proc~~print_self_status~~CalledByGraph proc~print_self_status print_self_status proc~my_status_string_vec my_status_string_vec proc~my_status_string_vec->proc~print_self_status proc~tem_finalize tem_finalize proc~tem_finalize->proc~print_self_status proc~my_status_string my_status_string proc~my_status_string->proc~print_self_status proc~check_serial_singlelevel_facedesc check_serial_singlelevel_faceDesc proc~check_serial_singlelevel_facedesc->proc~tem_finalize proc~my_status_int my_status_int proc~my_status_int->proc~my_status_string proc~my_status_int_vec my_status_int_vec proc~my_status_int_vec->proc~my_status_string_vec proc~tem_reportstatus tem_reportStatus proc~tem_reportstatus->proc~my_status_string program~bin_search_test bin_search_test program~bin_search_test->proc~tem_finalize proc~tem_global_vmhwm tem_global_vmhwm proc~tem_global_vmhwm->proc~my_status_int program~tem_face_test tem_face_test program~tem_face_test->proc~check_serial_singlelevel_facedesc program~elem_memalloc elem_memAlloc program~elem_memalloc->proc~tem_reportstatus proc~tem_trackmem tem_trackmem proc~tem_trackmem->proc~my_status_int proc~tem_trackmem->proc~my_status_int_vec program~derivedtype_memalloc derivedType_memAlloc program~derivedtype_memalloc->proc~tem_reportstatus

Contents


Variables

TypeVisibilityAttributesNameInitial
character(len=128), private :: cInfo
character(len=128), private :: line
integer, private :: stat
integer, private :: inUnit
integer, private :: outUnit