my_status_string Function

public function my_status_string(key, info) result(val)

This function returns the string in the line which starts with the specified key string in the text returned from print_self_status. The key string itself is excluded from the returned string. If the specified key is not found in the text an empty string will be returned.

info can be used to change the input that should be read, it defaults to '/proc/self/status'.

Arguments

TypeIntentOptionalAttributesName
character(len=*), intent(in) :: key
character(len=*), intent(in), optional :: info

Return Value character(len=80)


Calls

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

Called by

proc~~my_status_string~~CalledByGraph proc~my_status_string my_status_string proc~my_status_int my_status_int proc~my_status_int->proc~my_status_string proc~tem_reportstatus tem_reportStatus proc~tem_reportstatus->proc~my_status_string proc~tem_global_vmhwm tem_global_vmhwm proc~tem_global_vmhwm->proc~my_status_int proc~tem_trackmem tem_trackmem proc~tem_trackmem->proc~my_status_int program~elem_memalloc elem_memAlloc program~elem_memalloc->proc~tem_reportstatus program~derivedtype_memalloc derivedType_memAlloc program~derivedtype_memalloc->proc~tem_reportstatus

Contents


Variables

TypeVisibilityAttributesNameInitial
integer, private :: scratchUnit
character(len=80), private :: bufline
integer, private :: ios
integer, private :: keylen
logical, private :: match