Mwnci getpname() Function

Syntax

getpname([integer])

Description

The getpname() function returns the process name of a given process id (Pid). If no Pid is given then the name of current process is returned.

Example

include("ps")
println(getpname(1))
println(getpname())


systemd
mwnci